-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
201 lines (201 loc) · 7.63 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": "@toptal/picasso-root",
"version": "0.0.1",
"private": true,
"description": "",
"homepage": "https://github.com/toptal/picasso#readme",
"bugs": {
"url": "https://github.com/toptal/picasso/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:toptal/picasso.git"
},
"license": "MIT",
"author": "Toptal",
"workspaces": [
"packages/*",
"packages/base/*"
],
"scripts": {
"tsc:all": "tsc --build tsconfig.pkgsrc.json --verbose",
"build:package": "lerna run build:package",
"build:package:watch": "lerna watch -- lerna run --scope=\\$LERNA_PACKAGE_NAME build:package --include-dependents",
"build:storybook": "yarn nx reset && yarn build:package && build-storybook -c .storybook -o build/storybook --quiet",
"check:icon-sizes": "node ./bin/check-icon-sizes",
"circularity": "madge --circular packages/*/src",
"clean": "yarn cache clean && nx reset && find . -type d -name \"node_modules\" -exec rm -rf '{}' +",
"generate:component": "davinci-code new component",
"generate:example": "davinci-code new example",
"generate:icons": "./bin/generate-components-from-svg icon",
"generate:pictograms": "./bin/generate-components-from-svg pictogram",
"generate:svg-components": "yarn generate:icons && yarn generate:pictograms",
"happo": "yarn build:package && cross-env SCREENSHOT_BREAKPOINTS=true TEST_ENV=visual HAPPO_PROJECT=Picasso/Storybook happo",
"happo:storybook": "yarn build:package && cross-env SCREENSHOT_BREAKPOINTS=true TEST_ENV=visual HAPPO_IS_ASYNC=false happo-ci-github-actions",
"lint": "davinci-syntax lint code --check .",
"lint:fix": "davinci-syntax lint code .",
"prepare": "husky install",
"prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
"refresh:tsconfig-references": "./bin/refresh-tsconfig-references.mjs",
"release": "yarn build:package && changeset publish",
"start": "yarn -s build:package && concurrently --names build,storybook --raw yarn:build:package:watch yarn:start:storybook",
"start:storybook": "start-storybook -p 9001 -c .storybook",
"symlink": "cross-env ./bin/symlink --link",
"symlink:off": "cross-env ./bin/symlink --unlink",
"syncpack": "yarn syncpack:list & yarn syncpack:fix",
"syncpack:fix": "syncpack fix-mismatches",
"syncpack:list": "syncpack list-mismatches",
"test": "yarn test:unit && yarn test:integration",
"test:combine": "yarn istanbul-merge --out coverage/combined/report.json coverage/cypress/coverage-final.json coverage/jest/coverage-final.json && nyc report --temp-dir coverage/combined --report-dir coverage/combined --reporter html",
"test:coverage": "yarn test:unit:coverage && yarn test:integration && yarn test:combine",
"test:integration": "yarn build:package && yarn test:setup cypress run --component",
"test:integration:ci": "yarn build:package && yarn happo-e2e -- -- yarn test:setup cypress run --component",
"test:integration:open": "yarn build:package && concurrently --names build,test --raw yarn:build:package:watch 'yarn test:setup cypress open --browser=electron --component'",
"test:setup": "cross-env TZ=UTC NODE_ENV=development",
"test:unit": "yarn build:package && davinci-qa unit --config=./jest.spec.mjs",
"test:unit:ci": "yarn test:unit --maxWorkers=4 --ci",
"test:unit:coverage": "yarn test:unit:ci --collect-coverage --coverage true --collectCoverageFrom packages/**/*.{ts,tsx} --coverageDirectory coverage/jest",
"test:unit:debug": "cross-env NODE_OPTIONS=--inspect-brk yarn test:unit",
"test:unit:watch": "yarn test:unit --watch",
"typecheck": "tsc --noEmit"
},
"lint-staged": {
"{**/*.{js,jsx,ts,tsx},.changeset/*.md}": [
"davinci-syntax lint code",
"prettier --write"
],
"**/package.json": [
"yarn refresh:tsconfig-references --addToGit"
]
},
"nyc": {
"include": [
"packages/**/src/**/*.ts",
"packages/**/src/**/*.tsx",
"packages/base/src/**/*.ts",
"packages/base/src/**/*.tsx"
],
"report-dir": "coverage/cypress",
"reporter": [
"json"
]
},
"resolutions": {
"**/@storybook/core-server/**/ip": "npm:@toptal/davinci-ip@2.0.3",
"webpack-dev-middleware": "5.3.4",
"**/@types/unist": "3.0.0",
"**/default-browser-id/meow/trim-newlines": "^3",
"**/find-babel-config/json5": "1",
"**/marksy/marked": "^0.7.0",
"@storybook/react": "^6.5.15",
"ansi-regex": "^5.0.1",
"glob-parent": "^6.0.2",
"lodash": "^4.17.21",
"minimist": "^1.2.6",
"node-fetch": "^2.6.7",
"postcss": "^8.4.32",
"prettier": "^2.5.1",
"prismjs": "^1.25.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"semver-regex": "^3.1.3",
"trim": "^0.0.3",
"unset-value": "^2.0.1",
"webpack": "^5.0.0",
"yaml": "2",
"micromatch": "^4.0.8"
},
"devDependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^6.0.0",
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.23.2",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.22.5",
"@babel/standalone": "^7.23.1",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@changesets/get-github-info": "^0.6.0",
"@cypress/skip-test": "^2.6.1",
"@storybook/addon-a11y": "^6.5.15",
"@storybook/addon-viewport": "^6.5.15",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.15",
"@storybook/react": "^6.5.15",
"@storybook/theming": "^6.5.15",
"@svgr/cli": "^8.1.0",
"@testing-library/jest-dom": "^6.2.0",
"@toptal/browserslist-config": "^1.2.0",
"@toptal/davinci-ci": "6.0.0",
"@toptal/davinci-code": "^2.0.15",
"@toptal/davinci-engine": "^11.0.8",
"@toptal/davinci-qa": "^16.3.2",
"@toptal/davinci-syntax": "^22.0.2",
"@types/debounce": "^3.0.0",
"@types/esprima": "^4.0.3",
"@types/happo-cypress": "^4.1.3",
"@types/react-truncate": "^2.3.4",
"babel-loader": "^9.1.2",
"brace": "^0.11.1",
"cache-loader": "^4.1.0",
"chalk": "^4.1.0",
"concurrently": "^8.2.2",
"copy-to-clipboard": "^3.3.2",
"core-js": "^3.33.2",
"cross-env": "^7.0.3",
"cypress": "^13.6.0",
"cypress-plugin-tab": "^1.0.5",
"cypress-real-events": "^1.12.0",
"date-fns": "^2.30.0",
"debounce": "^1.2.1",
"ejs": "^3.1.10",
"escodegen": "^2.1.0",
"eslint-plugin-local-rules": "^2.0.1",
"eslint-plugin-ssr-friendly": "^1.3.0",
"esprima": "^4.0.1",
"esprima-walk": "^0.1.0",
"fs-extra": "^11.2.0",
"github-markdown-css": "^5.5.0",
"globby": "^14.0.0",
"happo-cypress": "^4.1.3",
"happo-e2e": "^2.4.1",
"happo-plugin-storybook": "^4.1.0",
"happo.io": "^9.1.2",
"istanbul-merge": "^2.0.0",
"jest-canvas-mock": "^2.5.0",
"json5": "^2.2.3",
"lerna": "^8.1.2",
"madge": "^6.1.0",
"package-up": "^5.0.0",
"postcss": "^8.4.32",
"postcss-loader": "^7.3.3",
"raw-loader": "^4.0.2",
"react": "^18.2.0",
"react-ace": "^10.1.0",
"react-deprecate": "^0.1.0",
"react-dom": "^18.2.0",
"react-markdown": "^9.0.0",
"react-router-dom": "^5.3.4",
"react-source-render": "^3.0.0-5",
"react-storybook-addon-chapters": "^3.1.7",
"react-test-renderer": "^18.2.0",
"remark-gfm": "^4.0.0",
"syncpack": "^12.3.3",
"tailwindcss": "^3.4.10",
"thread-loader": "^4.0.2",
"ts-loader": "^9.5.1",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "~4.7.0",
"url-loader": "^4.1.1",
"yargs": "^17.5.1",
"yarn-deduplicate": "^6.0.2",
"zx": "^8.0.2"
},
"engines": {
"node": ">=18"
},
"files": [
"src"
]
}