forked from jpmorganchase/salt-ds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
163 lines (163 loc) · 6.35 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
{
"name": "@salt-ds/root",
"version": "1.0.0",
"private": true,
"main": "index.js",
"license": "MIT",
"repository": "https://github.com/jpmorganchase/salt-ds",
"workspaces": [
"packages/**",
"tooling/**",
"playground/**",
"docs",
"site"
],
"modular": {
"type": "root"
},
"scripts": {
"start": "yarn storybook",
"build": "yarn build:core && yarn build:lab && yarn build:icons && yarn build:countries && yarn build:theme && yarn build:data-grid && yarn build:ag-grid-theme && yarn build:window && yarn build:styles && yarn ks:build",
"build:core": "modular build @salt-ds/core",
"build:icons": "modular build @salt-ds/icons",
"build:countries": "modular build @salt-ds/countries",
"build:lab": "modular build @salt-ds/lab",
"build:theme": "yarn workspace @salt-ds/theme build",
"build:data-grid": "modular build @salt-ds/data-grid",
"build:window": "modular build @salt-ds/window",
"build:styles": "modular build @salt-ds/styles",
"build:ag-grid-theme": "yarn workspace @salt-ds/ag-grid-theme build",
"test": "vitest",
"test:components": "cypress run --component --browser chrome --headless",
"test:components:local": "cypress open --component --browser electron",
"lint": "eslint . --cache --report-unused-disable-directives --ext .js,.ts,.tsx",
"lint:ci": "eslint . --report-unused-disable-directives --ext .js,.ts,.tsx",
"lint:core": "yarn eslint \"packages/core/src/**/*.{ts,tsx}\" --ignore-pattern \"**/__tests__/**\"",
"prettier": "pretty-quick --branch main",
"prettier:all": "prettier --write .",
"prettier:ci": "prettier --check .",
"lint:style": "yarn lint:style:core && yarn lint:style:icon && yarn lint:style:lab",
"lint:style:core": "yarn stylelint -f verbose \"packages/core/src/**/*.css\"",
"lint:style:icon": "yarn stylelint -f verbose \"packages/icons/src/**/*.css\"",
"lint:style:lab": "yarn stylelint -f verbose \"packages/lab/src/**/*.css\"",
"storybook": "storybook dev -p 6006",
"build-storybook": "yarn build:ag-grid-theme && storybook build",
"typecheck": "tsc --noEmit",
"chromatic": "chromatic",
"ks:build": "knapsack --config ./knapsack/knapsack.config.js build && npm run ks:create-theme && knapsack --config ./knapsack/knapsack.config.js build",
"ks:start-ks": "knapsack --config ./knapsack/knapsack.config.js start",
"ks:start": "run-p ks:start-ks ks:watch-tokens",
"ks:serve": "NODE_ENV=production knapsack --config ./knapsack/knapsack.config.js serve",
"ks:test": "knapsack --config ./knapsack/knapsack.config.js test",
"ks:import": "knapsack --config ./knapsack/knapsack.config.js react-patterns --pkg-path @salt-ds/core --importPrefix null",
"ks:watch-tokens": "npx nodemon --watch knapsack/dist/tokens/design-tokens.css --exec 'touch ./knapsack/demo-wrapper.tsx && touch ./knapsack/data/knapsack.asset-sets.json'",
"ks:add-theme": "npx ts-node ./ks-theme-add.ts && npm run ks:create-theme",
"ks:create-theme": "npx ts-node ./ks-theme-create.ts",
"heroku-postbuild": "yarn ks:build"
},
"dependencies": {
"@changesets/cli": "^2.25.2",
"@cypress/code-coverage": "^3.10.0",
"@faker-js/faker": "^8.0.0",
"@fontsource/open-sans": "^4.5.13",
"@mswjs/data": "^0.13.0",
"@storybook/addon-a11y": "^7.4.5",
"@storybook/addon-actions": "^7.4.5",
"@storybook/addon-docs": "^7.4.5",
"@storybook/addon-essentials": "^7.4.5",
"@storybook/addon-links": "^7.4.5",
"@storybook/addon-mdx-gfm": "7.4.5",
"@storybook/addon-storysource": "^7.4.5",
"@storybook/addons": "^7.4.5",
"@storybook/react": "^7.4.5",
"@storybook/react-vite": "7.4.5",
"@storybook/theming": "^7.4.5",
"@tanstack/react-query": "^4.28.0",
"@testing-library/cypress": "^10.0.0",
"@testing-library/dom": "^9.0.0",
"@testing-library/react": "^12.1.0",
"@types/fs-extra": "^11.0.3",
"@types/no-scroll": "^2.1.0",
"@types/node": "^20.0.0",
"@types/prompts": "^2.4.7",
"@types/react": "^18.0.0",
"@types/react-color": "^3.0.6",
"@types/react-dom": "^18.0.0",
"@types/tinycolor2": "^1.4.3",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"@vitejs/plugin-react": "^4.1.0",
"ag-grid-community": "^28.2.1",
"ag-grid-enterprise": "^28.2.1",
"ag-grid-react": "^28.2.1",
"axe-core": "^4.4.3",
"babel-loader": "^9.1.3",
"chromatic": "^7.0.0",
"ci-info": "^3.3.1",
"clsx": "^2.0.0",
"cypress": "^13.0.0",
"cypress-axe": "^1.2.0",
"cypress-real-events": "^1.10.0",
"deepmerge": "^4.2.2",
"dom-accessibility-api": "^0.5.10",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-cypress": "^2.14.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-local-rules": "^2.0.0",
"eslint-plugin-storybook": "^0.6.14",
"modular-scripts": "patch:modular-scripts@npm:3.6.0#.yarn/patches/modular-scripts-npm-3.6.0-d967962075.patch",
"msw": "^1.2.1",
"msw-storybook-addon": "^1.8.0",
"npm-run-all": "^4.1.5",
"nyse-holidays": "^1.2.0",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"prompts": "^2.4.2",
"react": "^18.0.0",
"react-docgen-typescript": "2.2.2",
"react-dom": "^18.0.0",
"react-router-dom": "^6.2.1",
"rifm": "^0.12.0",
"sass": "^1.52.3",
"storybook": "7.4.5",
"stylelint": "^15.0.0",
"typescript": "4.6.4",
"vite": "^4.4.9",
"vite-plugin-istanbul": "^5.0.0",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.34.4",
"webpack": "5.74.0",
"yup": "^1.0.2"
},
"resolutions": {
"webpack-dev-server": "4.9.3",
"@changesets/assemble-release-plan@^5.2.2": "patch:@changesets/assemble-release-plan@npm%3A5.2.2#./.yarn/patches/@changesets-assemble-release-plan-npm-5.2.2-11f5894b70.patch",
"modular-scripts/rollup": "2.79.1",
"@salt-ds/lab": "workspace:*"
},
"browserslist": {
"production": [
"chrome 79",
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"chrome 79",
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"packageManager": "[email protected]",
"msw": {
"workerDirectory": "docs/public"
},
"devDependencies": {
"@knapsack/app": "^4.30.0",
"@knapsack/renderer-react": "^4.30.0",
"css-loader": "^6.8.1",
"style-loader": "^3.3.3"
}
}