forked from twilio-labs/paste
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
238 lines (238 loc) · 9.99 KB
/
Copy pathpackage.json
File metadata and controls
238 lines (238 loc) · 9.99 KB
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
{
"name": "paste",
"private": true,
"version": "2020.05.19",
"main": "index.js",
"author": "Twilio Inc.",
"license": "MIT",
"workspaces": {
"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",
"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 -s ./.storybook/static -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": "node ./tools/build/pre-build.js && 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 -s .storybook/static",
"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: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": "node ./tools/build/version.js",
"clean": "node ./tools/build/clean-repo.js && lerna clean --yes && lerna run clean && yarn",
"clean:full": "node ./tools/build/clean-repo.js && lerna clean --yes && lerna run clean && rm -rf node_modules/ && yarn",
"clean:core": "yarn workspace @twilio-paste/core clean",
"pre-test": "node ./tools/build/pre-test.js",
"test": "yarn pre-test && concurrently \"yarn:test:packages\" \"yarn:test:tools\"",
"test:react-16": "yarn pre-test && concurrently \"yarn:test:packages-16\" \"yarn:test:tools-16\"",
"test:packages": "jest --silent ./packages/",
"test:packages-16": "USE_REACT_16=true jest --silent ./packages/",
"test:tools": "jest ./tools/ -c ./tools/jest.config.js",
"test:tools-16": "USE_REACT_16=true jest ./tools/ -c ./tools/jest.config.js",
"test:coverage": "yarn pre-test && jest --coverage",
"test:website": "start-server-and-test 'yarn serve:website' http://localhost:9000 'yarn cypress run --record'",
"test:website-gui": "start-server-and-test 'yarn serve:website' http://localhost:9000 'yarn cypress open'",
"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"
},
"dependencies": {
"@applitools/eyes-cypress": "^3.23.4",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "7.14.5",
"@babel/plugin-proposal-private-methods": "^7.12.1",
"@babel/plugin-proposal-private-property-in-object": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.0",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.8.3",
"@changesets/changelog-github": "^0.2.8",
"@changesets/cli": "^2.13.1",
"@commitlint/cli": "9.1.2",
"@commitlint/config-conventional": "8.0.0",
"@emotion/babel-preset-css-prop": "^10.0.14",
"@expo/spawn-async": "^1.5.0",
"@manypkg/cli": "0.17.0",
"@netlify/functions": "^0.7.2",
"@storybook/addon-a11y": "6.4.13",
"@storybook/addon-actions": "6.4.13",
"@storybook/addon-essentials": "6.4.13",
"@storybook/addon-knobs": "6.4.0",
"@storybook/addon-links": "6.4.13",
"@storybook/addon-viewport": "6.4.13",
"@storybook/addons": "6.4.13",
"@storybook/core": "6.4.13",
"@storybook/react": "6.4.13",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^13.5.0",
"@twilio-labs/svg-to-react": "^2.1.0",
"@types/browser-sync": "^2.26.1",
"@types/color": "^3.0.0",
"@types/enzyme": "^3.10.1",
"@types/gulp": "^4.0.6",
"@types/gulp-if": "^0.0.33",
"@types/gulp-terser": "^1.2.1",
"@types/jest": "^24.0.18",
"@types/jest-axe": "^3.5.1",
"@types/node": "^14.14.16",
"@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/react-test-renderer": "^16.9.0",
"@types/theo": "^8.1.3",
"@types/webpack": "^4.4.34",
"@types/webpack-env": "^1.13.9",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.0.6",
"babel-plugin-macros": "^2.6.1",
"babel-preset-gatsby": "^0.2.8",
"babel-preset-react-app": "^9.1.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": "^2.6.10",
"cypress": "9.2.1",
"danger": "^10.6.6",
"del": "^5.1.0",
"directory-named-webpack-plugin": "^4.0.1",
"emotion": "10.0.27",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"esbuild": "^0.8.30",
"eslint": "7.23.0",
"eslint-config-airbnb-typescript": "12.0.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-cypress": "2.11.2",
"eslint-plugin-emotion": "10.0.14",
"eslint-plugin-eslint-comments": "3.1.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.1.0",
"eslint-plugin-jsx-a11y": "6.3.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.20.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-unicorn": "23.0.0",
"git-branch-is": "^3.0.0",
"graphql": "^14.6.0",
"gulp": "^4.0.2",
"gulp-cli": "^2.2.0",
"gulp-if": "^3.0.0",
"gulp-terser": "^2.0.1",
"gulp-theo": "2.0.1",
"husky": "^3.0.0",
"immutable": "^4.0.0-rc.12",
"jest": "26.6.0",
"jest-axe": "^4.1.0",
"jest-emotion": "^10.0.32",
"lerna": "^4.0.0",
"lodash": "^4.17.19",
"lodash.difference": "^4.5.0",
"lodash.kebabcase": "^4.1.1",
"lodash.startcase": " ^4.4.0",
"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-router-dom": "6.2.1",
"react-test-renderer": "^16.8.6",
"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.3",
"terser": "^5.3.0",
"theo": "^8.1.5",
"ts-node": "^10.0.0",
"tslib": "^2.0.3",
"typedoc": "^0.20.12",
"typescript": "^4.1.3",
"webpack": "^4.44.2"
},
"resolutions": {
"@emotion/core": "10.0.28",
"react-hot-loader": "^4.13.0"
},
"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": "yarn@3.1.0"
}