UNPKG

1.87 kBJSONView Raw
1{
2 "name": "@shopify/sewing-kit",
3 "version": "0.0.5",
4 "description": "A utility to automatically generate Webpack configs for Shopify projects",
5 "types": "index.d.ts",
6 "license": "MIT",
7 "scripts": {
8 "prebuild": "yarn run build:clean",
9 "build:clean": "rm -frv build jest typescript utilities postcss.js webpack.js",
10 "build": "tsc",
11 "check": "yarn run lint && yarn run test",
12 "predist": "yarn run build",
13 "dist:js": "cp -R build/src/** .",
14 "dist:types": "cp -R src/typescript .",
15 "dist": "yarn run dist:js && yarn run dist:types",
16 "lint:js": "eslint . --max-warnings 0",
17 "lint:ts": "tslint -c ./config/tslint/full.json './{src,config}/**/*.{ts,tsx}' --project tsconfig.json --type-check",
18 "lint": "yarn run lint:js && yarn run lint:ts",
19 "postpublish": "yarn run build:clean",
20 "prepublish": "yarn run dist",
21 "test:watch": "jest --watch",
22 "test": "jest"
23 },
24 "jest": {
25 "testPathDirs": [
26 "<rootDir>/tests"
27 ],
28 "testRegex": "[\\w+]\\.test\\.(ts|js)$",
29 "moduleFileExtensions": [
30 "ts",
31 "js"
32 ],
33 "transform": {
34 "\\.ts$": "<rootDir>/build/src/jest/transformers/typescript.js"
35 }
36 },
37 "eslintConfig": {
38 "extends": [
39 "plugin:shopify/esnext",
40 "plugin:shopify/node"
41 ]
42 },
43 "dependencies": {
44 "@types/fs-extra": "^0.0.37",
45 "@types/jest": "^16.0.4",
46 "@types/lodash": "^4.14.50",
47 "app-root-dir": "^1.0.2",
48 "babel-core": "^6.21.0",
49 "babel-loader": "^6.2.10",
50 "babel-preset-shopify": "^15.0.1",
51 "fs-extra": "^1.0.0",
52 "identity-obj-proxy": "^3.0.0",
53 "lodash": "^4.17.4",
54 "ts-loader": "^1.3.3",
55 "tslint": "^4.4.2",
56 "tslint-config-shopify": "^1.0.2"
57 },
58 "devDependencies": {
59 "eslint": "^3.13.1",
60 "eslint-plugin-shopify": "^15.1.0",
61 "jest": "^18.1.0",
62 "typescript": "^2.1.5"
63 }
64}