1 | {
|
2 | "name": "@shopify/sewing-kit",
|
3 | "version": "0.2.0",
|
4 | "description": "A utility to automatically generate Webpack configs for Shopify projects",
|
5 | "types": "index.d.ts",
|
6 | "license": "MIT",
|
7 | "bin": {
|
8 | "sewing-kit": "./bin/sewing-kit"
|
9 | },
|
10 | "scripts": {
|
11 | "prebuild": "yarn run build:clean",
|
12 | "build:clean": "rm -frv build jest typescript utilities webpack cli.js webpack.js",
|
13 | "build": "tsc",
|
14 | "check": "yarn run lint && yarn run test",
|
15 | "predist": "yarn run build",
|
16 | "dist:js": "cp -R build/src/** .",
|
17 | "dist:types": "cp -R src/typescript .",
|
18 | "dist": "yarn run dist:js && yarn run dist:types",
|
19 | "lint:js": "eslint . --max-warnings 0",
|
20 | "lint:ts": "tslint -c ./config/tslint/full.json './{src,config}/**/*.{ts,tsx}' --project tsconfig.json --type-check",
|
21 | "lint": "yarn run lint:js && yarn run lint:ts",
|
22 | "postpublish": "yarn run build:clean",
|
23 | "prepublish": "yarn run dist",
|
24 | "pretest": "yarn run build",
|
25 | "test:watch": "jest --watch",
|
26 | "test": "jest"
|
27 | },
|
28 | "jest": {
|
29 | "testPathDirs": [
|
30 | "<rootDir>/tests"
|
31 | ],
|
32 | "testRegex": "[\\w+]\\.test\\.(ts|js)$",
|
33 | "moduleFileExtensions": [
|
34 | "ts",
|
35 | "js"
|
36 | ],
|
37 | "transform": {
|
38 | "\\.ts$": "<rootDir>/build/src/jest/transformers/typescript.js"
|
39 | }
|
40 | },
|
41 | "eslintConfig": {
|
42 | "extends": [
|
43 | "plugin:shopify/esnext",
|
44 | "plugin:shopify/node"
|
45 | ]
|
46 | },
|
47 | "dependencies": {
|
48 | "app-root-dir": "^1.0.2",
|
49 | "assets-webpack-plugin": "^3.5.1",
|
50 | "awesome-typescript-loader": "^3.0.8",
|
51 | "babel-core": "^6.21.0",
|
52 | "babel-loader": "^6.2.10",
|
53 | "babel-preset-shopify": "^15.0.1",
|
54 | "chalk": "^1.1.3",
|
55 | "commander": "^2.9.0",
|
56 | "express": "^4.14.1",
|
57 | "extract-text-webpack-plugin": "^1.0.1",
|
58 | "fs-extra": "^1.0.0",
|
59 | "identity-obj-proxy": "^3.0.0",
|
60 | "lodash": "^4.17.4",
|
61 | "react-dev-utils": "^0.5.0",
|
62 | "tslint": "4.3.x",
|
63 | "tslint-config-shopify": "^1.1.2",
|
64 | "webpack": "^2.2.1",
|
65 | "webpack-dev-middleware": "^1.10.0",
|
66 | "webpack-hot-middleware": "^2.16.1",
|
67 | "webpack-md5-hash": "^0.0.5"
|
68 | },
|
69 | "devDependencies": {
|
70 | "@types/chalk": "^0.4.31",
|
71 | "@types/commander": "^2.3.31",
|
72 | "@types/express": "^4.0.35",
|
73 | "@types/fs-extra": "^0.0.37",
|
74 | "@types/jest": "^16.0.4",
|
75 | "@types/lodash": "^4.14.52",
|
76 | "@types/webpack": "^2.2.5",
|
77 | "@types/webpack-dev-middleware": "^1.9.1",
|
78 | "@types/webpack-hot-middleware": "^2.15.0",
|
79 | "eslint": "^3.13.1",
|
80 | "eslint-plugin-shopify": "^15.1.0",
|
81 | "jest": "^18.1.0",
|
82 | "typescript": "^2.1.5"
|
83 | }
|
84 | }
|