UNPKG

7.11 kBJSONView Raw
1{
2 "name": "@shopify/sewing-kit",
3 "version": "0.78.0-polyfill-beta.4",
4 "main": "index.js",
5 "types": "./lib/src/index.d.js",
6 "license": "MIT",
7 "engines": {
8 "node": ">=v8.12.0"
9 },
10 "publishConfig": {
11 "access": "public"
12 },
13 "bin": {
14 "sk": "./bin/sewing-kit",
15 "skd": "./bin/sewing-kit-debug",
16 "ski": "./bin/sewing-kit-inspect",
17 "sewing-kit": "./bin/sewing-kit",
18 "sewing-kit-debug": "./bin/sewing-kit-debug",
19 "sewing-kit-enterprise": "./bin/sewing-kit-enterprise",
20 "sewing-kit-inspect": "./bin/sewing-kit-inspect"
21 },
22 "scripts": {
23 "format": "yarn run lint:js --fix && yarn run lint:ts --fix && prettier '**/*.md' --write",
24 "lint:js": "eslint . --max-warnings 0 --format codeframe",
25 "lint:ts": "eslint . --ext .ts --max-warnings 0 --format codeframe",
26 "lint:prettier": "prettier '**/*.md' --list-different",
27 "lint": "yarn run lint:js && yarn run lint:ts && yarn run lint:prettier --list-different",
28 "ts": "tsc --noEmit",
29 "pretest:e2e": "yarn run build",
30 "pretest:e2e:debug": "yarn run build",
31 "test": "jest",
32 "test:e2e": "jest --roots 'tests/e2e' --",
33 "test:e2e:debug": "node --inspect-brk node_modules/.bin/jest --roots 'tests/e2e' --debug --",
34 "test:unit": "jest --roots 'src' 'packages' --",
35 "test:unit:watch": "jest --roots 'src' 'packages' --watch",
36 "check": "yarn run ts && yarn run test:fail-on-only-in-test && yarn run test:unit && yarn run test:e2e",
37 "prebuild": "rm -rf lib",
38 "build": "tsc",
39 "tophat": "node ./tophat/index.js tophat",
40 "postbuild": "node ./scripts/rewrite-typescript-paths-to-relative-requires.js",
41 "prepublish": "in-publish && yarn run build && echo 'N/A' > README.md || :"
42 },
43 "files": [
44 "lib",
45 "bin",
46 "jest",
47 "typescript",
48 "!*.test.js",
49 "!lib/tests"
50 ],
51 "jest": {
52 "globals": {
53 "ts-jest": {
54 "babelConfig": {
55 "plugins": [
56 "babel-plugin-dynamic-import-node"
57 ],
58 "sourceMaps": "inline"
59 }
60 }
61 },
62 "testEnvironment": "node",
63 "testRegex": ".*\\.test\\.ts$",
64 "transform": {
65 ".ts$": "ts-jest"
66 },
67 "moduleDirectories": [
68 "node_modules",
69 "packages",
70 "<rootDir>"
71 ],
72 "moduleFileExtensions": [
73 "js",
74 "ts",
75 "json"
76 ]
77 },
78 "eslintConfig": {
79 "extends": [
80 "plugin:shopify/typescript",
81 "plugin:shopify/node",
82 "plugin:shopify/jest",
83 "plugin:shopify/prettier"
84 ],
85 "overrides": [
86 {
87 "files": [
88 "*.ts",
89 "*.tsx"
90 ],
91 "rules": {
92 "typescript/no-var-requires": "off"
93 }
94 }
95 ],
96 "rules": {
97 "import/no-cycle": "off",
98 "callback-return": "off",
99 "no-undefined": "off",
100 "require-await": "off",
101 "shopify/jest/no-vague-titles": "off",
102 "jest/consistent-test-it": [
103 "error",
104 {
105 "fn": "it"
106 }
107 ]
108 }
109 },
110 "optionalDependencies": {},
111 "devDependencies": {
112 "@types/chalk": "^2.2.0",
113 "@types/express": "^4.16.0",
114 "@types/fs-extra": "^5.0.4",
115 "@types/glob": "^7.1.1",
116 "@types/isomorphic-fetch": "^0.0.34",
117 "@types/js-yaml": "^3.11.2",
118 "@types/jsdom": "^12.2.0",
119 "@types/loader-utils": "^1.1.3",
120 "@types/lodash": "^4.14.112",
121 "@types/node": "^10.5.2",
122 "@types/prettier": "^1.13.1",
123 "@types/puppeteer": "^1.9.0",
124 "@types/rimraf": "^2.0.2",
125 "@types/semver": "^5.5.0",
126 "@types/source-map-support": "^0.4.1",
127 "@types/strip-ansi": "^3.0.0",
128 "@types/tapable": "^1.0.4",
129 "@types/temp": "^0.8.32",
130 "@types/webpack": "^4.4.13",
131 "@types/webpack-dev-middleware": "^2.0.2",
132 "@types/yargs": "^12.0.1",
133 "in-publish": "^2.0.0",
134 "jsdom": "^13.0.0",
135 "puppeteer": "^1.6.0",
136 "rollup-pluginutils": "^2.0.1",
137 "typescript": "^3.1.4",
138 "webpack-cli": "^3.1.0"
139 },
140 "dependencies": {
141 "@babel/core": "^7.1.6",
142 "@shopify/async": "^1.1.0",
143 "@shopify/browserslist-config": "^1.0.0",
144 "@shopify/images": "^1.1.4",
145 "@shopify/polyfills": "^0.0.9",
146 "@types/graphql": "^14.0.0",
147 "@types/jest": "^23.3.1",
148 "app-root-dir": "^1.0.2",
149 "awesome-typescript-loader": "3.1.3",
150 "babel-core": "7.0.0-bridge.0",
151 "babel-jest": "~23.6.0",
152 "babel-loader": "^8.0.4",
153 "babel-plugin-dynamic-import-node": "^2.2.0",
154 "babel-plugin-lodash": "^3.3.4",
155 "babel-preset-shopify": "^17.0.1",
156 "cache-loader": "^1.2.5",
157 "case-sensitive-paths-webpack-plugin": "^2.1.2",
158 "chalk": "^2.3.2",
159 "compression-webpack-plugin": "~2.0.0",
160 "core-js": "^2.5.0",
161 "css-loader": "^1.0.1",
162 "element-dataset": "^2.2.6",
163 "eslint": "^5.6.0",
164 "eslint-plugin-shopify": "^26.1.2",
165 "express": "^4.16.3",
166 "file-loader": "^2.0.0",
167 "fs-extra": "^7.0.1",
168 "get-port": "~4.0.0",
169 "glob": "^7.1.2",
170 "graphql": "^14.0.0",
171 "graphql-config": "^2.0.0",
172 "graphql-tag": "^2.0.0",
173 "graphql-tool-utilities": "^0.10.0",
174 "graphql-typed": "^0.4.0",
175 "graphql-typescript-definitions": "^0.16.1",
176 "graphql-validate-fixtures": "^0.11.0",
177 "happypack": "^5.0.0",
178 "hard-source-webpack-plugin": "^0.13.1",
179 "hot-shots": "^5.9.1",
180 "identity-obj-proxy": "^3.0.0",
181 "image-webpack-loader": "~4.5.0",
182 "is-reachable": "^2.4.0",
183 "isomorphic-fetch": "^2.2.1",
184 "jest": "^23.0.0",
185 "jest-transform-graphql": "^2.1.0",
186 "jest-watch-typeahead": "^0.2.0",
187 "js-yaml": "^3.12.0",
188 "loader-utils": "^1.1.0",
189 "lodash": "^4.17.5",
190 "lodash-webpack-plugin": "^0.11.5",
191 "mini-css-extract-plugin": "^0.4.4",
192 "node-object-hash": "^1.4.1",
193 "node-sass": "^4.10.0",
194 "open-in-editor": "^2.2.0",
195 "optimize-css-assets-webpack-plugin": "^5.0.1",
196 "postcss-loader": "^3.0.0",
197 "postcss-shopify": "^2.2.1",
198 "prettier": "^1.14.3",
199 "react-dev-utils": "~6.1.1",
200 "react-hot-loader": "^4.6.3",
201 "react-loadable": "^5.4.0",
202 "regenerator-runtime": "^0.11.1",
203 "rollup": "^1.0.2",
204 "rollup-plugin-babel": "^4.2.0",
205 "rollup-plugin-commonjs": "^9.2.0",
206 "rollup-plugin-json": "^3.1.0",
207 "rollup-plugin-node-resolve": "^4.0.0",
208 "sass-loader": "^7.0.3",
209 "sass-resources-loader": "^1.3.4",
210 "source-map-support": "^0.5.9",
211 "strip-ansi": "^5.0.0",
212 "style-loader": "^0.23.1",
213 "stylelint": "^9.7.1",
214 "stylelint-config-shopify": "^7.1.0",
215 "svgo": "^1.1.1",
216 "temp": "^0.8.3",
217 "terser-webpack-plugin": "^1.1.0",
218 "tree-kill": "^1.2.1",
219 "ts-jest": "~23.10.4",
220 "ts-loader": "^5.3.0",
221 "url-loader": "~1.1.2",
222 "webpack": "~4.25.1",
223 "webpack-bundle-analyzer": "^3.0.3",
224 "webpack-dev-middleware": "^3.4.0",
225 "webpack-dev-server": "^3.1.10",
226 "webpack-filter-warnings-plugin": "^1.2.0",
227 "webpack-hot-middleware": "^2.24.3",
228 "webpack-node-externals": "^1.7.2",
229 "webpack-plugin-hash-output": "npm:webpack-plugin-hash-output-mini-css@3.1.0-beta.4",
230 "whatwg-url": "^6.1.0",
231 "yargs": "^12.0.2"
232 },
233 "resolutions": {
234 "yargs": "^12.0.2"
235 }
236}