forked from Shopify/polaris
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
198 lines (198 loc) · 6.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
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
{
"name": "@endearhq/polaris",
"description": "Endear's admin product component library",
"version": "8.0.0-fork.0",
"private": false,
"license": "SEE LICENSE IN LICENSE.md",
"author": "Endear <[email protected]>",
"homepage": "https://polaris.shopify.com/components",
"repository": "[email protected]:endearhq/polaris-react.git",
"bugs": {
"url": "https://github.com/endearhq/polaris-react/issues"
},
"publishConfig": {
"access": "public",
"registry": "https://npm.pkg.github.com/"
},
"files": [
"build/",
"!build/ts/**/*.tsbuildinfo",
"!build/ts/**/tests/",
"!build/ts/**/playground/",
"locales/"
],
"sideEffects": [
"**/*.css",
"**/*.scss",
"**/configure.{js,mjs,esnext,ts}"
],
"keywords": [
"shopify",
"polaris",
"react",
"components",
"component library"
],
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"esnext": "build/esnext/index.esnext",
"types": "build/ts/latest/src/index.d.ts",
"typesVersions": {
"<4.0": {
"build/types/latest/*": [
"build/ts/3.4/*"
]
}
},
"engines": {
"node": ">=16.9.1"
},
"scripts": {
"lint": "loom lint",
"format": "loom lint --fix",
"type-check": "loom type-check",
"a11y-check": "node ./scripts/accessibility-check.js",
"test": "loom test",
"check": "npm-run-all lint type-check test",
"clean": "rimraf build build-internal \"./src/styles/polaris-tokens\"",
"build": "node ./scripts/build.js",
"prebuild-consumer": "yarn run build",
"build-consumer": "node ./scripts/build-consumer",
"secrets": "ejson decrypt -o secrets.json secrets.ejson",
"prenew-version-pr-generator": "rimraf sandbox && yarn run secrets",
"new-version-pr-generator": "node ./scripts/new-version-pr-generator",
"copy-polaris-tokens": "rimraf ./src/styles/polaris-tokens && shx cp -r ./node_modules/@shopify/polaris-tokens/dist ./src/styles/polaris-tokens && yarn run copy-polaris-tokens-map",
"copy-polaris-tokens-map": "rimraf ./src/styles/polaris-tokens/colors.color-map.scss && shx cp -r ./src/styles/_colors.color-map.scss ./src/styles/polaris-tokens/colors.color-map.scss",
"prepublishOnly": "yarn run build",
"dev": "npm-run-all copy-polaris-tokens storybook",
"readme-update-version": "node ./scripts/readme-update-version",
"version": "yarn run readme-update-version",
"storybook": "start-storybook -p 6006 --quiet",
"storybook:build": "yarn run copy-polaris-tokens && build-storybook -o build-internal/storybook/static",
"precolordocs": "yarn run build",
"colordocs": "node ./scripts/color-system-docs",
"postcolordocs": "yarn run format"
},
"dependencies": {
"@shopify/polaris-icons": "^4.11.0",
"@shopify/polaris-tokens": "^3.0.0",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@types/react-transition-group": "^4.4.2",
"focus-visible": "^5.2.0",
"lodash": "^4.17.4",
"react-transition-group": "^4.4.2"
},
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0",
"react-dom": "^16.14.0 || ^17.0.0"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/node": "^7.14.9",
"@rollup/plugin-image": "^2.0.5",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/pluginutils": "^3.1.0",
"@shopify/babel-preset": "^24.1.2",
"@shopify/browserslist-config": "^3.0.0",
"@shopify/eslint-plugin": "^41.0.1",
"@shopify/jest-dom-mocks": "^3.0.5",
"@shopify/loom": "^1.0.0",
"@shopify/loom-cli": "^1.0.0",
"@shopify/loom-plugin-build-library": "^1.0.0",
"@shopify/loom-plugin-eslint": "^2.0.0",
"@shopify/loom-plugin-prettier": "^2.0.0",
"@shopify/loom-plugin-stylelint": "^2.0.0",
"@shopify/postcss-plugin": "^5.0.1",
"@shopify/prettier-config": "^1.1.2",
"@shopify/react-testing": "^3.2.4",
"@shopify/storybook-a11y-test": "0.4.3",
"@shopify/stylelint-plugin": "^11.0.0",
"@shopify/typescript-configs": "^5.0.0",
"@size-limit/preset-small-lib": "^5.0.3",
"@storybook/addon-a11y": "^6.4.7",
"@storybook/addon-console": "^1.2.3",
"@storybook/addon-contexts": "^5.3.21",
"@storybook/addon-essentials": "^6.4.7",
"@storybook/react": "^6.4.10",
"@types/lodash": "^4.14.138",
"@types/node": "^16.11.11",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "^8.1.0",
"chalk": "^2.4.2",
"change-case": "^3.1.0",
"copyfiles": "^2.1.1",
"core-js": "^3.6.5",
"create-file-webpack": "^1.0.2",
"downlevel-dts": "^0.6.0",
"eslint": "^8.3.0",
"fs-extra": "^7.0.1",
"glob": "^7.1.4",
"gray-matter": "^4.0.2",
"marked": "^0.7.0",
"node-cmd": "^3.0.0",
"node-sass": "^6.0.1",
"npm-run-all": "^4.1.5",
"object-hash": "^1.3.1",
"postcss": "^8.3.1",
"postcss-loader": "^4.2.0",
"postcss-modules": "^4.2.2",
"postcss-pxtorem": "^5.1.1",
"prettier": "^2.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.0",
"sass-loader": "^10.1.1",
"semver": "^6.3.0",
"shelljs": "^0.8.3",
"shx": "^0.3.2",
"size-limit": "^5.0.3",
"stylelint": "^14.1.0",
"svgo": "^1.3.0",
"typescript": "~4.3.5"
},
"browserslist": [
"last 3 chrome versions",
"last 3 firefox versions",
"last 3 opera versions",
"last 3 edge versions",
"last 3 safari versions",
"last 3 chromeandroid versions",
"last 1 firefoxandroid versions",
"ios >= 13.4"
],
"prettier": "@shopify/prettier-config",
"stylelint": {
"extends": [
"@shopify/stylelint-plugin/prettier"
]
},
"size-limit": [
{
"name": "cjs",
"path": "build/cjs/index.js",
"limit": "180 kB"
},
{
"name": "esm",
"path": "build/esm/index.js",
"limit": "105 kB"
},
{
"name": "esnext",
"path": "build/esnext/index.esnext",
"limit": "160 kB"
},
{
"name": "css",
"path": "build/esm/styles.css",
"limit": "45 kB"
}
],
"volta": {
"node": "16.13.2",
"yarn": "1.22.17"
}
}