UNPKG

5.69 kBJSONView Raw
1{
2 "name": "@shopify/sewing-kit",
3 "version": "0.81.0",
4 "main": "index.js",
5 "types": "./dist/src/index.d.js",
6 "license": "MIT",
7 "engines": {
8 "node": ">=v8.12.0"
9 },
10 "publishConfig": {
11 "access": "public",
12 "@shopify:registry": "https://registry.npmjs.org"
13 },
14 "bin": {
15 "sk": "./bin/sewing-kit",
16 "skd": "./bin/sewing-kit-debug",
17 "ski": "./bin/sewing-kit-inspect",
18 "sewing-kit": "./bin/sewing-kit",
19 "sewing-kit-debug": "./bin/sewing-kit-debug",
20 "sewing-kit-enterprise": "./bin/sewing-kit-enterprise",
21 "sewing-kit-inspect": "./bin/sewing-kit-inspect"
22 },
23 "scripts": {
24 "clean": "rimraf dist",
25 "pretest:e2e": "yarn run build",
26 "pretest:e2e:debug": "yarn run build",
27 "test:e2e": "jest --roots 'tests/e2e' --",
28 "test:e2e:debug": "node --inspect-brk node_modules/.bin/jest --roots 'tests/e2e' --debug --",
29 "prebuild": "yarn run clean",
30 "build": "tsc",
31 "prepublishOnly": "yarn run build"
32 },
33 "files": [
34 "dist",
35 "bin",
36 "jest",
37 "typescript",
38 "!*.test.js",
39 "!dist/tests"
40 ],
41 "eslintConfig": {
42 "extends": [
43 "plugin:shopify/typescript",
44 "plugin:shopify/node",
45 "plugin:shopify/jest",
46 "plugin:shopify/prettier"
47 ],
48 "overrides": [
49 {
50 "files": [
51 "*.ts",
52 "*.tsx"
53 ],
54 "rules": {
55 "@typescript-eslint/no-var-requires": "off"
56 }
57 }
58 ],
59 "rules": {
60 "import/named": "off",
61 "node/no-deprecated-api": "off",
62 "jest/todo": "off",
63 "jest/require-tothrow-message": "off",
64 "jest/prefer-todo": "off",
65 "import/no-cycle": "off",
66 "callback-return": "off",
67 "no-undefined": "off",
68 "require-await": "off",
69 "shopify/jest/no-vague-titles": "off",
70 "shopify/jest/no-if": "off",
71 "jest/consistent-test-it": [
72 "error",
73 {
74 "fn": "it"
75 }
76 ]
77 }
78 },
79 "devDependencies": {
80 "jsdom": "^13.0.0",
81 "rollup-pluginutils": "^2.0.1",
82 "webpack-cli": "^3.1.0"
83 },
84 "dependencies": {
85 "@babel/core": "^7.4.3",
86 "@shopify/async": "^1.2.1",
87 "@shopify/browserslist-config": "^1.0.0",
88 "@shopify/fail-on-unexpected-module-shaking-plugin": "^1.0.2",
89 "@shopify/images": "^1.1.4",
90 "@shopify/polyfills": "^0.0.10",
91 "@shopify/webpack-asset-metadata-plugin": "^1.0.2",
92 "@shopify/webpack-ignore-typescript-export-warnings-plugin": "^1.0.0",
93 "@shopify/webpack-no-react-jsx-loader": "^1.0.1",
94 "@shopify/webpack-no-typescript-ts-loader": "^1.0.1",
95 "@shopify/webpack-react-loadable-plugin": "^1.0.1",
96 "@shopify/webpack-section-focus-loader": "^1.0.0",
97 "@svgr/webpack": "^4.2.0",
98 "@types/graphql": "^14.0.0",
99 "@types/jest": "^23.3.1",
100 "app-root-dir": "^1.0.2",
101 "awesome-typescript-loader": "3.1.3",
102 "babel-core": "7.0.0-bridge.0",
103 "babel-jest": "~23.6.0",
104 "babel-loader": "^8.0.4",
105 "babel-plugin-dynamic-import-node": "^2.2.0",
106 "babel-plugin-lodash": "^3.3.4",
107 "babel-preset-shopify": "^18.1.0",
108 "cache-loader": "^1.2.5",
109 "case-sensitive-paths-webpack-plugin": "^2.1.2",
110 "chalk": "^2.3.2",
111 "compression-webpack-plugin": "~2.0.0",
112 "core-js": "^2.5.0",
113 "css-loader": "^1.0.1",
114 "element-dataset": "^2.2.6",
115 "eslint": "^5.15.0",
116 "eslint-plugin-shopify": "^27.0.1",
117 "express": "^4.16.3",
118 "file-loader": "^2.0.0",
119 "fs-extra": "^7.0.1",
120 "get-port": "~4.0.0",
121 "glob": "^7.1.2",
122 "graphql": "^14.0.0",
123 "graphql-config": "^2.0.0",
124 "graphql-tag": "^2.0.0",
125 "graphql-tool-utilities": "^0.10.0",
126 "graphql-typed": "^0.4.0",
127 "graphql-typescript-definitions": "^0.16.1",
128 "graphql-validate-fixtures": "^0.11.0",
129 "happypack": "^5.0.0",
130 "hard-source-webpack-plugin": "^0.13.1",
131 "hot-shots": "^5.9.1",
132 "identity-obj-proxy": "^3.0.0",
133 "image-webpack-loader": "~4.5.0",
134 "is-reachable": "^2.4.0",
135 "isomorphic-fetch": "^2.2.1",
136 "jest": "^23.0.0",
137 "jest-transform-graphql": "^2.1.0",
138 "jest-watch-typeahead": "^0.2.0",
139 "js-yaml": "^3.12.0",
140 "loader-utils": "^1.1.0",
141 "lodash": "^4.17.5",
142 "lodash-webpack-plugin": "^0.11.5",
143 "mini-css-extract-plugin": "^0.4.4",
144 "node-object-hash": "^1.4.1",
145 "node-sass": "^4.10.0",
146 "open-in-editor": "^2.2.0",
147 "optimize-css-assets-webpack-plugin": "^5.0.1",
148 "postcss-loader": "^3.0.0",
149 "postcss-shopify": "^2.2.1",
150 "prettier": "^1.14.3",
151 "react-dev-utils": "~6.1.1",
152 "react-hot-loader": "^4.6.3",
153 "react-loadable": "^5.4.0",
154 "regenerator-runtime": "^0.11.1",
155 "rollup": "^1.0.2",
156 "rollup-plugin-babel": "^4.2.0",
157 "rollup-plugin-commonjs": "^9.2.0",
158 "rollup-plugin-json": "^3.1.0",
159 "rollup-plugin-node-resolve": "^4.0.0",
160 "sass-loader": "^7.0.3",
161 "sass-resources-loader": "^1.3.4",
162 "source-map-support": "^0.5.9",
163 "strip-ansi": "^5.0.0",
164 "style-loader": "^0.23.1",
165 "stylelint": "^9.9.0",
166 "stylelint-config-shopify": "^7.2.0",
167 "svgo": "^1.1.1",
168 "temp": "^0.8.3",
169 "terser-webpack-plugin": "^1.1.0",
170 "tree-kill": "^1.2.1",
171 "ts-jest": "~23.10.4",
172 "ts-loader": "^5.3.0",
173 "url-loader": "~1.1.2",
174 "webpack": "~4.25.1",
175 "webpack-bundle-analyzer": "^3.0.3",
176 "webpack-dev-middleware": "^3.4.0",
177 "webpack-dev-server": "^3.1.10",
178 "webpack-filter-warnings-plugin": "^1.2.0",
179 "webpack-hot-middleware": "^2.24.3",
180 "webpack-node-externals": "^1.7.2",
181 "webpack-plugin-hash-output": "npm:webpack-plugin-hash-output-mini-css@3.1.0-beta.4",
182 "whatwg-url": "^6.1.0",
183 "yargs": "^12.0.2"
184 },
185 "resolutions": {
186 "yargs": "^12.0.2"
187 }
188}