forked from twilio-labs/paste
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
248 lines (248 loc) · 10.6 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
{
"name": "paste",
"private": true,
"version": "2020.05.19",
"main": "index.js",
"author": "Twilio Inc.",
"license": "MIT",
"workspaces": {
"apps": [
"apps/vs-code-intellisense"
],
"packages": [
"packages/paste-codemods",
"packages/paste-color-contrast-utils",
"packages/paste-core/components/**",
"packages/paste-core/layout/**",
"packages/paste-core/primitives/**",
"packages/paste-core/core-bundle",
"packages/paste-cra-template",
"packages/paste-customization",
"packages/paste-design-tokens",
"packages/paste-icons",
"packages/paste-libraries/**",
"packages/paste-nextjs-template",
"packages/paste-style-props",
"packages/paste-theme",
"packages/paste-theme-designer",
"packages/paste-token-contrast-checker",
"packages/paste-types",
"packages/paste-utils",
"packages/paste-website"
]
},
"types": "./types/index.d.ts",
"engines": {
"node": "^16.13.0"
},
"scripts": {
"bootstrap": "",
"prestart": "yarn prebuild",
"start": "yarn prestart && yarn build:tokens && concurrently \"yarn:start:tokens\" \"yarn:start:storybook\"",
"start:all": "yarn build:tokens && concurrently \"yarn:start:tokens\" \"yarn:start:storybook:quiet\" \"yarn:start:website\"",
"start:storybook": "start-storybook -p 9001",
"start:storybook:quiet": "export DROP_PROGRESS=TRUE && yarn start:storybook",
"start:tokens": "yarn workspace @twilio-paste/design-tokens build:watch",
"start:website": "yarn workspace @twilio-paste/website netlify dev",
"start:theme-designer": "yarn workspace @twilio-paste/theme-designer netlify dev",
"start:token-contrast-checker": "yarn workspace @twilio-paste/token-contrast-checker start",
"start:nextjs-template": "yarn workspace @twilio-paste/nextjs-template dev",
"start:contrast-checking": "concurrently \"yarn:start:tokens\" \"yarn:start:token-contrast-checker\"",
"prebuild": "ts-node ./tools/build/pre-build.ts && yarn packages:check",
"build": "yarn prebuild && lerna run build --ignore @twilio-paste/website --ignore @twilio-paste/theme-designer --ignore @twilio-paste/nextjs-template --ignore @twilio-paste/token-contrast-checker",
"build:js": "yarn prebuild && lerna run build:js --ignore @twilio-paste/website --ignore @twilio-paste/theme-designer",
"build:codemods": "yarn workspace @twilio-paste/codemods run build",
"build:tokens": "yarn workspace @twilio-paste/design-tokens tokens",
"build:icons": "yarn workspace @twilio-paste/icons build",
"build:storybook": "build-storybook -c .storybook -o ./docs",
"build:website": "yarn workspace @twilio-paste/website build",
"build:theme-designer": "yarn workspace @twilio-paste/theme-designer build",
"build:nextjs-template": "yarn workspace @twilio-paste/nextjs-template build",
"build:contrast-checking": "yarn workspace @twilio-paste/token-contrast-checker build",
"build:props": "lerna run build:props --ignore @twilio-paste/website --concurrency 2",
"pre-push": "concurrently \"yarn:lint\" \"yarn:test\" \"yarn:prettier\" \"yarn:type-check\"",
"prerelease": "yarn build && yarn lint && yarn test",
"release": "yarn changeset publish",
"release:next": "yarn lerna publish -m 'chore(release): pre release' --conventional-commits --canary --preid beta --dist-tag next",
"version": "yarn changeset version && yarn install --mode=update-lockfile",
"sync-internal-peer-dependencies": "ts-node ./tools/build/version.ts",
"clean": "ts-node ./tools/build/clean-repo.ts && lerna clean --yes && lerna run clean && yarn",
"clean:full": "ts-node ./tools/build/clean-repo.ts && lerna clean --yes && lerna run clean && rm -rf node_modules/ && yarn",
"clean:core": "yarn workspace @twilio-paste/core clean",
"pre-test": "ts-node ./tools/build/pre-test.ts",
"test": "jest",
"test:react-16": "USE_REACT_16=true jest",
"test:coverage": "jest --coverage",
"test:website": "yarn cypress run --record",
"test:website-percy": "percy exec -- yarn cypress run --record",
"test:website-gui": "WAIT_ON_TIMEOUT=600000 start-server-and-test 'yarn start:website' http://localhost:8000 'yarn cypress open'",
"test:website-gui-percy": "WAIT_ON_TIMEOUT=600000 start-server-and-test 'yarn start:website' http://localhost:8000 'percy exec -- yarn cypress open'",
"test:storybook": "test-storybook --url http://localhost:9001",
"start:test:storybook": "start-server-and-test 'NODE_ENV=test yarn start:storybook' http://localhost:9001 'yarn test:storybook'",
"serve:website": "yarn workspace @twilio-paste/website serve",
"package-size-action-build": "yarn build",
"prettier": "prettier --list-different '{.storybook,packages}/**/*.{ts,tsx}'",
"prettier-clean": "prettier --write '{.storybook,packages}/**/*.{ts,tsx}'",
"lint": "yarn pre-test && eslint --ext .tsx,.ts ./packages",
"type-check": "lerna run tsc",
"tsc": "echo 'Did you mean to run yarn type-check?'",
"chromatic": "chromatic",
"packages:check": "manypkg check",
"packages:fix": "manypkg fix",
"changeset": "changeset",
"create:package": "plop create-package",
"token-usage": "ts-node tools/build/token-usage-detector.ts",
"turbo-build": "turbo run build --filter=!@twilio-paste/website --filter=!@twilio-paste/theme-designer --filter=!@twilio-paste/nextjs-template --filter=!@twilio-paste/token-contrast-checker",
"turbo-build:js": "turbo run build:js --filter=!@twilio-paste/website --filter=!@twilio-paste/theme-designer --filter=!@twilio-paste/nextjs-template --filter=!@twilio-paste/token-contrast-checker",
"turbo-type-check": "turbo run tsc"
},
"dependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.8",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.17.3",
"@babel/plugin-proposal-optional-chaining": "7.16.7",
"@babel/plugin-proposal-private-methods": "^7.16.11",
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@babel/register": "^7.17.7",
"@babel/runtime": "^7.17.8",
"@changesets/changelog-github": "^0.2.8",
"@changesets/cli": "^2.13.1",
"@commitlint/cli": "16.2.1",
"@commitlint/config-conventional": "16.2.1",
"@emotion/babel-preset-css-prop": "^11.2.0",
"@emotion/css": "^11.9.0",
"@emotion/eslint-plugin": "^11.7.0",
"@emotion/jest": "^11.9.1",
"@expo/spawn-async": "^1.5.0",
"@manypkg/cli": "0.17.0",
"@netlify/functions": "^0.7.2",
"@percy/cli": "^1.10.1",
"@percy/cypress": "^3.1.2",
"@storybook/addon-a11y": "6.4.20",
"@storybook/addon-actions": "6.4.20",
"@storybook/addon-essentials": "6.4.20",
"@storybook/addon-interactions": "6.4.20",
"@storybook/addon-links": "6.4.20",
"@storybook/addon-viewport": "6.4.20",
"@storybook/addons": "6.4.20",
"@storybook/builder-webpack5": "6.4.20",
"@storybook/core": "6.4.20",
"@storybook/jest": "0.0.10",
"@storybook/manager-webpack5": "6.4.20",
"@storybook/react": "6.4.20",
"@storybook/test-runner": "0.3.0",
"@storybook/testing-library": "0.0.13",
"@swc/core": "^1.2.160",
"@swc/jest": "^0.2.20",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^13.5.0",
"@twilio-labs/svg-to-react": "^2.1.1",
"@types/browser-sync": "^2.26.1",
"@types/color": "^3.0.0",
"@types/jest": "^24.0.18",
"@types/node": "^17.0.33",
"@types/react": "^17.0.31",
"@types/react-16": "npm:@types/react@^16.0.0",
"@types/react-color": "^3.0.6",
"@types/react-github-button": "^0.1.1",
"@types/react-helmet": "^5.0.14",
"@types/react-scrollspy": "^3.3.1",
"@types/shelljs": "^0.8.11",
"@types/theo": "^8.1.3",
"@types/webpack": "^4.4.34",
"@types/webpack-env": "^1.13.9",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"axe-playwright": "^1.1.11",
"babel-loader": "^8.2.4",
"babel-plugin-macros": "^3.1.0",
"babel-preset-gatsby": "^2.11.1",
"babel-preset-react-app": "^10.0.1",
"browser-sync": "^2.26.9",
"chalk": "^2.4.2",
"chromatic": "^5.5.0",
"chrome-aws-lambda": "^10.0.0",
"color": "^3.1.2",
"commander": "^2.20.0",
"concurrently": "^4.1.1",
"cross-env": "^5.2.0",
"csstype": "3.0.11",
"cypress": "9.3.1",
"danger": "^10.6.6",
"del": "^5.1.0",
"directory-named-webpack-plugin": "^4.0.1",
"dotenv": "^16.0.0",
"esbuild": "^0.14.43",
"eslint": "^7.32.0",
"eslint-config-airbnb-typescript": "16.2.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jest": "26.1.3",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-paste-internal": "link:./.eslint/rules",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "4.4.0",
"eslint-plugin-unicorn": "40.1.0",
"git-branch-is": "^3.0.0",
"graphql": "^14.6.0",
"highcharts": "^9.3.3",
"highcharts-react-official": "^3.1.0",
"husky": "^3.0.0",
"immutable": "^4.0.0-rc.12",
"jest": "27.5.1",
"lerna": "^4.0.0",
"lodash": "4.17.21",
"lorem-ipsum": "^2.0.3",
"netlify-cli": "^6.13.1",
"plop": "^2.7.4",
"plugin-error": "^1.0.1",
"precise-commits": "^1.0.2",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"puppeteer-core": "^10.1.0",
"react": "^17.0.2",
"react-16": "npm:react@^16.8.6",
"react-dom": "^17.0.2",
"react-dom-16": "npm:react-dom@^16.8.6",
"react-ga": "^3.3.0",
"react-helmet": "^6.1.0",
"react-router-dom": "6.2.1",
"regenerator-runtime": "^0.13.3",
"search-in-file": "^1.2.2",
"shelljs": "^0.8.3",
"start-server-and-test": "^1.11.5",
"storybook-addon-gatsby": "^0.0.5",
"terser": "^5.3.0",
"theo": "^8.1.5",
"ts-node": "^10.0.0",
"tslib": "^2.0.3",
"turbo": "^1.2.16",
"typedoc": "^0.20.12",
"typescript": "^4.6.4",
"weak-napi": "^2.0.2",
"webpack": "^5.70.0"
},
"resolutions": {
"@storybook/react/webpack": "^5",
"react-hot-loader": "^4.13.0",
"csstype": "3.0.11"
},
"husky": {
"hooks": {
"pre-commit": "precise-commits",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "if git-branch-is main; then yarn pre-push; fi"
}
},
"packageManager": "[email protected]"
}