forked from instructure/instructure-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 4.68 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "instructure-ui",
"description": "A design system by Instructure Inc.",
"private": true,
"version": "9.0.0",
"author": "Instructure, Inc. Engineering and Product Design",
"repository": {
"type": "git",
"url": "https://github.com/instructure/instructure-ui.git"
},
"homepage": "https://instructure.design",
"bugs": "https://github.com/instructure/instructure-ui/issues",
"workspaces": [
"packages/*"
],
"scripts": {
"prestart": "npm run bootstrap",
"start": "npm run start --workspace=docs-app",
"start:watch": "npm run start:watch --workspace=docs-app",
"dev": "npm run start:watch",
"test:patchset": "npm-run-all lint:commit lint:changes test:jest test test:new",
"pretest:merge": "npm run bootstrap && npm run check",
"test:merge": "npm-run-all lint:commit lint test",
"test:all": "npm-run-all test:jest test",
"test:watch": "ui-scripts test --watch --no-headless",
"test:changes": "ui-scripts test --changed --randomize",
"test": "ui-scripts test --randomize",
"test:jest": "lerna run test:jest --stream",
"test:new": "NODE_ENV=test jest",
"cy:component": "cypress run --component",
"lint": "lerna run lint --stream",
"lint:changes": "npm run lint -- --since HEAD^",
"lint:fix": "lerna run lint:fix --stream",
"lint:commit": "commitlint --from=HEAD^1",
"lint:staged": "lint-staged",
"update:package:list": "lerna run generate:package:list --stream --scope @instructure/instui-config",
"commit:package:list": "git add packages/instui-config/package-lists/**/package-list.json",
"generate:component": "npm run instui create component --workspace=@instructure/instui-cli",
"generate:package": "npm run instui create package --workspace=@instructure/instui-cli",
"bootstrap": "node scripts/bootstrap.js",
"build": "lerna run build --stream",
"build:watch": "lerna run build:watch --stream",
"build:docs": "lerna run bundle --stream --scope docs-app",
"build:tokens": "ui-scripts generate-all-tokens",
"build:types": "tsc -b tsconfig.references.json",
"build:ts": "lerna run prepare-build --stream --scope @instructure/ui-icons && npm run build:types --verbose",
"clean": "node scripts/clean.js",
"export:icons": "lerna run export --stream --scope @instructure/ui-icons",
"bump": "ui-scripts bump",
"release": "ui-scripts publish",
"dev:examples": "lerna run start:watch --stream --scope docs-examples",
"prestart:examples": "npm run bootstrap",
"start:examples": "lerna run start --stream --scope docs-examples",
"husky:pre-commit": "npm-run-all update:package:list commit:package:list lint:staged ts:check:references",
"husky:pre-push": "npm run lint:commit",
"build-storybook": "lerna run bundle --stream --scope docs-examples",
"postinstall": "husky install",
"ts:check": "lerna run ts:check --stream",
"ts:check:references": "node scripts/checkTSReferences.js"
},
"license": "MIT",
"resolutions": {
"react": "^18",
"react-dom": "^18",
"@types/react": "^18",
"@storybook/react/webpack": "^5"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@commitlint/cli": "^17.8.0",
"@commitlint/config-conventional": "^17.8.0",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.3",
"@instructure/ui-scripts": "8",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.5",
"@types/react-dom": "^18.2",
"chai": "^5.1.0",
"chalk": "^4.1.2",
"commitizen": "^4.3.0",
"cross-spawn": "^7.0.3",
"cypress": "^13.6.1",
"cypress-real-events": "^1.11.0",
"danger": "^11.3.0",
"esbuild": "^0.19.4",
"eslint": "^8.51.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lerna": "^7.3.1",
"lint-staged": "^15.0.1",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"ts-jest": "^29.1.1",
"typescript": "5.2.2",
"webpack": "^5.89.0"
},
"//dependency-comments": {
"chalk": "IMPORTANT: Chalk 5 is ESM. If you want to use Chalk with TypeScript or a build tool, you will probably want to use Chalk 4 for now."
},
"engines": {
"node": ">=18",
"yarn": "YARN NO LONGER USED - use npm instead."
},
"config": {
"commitizen": {
"path": "./node_modules/@instructure/cz-lerna-changelog"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint",
"prettier --write"
],
"*.css": [
"stylelint"
],
"*.{json,jsx,md,mdx,html}": [
"prettier --write"
]
},
"browserslist": [
"extends @instructure/browserslist-config-instui"
]
}