-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
154 lines (154 loc) · 5.53 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
{
"name": "spark",
"private": true,
"version": "0.0.0",
"type": "module",
"license": "MIT",
"scripts": {
"prepare": "husky install",
"postinstall": "lerna run build",
"clean": "lerna clean --yes && lerna exec -- rm -rf dist",
"build": "lerna run build",
"build:watch": "lerna run build && lerna watch -- lerna run build --since",
"release": "lerna publish --yes --force-publish",
"storybook:start": "storybook dev -p 6006",
"storybook:build": "storybook build -o dist",
"tailwind-config-viewer": "npx @adevinta/tailwind-config-viewer -c ./tailwind.config.viewer.mjs",
"tailwind-config-viewer:build": "mkdir -p ./dist/viewer && npx @adevinta/tailwind-config-viewer -c ./tailwind.config.viewer.mjs export ./dist/viewer",
"test": "vitest",
"test:ui": "vitest watch --ui",
"test:run": "vitest run",
"test:coverage": "rm -rf ./dist/coverage && vitest run --coverage",
"test:coverage:open": "npx open-cli ./dist/coverage/index.html",
"test:e2e": "npx playwright install && npx playwright test -gv 'should not have any accessibility issues'",
"test:a11y": "npx playwright install && npx playwright test -g 'should not have any accessibility issues'",
"typecheck": "tsc --noEmit",
"commit": "git-cz",
"lint": "eslint --config .eslintrc.cjs packages/**/*.{ts,tsx,js,mjs} documentation/**/*.{ts,tsx} --cache",
"lint:staged": "lint-staged --config .lintstagedrc.json",
"prettier": "prettier --config .prettierrc.cjs --write \"{packages,documentation,src}/**/*.{ts,tsx,js}\"",
"prettify": "npm run lint && npm run prettier",
"node:check": "node bin/check-node-version.js",
"generate": "spark-generate",
"codecov:check-yml": "cat .codecov.yml | curl --data-binary @- https://codecov.io/validate"
},
"repository": {
"type": "git",
"url": "[email protected]:adevinta/spark.git"
},
"dependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@spark-ui/tabs": "^2.0.0",
"@spark-ui/theme-utils": "^4.0.0",
"@storybook/test": "^8.4.3"
},
"devDependencies": {
"@adevinta/tailwind-config-viewer": "3.0.0",
"@axe-core/playwright": "^4.9.1",
"@babel/core": "7.24.7",
"@chromatic-com/storybook": "^1.9.0",
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"@commitlint/config-lerna-scopes": "17.8.1",
"@commitlint/cz-commitlint": "17.8.1",
"@commitlint/prompt-cli": "17.8.1",
"@nx/devkit": "^16.5.3",
"@nx/eslint-plugin": "^16.5.3",
"@playwright/test": "^1.45.3",
"@radix-ui/react-switch": "*",
"@spark-ui/cli-utils": "*",
"@storybook/addon-a11y": "^8.4.3",
"@storybook/addon-actions": "^8.4.3",
"@storybook/addon-essentials": "^8.4.3",
"@storybook/addon-interactions": "^8.4.3",
"@storybook/addon-links": "^8.4.3",
"@storybook/addon-mdx-gfm": "^8.4.3",
"@storybook/blocks": "^8.4.3",
"@storybook/manager-api": "^8.4.3",
"@storybook/react": "^8.4.3",
"@storybook/react-vite": "^8.4.3",
"@storybook/theming": "^8.4.3",
"@testing-library/dom": "8.20.1",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "14.5.2",
"@types/node": "^20.14.11",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@vitejs/plugin-react": "3.1.0",
"@vitest/coverage-istanbul": "^0.34.1",
"@vitest/ui": "0.34.7",
"autoprefixer": "10.4.20",
"babel-loader": "8.4.1",
"browserslist-to-esbuild": "1.2.0",
"chalk": "^5.2.0",
"class-variance-authority": "0.7.0",
"commitizen": "4.3.0",
"concurrently": "^8.2.0",
"copy-to-clipboard": "3.3.3",
"deepmerge": "4.3.1",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-n": "15.7.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-promise": "6.6.0",
"eslint-plugin-react": "7.37.1",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-simple-import-sort": "10.0.0",
"eslint-plugin-standard": "5.0.0",
"eslint-plugin-storybook": "^0.9.0",
"eslint-plugin-tailwindcss": "3.17.5",
"eslint-plugin-testing-library": "5.11.1",
"husky": "8.0.3",
"jsdom": "21.1.1",
"lerna": "^7.1.1",
"lint-staged": "15.2.9",
"nx": "^16.5.0",
"postcss": "8.4.47",
"prettier": "3.3.3",
"prettier-plugin-tailwindcss": "0.6.8",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-element-to-jsx-string": "^15.0.0",
"react-live": "3.2.0",
"react-router-dom": "6.26.1",
"remark-gfm": "^4.0.0",
"resize-observer-polyfill": "^1.5.1",
"rollup": "^3.28.1",
"scroll-into-view-if-needed": "^3.0.10",
"storybook": "^8.4.3",
"storybook-addon-tag-badges": "^1.2.0",
"tailwindcss": "3.4.4",
"tailwindcss-radix": "2.9.0",
"ts-node": "10.9.2",
"type-fest": "3.13.1",
"typescript": "5.5.4",
"vite": "^4.3.9",
"vite-plugin-dts": "2.3.0",
"vite-plugin-turbosnap": "1.0.3",
"vite-tsconfig-paths": "4.3.2",
"vitest": "^0.32.0",
"wait-on": "^7.0.1"
},
"workspaces": [
"packages/components/*",
"packages/hooks/*",
"packages/utils/*"
],
"browserslist": [
"> 0.5% or > 0.1% and last 2 years, not dead, not Firefox ESR, not and_qq > 0, not and_uc > 0, not and_ff >0"
],
"namespaces": [
"spark-ui"
],
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
}
}