-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
201 lines (201 loc) · 7.59 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
{
"name": "@paprika/paprika",
"description": "",
"scripts": {
"build:translations": "yarn workspace @paprika/l10n build:translations",
"cleanup": "yarn rimraf packages/*/lib",
"cypress:ci": "run-p --race storybook cypress:run",
"cypress:dev": "run-p --race storybook cypress:open",
"cypress:open": "cypress open",
"cypress:run": "wait-on http://localhost:9009/iframe.html && cypress run --browser chrome",
"generateReadMe": "node scripts/readmeFiles.js",
"generateTypeDefinitionsForJS": "node scripts/typesFiles.js",
"generateDocStories": "node scripts/docStories.js",
"jest:watch": "yarn jest --watch",
"license": "node packages/helpers/src/license.js",
"lint": "eslint packages --report-unused-disable-directives",
"lint:fix": "yarn lint --fix",
"lint:jss": "stylelint './packages/**/src/**/*.styles.js'",
"pestle": "node scripts/pestle/mainCLI.js",
"prepare": "yarn cleanup && lerna run pretranspile && yarn transpile && lerna run transpile:types && yarn generateTypeDefinitionsForJS && yarn generateReadMe",
"prepare:esm": "yarn transpile:esm && lerna run transpile:esm:types",
"prettier": "prettier \"packages/**/*.+(js|json|yml|css|scss)\"",
"prettier:format": "yarn prettier --write",
"storybook": "yarn build:translations && run-p storybook:start storybook:uploadserver",
"storybook:build": "build-storybook -s ./.storybook/public -c .storybook -o storybook-dist",
"storybook:screener": "screener-storybook --conf screener.config.js",
"storybook:start": "start-storybook -s ./.storybook/public -p 9009 -c .storybook",
"storybook:uploadserver": "node scripts/uploaderServer",
"storybook:startWithoutHMR": "yarn build:translations && DISABLE_HMR=true start-storybook -s ./.storybook/public -p 9009 -c .storybook",
"test": "jest --passWithNoTests",
"test:a11y": "echo 'Axe will run on this command'",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
"transpile": "lerna exec --concurrency 2 -- babel --extensions .js,.jsx,.ts,.tsx --root-mode upward src --source-maps --copy-files --out-dir lib",
"transpile:esm": "lerna exec --concurrency 2 --scope '@paprika/@(action-bar|avatar|calendar|collapsible-card|data-grid|filter|form-element|guard|helpers|icon|list-box-with-tags|mock-endpoints|modal|seducer|stylers|table)' -- babel --extensions .js,.jsx,.ts,.tsx --root-mode upward src --source-maps --copy-files --config-file ../../babel.config.esm.js --out-dir lib/esm",
"validate:ts": "yarn tsc --noEmit --emitDeclarationOnly false",
"paprika-status": "node scripts/status/paprika-status",
"paprika-status:a11y": "run-p --race storybook:startWithoutHMR getA11yStatus",
"getA11yStatus": "wait-on http://localhost:9009/iframe.html && node --max-old-space-size=8192 scripts/status/paprika-status--a11y"
},
"engines": {
"node": ">=14.15.0",
"yarn": ">=1.12.3"
},
"private": true,
"workspaces": [
"packages/*"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-transform-modules-commonjs": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@octokit/rest": "^16.28.6",
"@storybook/addon-a11y": "^6.5.16",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-cssresources": "^6.2.9",
"@storybook/addon-docs": "^6.5.16",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/addon-links": "^6.5.16",
"@storybook/addons": "^6.5.16",
"@storybook/react": "^6.5.16",
"@testing-library/cypress": "^7.0.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^10.3.0",
"@testing-library/react-hooks": "^3.3.0",
"@testing-library/user-event": "^12.8.3",
"@types/faker": "^5.5.9",
"@types/jest-axe": "^3.5.3",
"@types/styled-components": "^5.1.11",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"babel-plugin-styled-components": "^1.13.2",
"css-loader": "^2.1.0",
"cypress": "^6.3.0",
"cypress-file-upload": "^5.0.2",
"cypress-plugin-tab": "^1.0.5",
"dotenv": "^8.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-better-styled-components": "^1.1.2",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"faker": "^4.1.0",
"given2": "^2.1.7",
"husky": "^2.5.0",
"inquirer": "^8.1.2",
"inquirer-search-list": "^1.2.6",
"jest": "^26.0.1",
"jest-axe": "^4.1.0",
"jest-cli": "^26.0.1",
"js-yaml": "^3.13.1",
"lerna": "^6.4.1",
"lint-staged": "^11.0.0",
"msw": "^0.25.0",
"npm-run-all": "^4.1.5",
"pa11y": "^6.2.3",
"prettier": "1.18.2",
"query-string": "^4.3.4",
"react": "~16.13.1",
"react-docgen": "^5.4.0",
"react-dom": "~16.13.1",
"react-element-to-jsx-string": "^14.3.1",
"react-i18next": "^11.11.4",
"react-is": "^16.11.0",
"react-resizable": "^1.10.1",
"react-syntax-highlighter": "^15.2.1",
"react-test-renderer": "^16.8.6",
"rimraf": "3.0.2",
"sass-loader": "^10.0.0",
"screener-storybook": "^1.0.0",
"sinon": "^7.2.4",
"storybook-a11y-report": "^0.0.19",
"style-loader": "^0.23.1",
"styled-components": "^5.3.9",
"stylelint": "^13.1.0",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.9.0",
"typescript": "^4.3.5",
"uuid": "^8.3.2",
"wait-on": "^3.2.0",
"workerize-loader": "^1.1.0"
},
"husky": {
"hooks": {
"commit-msg": "node scripts/commit-validator.js",
"pre-commit": "lint-staged",
"pre-push": "yarn jest"
}
},
"lint-staged": {
"packages/**/*.js": [
"yarn lint",
"yarn lint:jss"
],
"packages/**/*.{js,jsx,ts,tsx,json,yml,css,scss}": [
"yarn prettier --check"
]
},
"dependencies": {
"@babel/plugin-proposal-private-methods": "^7.14.5",
"@babel/plugin-proposal-private-property-in-object": "^7.14.5",
"@babel/runtime-corejs2": "^7.14.8",
"@changesets/cli": "^2.26.0",
"legally": "^3.5.10",
"pascal-case": "^3.1.2",
"react-json-tree": "^0.11.2",
"shelljs": "^0.8.3"
},
"resolutions": {
"har-validator": "^5.1.3",
"ansi-regex": "^3.0.1",
"async": "^2.6.4",
"browserslist": "^4.16.5",
"decode-uri-component": "^0.2.1",
"elliptic": "^6.5.4",
"glob-parent": "^5.1.2",
"got": "^11.8.5",
"hosted-git-info": "^2.8.9",
"http-cache-semantics": "^4.1.1",
"json-schema": "^0.4.0",
"json5": "^1.0.2",
"nth-check": "^2.0.1",
"postcss": "^7.0.36",
"qs": "^6.11.0",
"requestretry": "^7.0.0",
"serialize-javascript": "^3.1.0",
"shell-quote": "^1.7.3",
"ssri": "^6.0.2",
"trim": "^0.0.3",
"trim-newlines": "^3.0.1",
"moment": "^2.29.4",
"trim-off-newlines": "^1.0.3",
"node-fetch": "^2.6.7",
"tmpl": "^1.0.5",
"prismjs": "^1.17.0",
"ini": "^1.3.6",
"y18n": "^4.0.1",
"lodash": "^4.17.20",
"follow-redirects": "^1.14.8",
"terser": "^4.8.1",
"tar": "^6.1.1",
"minimist": "^1.2.6",
"minimatch": "^3.0.5",
"shelljs": "^0.8.5",
"highlight.js": "^10.4.1"
}
}