forked from Workday/canvas-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
176 lines (176 loc) · 6.42 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"private": true,
"name": "canvas-kit",
"author": "Workday, Inc. (https://www.workday.com)",
"license": "Apache-2.0",
"devDependencies": {
"@babel/core": "^7.8.0",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-private-property-in-object": "^7.14.0",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.8.0",
"@babel/preset-react": "^7.8.0",
"@babel/preset-typescript": "^7.1.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.1.0",
"@emotion/eslint-plugin": "^11.7.0",
"@emotion/is-prop-valid": "^1.1.1",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-storysource": "^6.5.9",
"@storybook/components": "^6.5.9",
"@storybook/react": "^6.5.9",
"@storybook/source-loader": "^6.5.9",
"@testing-library/cypress": "^8.0.2",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "13.3.0",
"@testing-library/react-hooks": "^7.0.2",
"@types/chroma-js": "^1.4.3",
"@types/cypress-axe": "^0.4.0",
"@types/emoji-js": "^3.4.0",
"@types/jest-axe": "^2.2.3",
"@types/lodash": "^4.14.136",
"@types/markdown-to-jsx": "^6.9.0",
"@types/node": "^14.0.0",
"@types/react": "^18.0.12",
"@types/react-dom": "^18.0.5",
"@types/react-test-renderer": "^16.9.0",
"@types/react-transition-group": "^2.9.2",
"@types/stylis": "^4.2.0",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"autoprefixer": "^9.5.0",
"axe-core": "^3.4.0",
"babel-jest": "^26.0.1",
"babel-loader": "^8.1.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"chalk": "4.1.2",
"commitizen": "^4.0.4",
"common-tags": "^1.8.0",
"conventional-changelog-conventionalcommits": "^4.6.1",
"core-js": "^3.5.0",
"css-loader": "^3.2.0",
"css-mqpacker": "^7.0.0",
"cssstats": "^3.3.0",
"cypress": "^9.2.1",
"cypress-axe": "^0.5.1",
"cypress-keyboard-plugin": "^1.0.3",
"cypress-pipe": "^2.0.0",
"cypress-plugin-tab": "^1.0.5",
"cypress-real-events": "^1.7.1",
"cypress-storybook": "^0.5.1",
"cz-conventional-changelog": "^2.1.0",
"depcheck": "^0.9.2",
"emoji-js": "^3.4.1",
"emotion-theming": "^10.0.10",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-compat": "next",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.17.0",
"eslint-plugin-jsdoc": "^22.1.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-react-ssr": "^1.0.3",
"eslint-plugin-workday-custom-rules": "file:./utils/custom-lint-rules",
"expect-type": "^0.11.0",
"file-loader": "^1.1.5",
"github-markdown-css": "^3.0.1",
"glob": "^7.1.6",
"husky": "^0.14.3",
"inquirer": "^7.0.0",
"jest": "^27.4.7",
"jest-axe": "^3.4.0",
"jest-junit": "^13.0.0",
"lerna": "^3.22.1",
"lint-staged": "8.0.5",
"markdown-to-jsx": "^6.10.3",
"mkdirp": "^1.0.3",
"node-fetch": "^3.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.0",
"prismjs": "^1.23.0",
"react": "18.1.0",
"react-dom": "18.1.0",
"replace-in-files": "^2.0.3",
"rimraf": "^2.6.3",
"rollup": "^1.16.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-resolve": "^5.1.0",
"rollup-plugin-terser": "^5.0.0",
"semver": "^7.3.2",
"string-replace-loader": "2.3.0",
"ts-loader": "^6.2.0",
"ttypescript": "^1.5.15",
"typescript": "4.2",
"yargs": "^16.2.0"
},
"scripts": {
"start": "node utils/download-fonts.js && node --max-old-space-size=4096 node_modules/.bin/start-storybook -p 9001 -c .storybook -s ./public",
"watch": "TSC_NONPOLLING_WATCHER=1 lerna run watch --parallel --stream",
"clean": "lerna run clean",
"depcheck": "lerna run depcheck",
"prebuild": "yarn depcheck",
"build": "lerna run build",
"build:rebuild": "lerna run build:rebuild",
"create-module": "./utils/create-component/createComponent.js",
"create-component": "./utils/create-component/createComponent.js",
"promote-component": "./utils/promote-component.js",
"precommit": "lint-staged",
"chromatic": "chromatic",
"commit": "git-cz",
"commitmsg": "commitlint --edit $HUSKY_GIT_PARAMS",
"build-storybook": "node utils/download-fonts.js && NODE_OPTIONS=--max_old_space_size=4096 build-storybook -c .storybook -o docs -s ./public",
"lint": "node utils/check-lockfile.js && node utils/check-mismatched-dependencies.js && eslint -c ./.eslintrc.js --ext=jsx,ts,tsx .",
"typecheck": "npm-run-all --parallel typecheck:src typecheck:cypress typecheck:types typecheck:specs typecheck:stories",
"typecheck:src": "lerna run typecheck:src",
"typecheck:cypress": "tsc -p cypress --noEmit",
"typecheck:types": "tsc -p tsconfig.expect-type.json --noEmit",
"typecheck:specs": "tsc -p tsconfig.spec.json --noEmit --incremental false",
"typecheck:stories": "tsc -p tsconfig.stories.json --noEmit --incremental false",
"format:prettier": "prettier --config=./.prettierrc.js --ignore-path=./.prettierignore \"**/*.{js,jsx,json,ts,tsx,md}\" --write",
"format": "yarn eslint --ext=jsx,ts,tsx --fix -c .eslintrc-prettier.js",
"test": "TZ=UTC jest",
"bump": "lerna version",
"bump:prerelease": "lerna version prerelease --exact --preid",
"cypress:open": "cypress open",
"cypress:run": "cypress run"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"linters": {
"*.{ts,tsx}": [
"yarn format",
"git add"
],
"*.json": [
"node utils/check-mismatched-dependencies.js",
"git add"
],
"*.{js,jsx,json,md}": [
"git add"
],
"yarn.lock": [
"node utils/check-lockfile.js",
"git add"
]
}
},
"workspaces": [
"modules/**"
],
"browserslist": "> 5%, last 2 firefox versions, last 2 chrome versions, last 2 safari versions, last 2 edge versions, Firefox ESR, not ie 11",
"dependencies": {
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@workday/canvas-accent-icons-web": "^3.0.9",
"@workday/canvas-applet-icons-web": "^2.0.9",
"@workday/canvas-system-icons-web": "^3.0.0",
"@workday/canvas-tokens-web": "^1.0.0"
}
}