-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
153 lines (153 loc) · 5.03 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
{
"name": "design-system-react",
"license": "MIT",
"private": true,
"version": "0.0.0",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/design-system-react.cjs",
"import": "./dist/design-system-react.es.js"
},
"./style.css": {
"require": "./dist/style.css",
"default": "./dist/style.css"
}
},
"files": [
"dist"
],
"engines": {
"node": ">=20"
},
"scripts": {
"build": "vite build",
"prepack": "vite build",
"commit": "cz",
"dev": "vite --open",
"preview": "vite preview",
"preview:test": "start-server-and-test preview http://localhost:4173",
"test": "vitest",
"test-report": "open coverage/lcov-report/index.html",
"test:ci": "vitest run",
"test:e2e": "yarn preview:test 'cypress open'",
"test:e2e:headless": "yarn preview:test 'cypress run'",
"test:e2e:ci": "vite build && yarn preview:test 'cypress run --record'",
"format": "prettier -uw --cache --ignore-path .gitignore .",
"run-tsc": "tsc",
"run-eslint": "eslint --cache --fix --ignore-path .gitignore --ext .ts,.tsx .",
"run-stylelint": "stylelint --cache --fix --ignore-path .gitignore **/*.css",
"lint": "run-p run-tsc run-eslint run-stylelint",
"validate": "run-p lint test:ci test:e2e:headless",
"start": "yarn storybook",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build -o dist-storybook",
"chromatic": "chromatic --storybook-build-dir dist-storybook --only-changed"
},
"dependencies": {
"@cfpb/cfpb-design-system": "^0.35.0",
"@cfpb/cfpb-expandables": "^0.35.0",
"@cfpb/cfpb-forms": "^0.35.0",
"@cfpb/cfpb-icons": "^1.2.0",
"@tanstack/react-query": "^4.13.5",
"classnames": "^2.3.2",
"display-element-css": "cfpb/storybook-addon-display-element-css",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "^6.3.0",
"react-select": "^5.7.2"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@nabla/vite-plugin-eslint": "1.4.1",
"@storybook/addon-a11y": "^7.0.6",
"@storybook/addon-actions": "^7.0.6",
"@storybook/addon-essentials": "^7.0.6",
"@storybook/addon-interactions": "^7.4.3",
"@storybook/addon-links": "^7.0.6",
"@storybook/client-api": "^7.4.3",
"@storybook/jest": "^0.2.2",
"@storybook/manager-api": "^7.3.2",
"@storybook/react": "^7.0.6",
"@storybook/react-vite": "^7.0.6",
"@storybook/testing-library": "^0.1.0",
"@storybook/theming": "^7.3.2",
"@testing-library/cypress": "8.0.7",
"@testing-library/dom": "8.19.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "14.4.3",
"@types/css-mediaquery": "0.1.1",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.8",
"@types/react-router-dom": "5.3.3",
"@types/testing-library__jest-dom": "5.14.5",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-istanbul": "^1.2.1",
"autoprefixer": "10.4.13",
"babel-loader": "^8.3.0",
"chromatic": "^6.19.9",
"commitizen": "4.2.5",
"css-mediaquery": "0.1.2",
"cypress": "10.11.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.27.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.31.10",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-prefer-function-component": "3.1.0",
"eslint-plugin-storybook": "^0.6.11",
"eslint-plugin-testing-library": "5.9.1",
"eslint-plugin-unicorn": "45.0.2",
"husky": "8.0.2",
"jest-matchmedia-mock": "1.1.0",
"jsdom": "21.0.0",
"less": "^4.1.3",
"lint-staged": "13.0.3",
"msw": "0.48.3",
"npm-run-all": "4.1.5",
"postcss": "8.4.19",
"prettier": "2.7.1",
"start-server-and-test": "1.14.0",
"storybook": "^7.0.6",
"stylelint": "14.15.0",
"stylelint-config-prettier": "9.0.4",
"stylelint-config-standard": "29.0.0",
"typescript": "4.8.4",
"vite": "3.2.10",
"vite-plugin-dts": "^2.2.0",
"vite-plugin-pwa": "^0.14.7",
"vite-plugin-react-remove-attributes": "^1.0.3",
"vite-plugin-turbosnap": "^1.0.3",
"vite-svg-loader": "^4.0.0",
"vite-tsconfig-paths": "3.5.2",
"vitest": "^1.2.1",
"whatwg-fetch": "3.6.2",
"workbox-build": "6.5.4",
"workbox-window": "6.5.4"
},
"browserslist": {
"production": "Edge >= 18, Firefox >= 60, Chrome >= 61, Safari >= 11, Opera >= 48",
"development": [
"last 1 chrome version",
"last 1 firefox version"
]
},
"lint-staged": {
"*": "prettier -uw --cache",
"*.css": "stylelint --cache --fix",
"*.{ts,tsx}": [
"eslint --cache --fix",
"vitest related --run --coverage=false"
]
},
"packageManager": "[email protected]"
}