This repository has been archived by the owner on Feb 24, 2023. It is now read-only.
forked from Shopify/polaris
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
202 lines (202 loc) · 6.8 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
202
{
"name": "@shopify/polaris",
"description": "Shopify’s product component library",
"version": "3.13.0",
"private": false,
"license": "SEE LICENSE IN LICENSE.md",
"author": "Shopify <[email protected]>",
"homepage": "https://github.com/Shopify/polaris-react#readme",
"repository": "https://github.com/Shopify/polaris-react",
"bugs": {
"url": "https://github.com/Shopify/polaris-react/issues"
},
"publishConfig": {
"access": "public"
},
"sideEffects": [
"**/*.css",
"**/*.scss",
"**/configure.js"
],
"keywords": [
"shopify",
"polaris",
"react",
"components",
"component library"
],
"main": "index.js",
"module": "index.es.js",
"jsnext:main": "index.es.js",
"types": "types/index.d.ts",
"scripts": {
"lint": "sewing-kit lint",
"format": "sewing-kit format",
"ts": "tsc --noEmit",
"test": "sewing-kit test",
"test:coverage": "yarn test --coverage",
"test:ci": "yarn test --coverage",
"check": "npm-run-all lint ts test",
"check:ci": "npm-run-all lint ts test:ci",
"clean": "rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"",
"clean:build": "rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"",
"optimize": "node ./scripts/optimize.js",
"prebuild": "npm-run-all clean:build optimize copy-polaris-tokens",
"build": "node ./scripts/build.js",
"prebuild-consumer": "yarn run build",
"build-consumer": "node ./scripts/build-consumer",
"build-shrink-ray": "yarn run copy-polaris-tokens && node ./scripts/build-shrink-ray.js",
"secrets": "ejson decrypt -o secrets.json secrets.ejson",
"precdn": "yarn run build",
"cdn:deploy": "node ./scripts/deploy.js",
"cdn": "npm-run-all secrets cdn:deploy",
"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",
"prepublish": "in-publish && yarn run build || :",
"postpublish": "in-publish && npm-run-all cdn new-version-pr-generator",
"dev": "npm-run-all copy-polaris-tokens storybook",
"test:percy": "yarn run storybook:build && percy-storybook --build_dir build/storybook/static",
"test:a11y": "yarn run storybook:build && node ./scripts/pa11y.js",
"start": "serve -l ${PORT} -c .storybook/serve.json",
"heroku-postbuild": "yarn run storybook:build",
"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/storybook/static",
"merge": "uxpin-merge --webpack-config ./webpack.uxpin.config.js --wrapper ./config/uxpin/Wrapper/UXPinWrapper.js",
"merge:dump": "uxpin-merge dump --webpack-config ./webpack.uxpin.config.js --wrapper ./config/uxpin/Wrapper/UXPinWrapper.js"
},
"stylelint": {
"extends": [
"stylelint-config-shopify/prettier"
],
"rules": {
"selector-class-pattern": "^[a-zA-Z][a-zA-Z0-9-]+$",
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": [
"global"
]
}
]
}
},
"browserslist": [
"last 3 chrome versions",
"last 3 chromeandroid versions",
"last 3 firefox versions",
"last 3 opera versions",
"last 2 edge versions",
"safari >= 10",
"ios >= 9"
],
"devDependencies": {
"@babel/core": "^7.1.6",
"@percy/storybook": "^3.0.1",
"@shopify/jest-dom-mocks": "^2.1.1",
"@shopify/js-uploader": "github:shopify/js-uploader",
"@shopify/sewing-kit": "0.69.0",
"@storybook/addon-a11y": "^5.0.6",
"@storybook/addon-actions": "^5.0.6",
"@storybook/addon-backgrounds": "^5.0.6",
"@storybook/addon-console": "^1.1.0",
"@storybook/addon-notes": "^5.0.6",
"@storybook/addon-viewport": "^5.0.6",
"@storybook/react": "^5.0.6",
"@storybook/theming": "^5.0.6",
"@types/enzyme": "^3.1.14",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/lodash": "^4.14.108",
"@types/node": "^8.10.17",
"archiver": "^2.1.0",
"aws-sdk": "^2.58.0",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "^8.0.4",
"babel-preset-shopify": "^17.0.1",
"chalk": "^2.4.1",
"change-case": "^3.0.1",
"codecov": "^3.0.4",
"copyfiles": "^1.2.0",
"cssnano": "^4.1.8",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"fs-extra": "^4.0.2",
"generic-names": "^1.0.2",
"glob": "^7.1.2",
"gray-matter": "^4.0.1",
"in-publish": "^2.0.0",
"isomorphic-fetch": "^2.2.1",
"js-yaml": "^3.12.1",
"marked": "^0.6.0",
"node-sass": "^4.14.1",
"npm-run-all": "^4.0.2",
"object-hash": "^1.3.0",
"pa11y": "^5.0.4",
"postcss": "^7.0.8",
"postcss-modules-extract-imports": "^2.0.0",
"postcss-modules-local-by-default": "^2.0.4",
"postcss-modules-parser": "^1.1.1",
"postcss-modules-scope": "^2.0.1",
"postcss-modules-values": "^2.0.0",
"postcss-shopify": "^2.2.0",
"puppeteer": "^1.5.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-test-renderer": "^16.3.1",
"rimraf": "^2.6.1",
"rollup": "^1.0.2",
"rollup-plugin-babel": "^4.2.0",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-pluginutils": "^2.3.3",
"semver": "^5.4.1",
"serve": "^11.0.0",
"shelljs": "^0.7.7",
"shx": "^0.2.2",
"svgo": "^0.7.2",
"typescript": "~3.1.6",
"yargs": "^12.0.1"
},
"peerDependencies": {
"react": "^16.3.1",
"react-dom": "^16.3.1"
},
"resolutions": {
"typescript-eslint-parser": "20.0.0"
},
"files": [
"esnext",
"styles",
"types",
"docs",
"index.js",
"index.es.js",
"styles.css",
"styles.scss"
],
"dependencies": {
"@babel/runtime": "^7.1.6",
"@shopify/app-bridge": "^1.3.0",
"@shopify/images": "^1.1.0",
"@shopify/javascript-utilities": "^2.2.1",
"@shopify/polaris-icons": "^3.3.0",
"@shopify/polaris-tokens": "^2.5.0",
"@shopify/react-compose": "^0.1.6",
"@shopify/react-utilities": "^2.0.4",
"@types/prop-types": "^15.5.5",
"@types/react": "^16.4.7",
"@types/react-dom": "^16.0.6",
"@types/react-transition-group": "^2.0.7",
"@uxpin/merge-cli": "^2.7.3",
"hoist-non-react-statics": "^2.5.0",
"lodash": "^4.17.4",
"prop-types": "^15.6.1",
"react-transition-group": "^2.4.0",
"sass-loader": "^7.1.0",
"tslib": "^1.9.3",
"url-loader": "^1.1.2"
}
}