|
12 | 12 | "author": "soofka",
|
13 | 13 | "license": "UNLICENSED",
|
14 | 14 | "scripts": {
|
15 |
| - "build": "webpack --config ./config/webpack.prod.config.js --color -p", |
16 |
| - "start": "node scripts/server.js", |
17 |
| - "test": "jest" |
| 15 | + "build": "webpack --config ./config/webpack.prod.config.js --color --optimize-minimize", |
| 16 | + "build:dev": "webpack --config ./config/webpack.dev.config.js --color", |
| 17 | + "lint": "npm run lint:ts && npm run lint:css", |
| 18 | + "lint:ts": "tslint ./app/**/*.ts* --config ./config/tslintconfig.json", |
| 19 | + "lint:css": "stylelint ./app/**/*.*css --config ./config/stylelint.config.js", |
| 20 | + "start": "node ./scripts/server.js", |
| 21 | + "test": "jest --config ./config/jestconfig.json" |
18 | 22 | },
|
19 | 23 | "dependencies": {
|
20 | 24 | "immutable": "^3.8.1",
|
|
33 | 37 | "whatwg-fetch": "^2.0.2"
|
34 | 38 | },
|
35 | 39 | "devDependencies": {
|
| 40 | + "@types/core-js": "^0.9.35", |
36 | 41 | "@types/immutable": "^3.8.7",
|
37 | 42 | "@types/jest": "^18.1.1",
|
38 | 43 | "@types/node": "^7.0.5",
|
|
44 | 49 | "@types/redux": "^3.6.0",
|
45 | 50 | "@types/redux-immutable": "^3.0.33",
|
46 | 51 | "@types/whatwg-fetch": "0.0.33",
|
| 52 | + "awesome-typescript-loader": "^3.0.7", |
47 | 53 | "babel-core": "^6.22.1",
|
48 | 54 | "babel-jest": "^18.0.0",
|
49 | 55 | "babel-loader": "^6.2.10",
|
|
63 | 69 | "react-hot-loader": "^3.0.0-beta.6",
|
64 | 70 | "react-test-renderer": "^15.4.2",
|
65 | 71 | "sass-loader": "^6.0.2",
|
| 72 | + "stylelint": "^7.9.0", |
| 73 | + "stylelint-config-standard": "^16.0.0", |
66 | 74 | "ts-jest": "^18.0.3",
|
67 |
| - "ts-loader": "^2.0.0", |
| 75 | + "tslint": "^4.4.2", |
| 76 | + "tslint-eslint-rules": "^3.4.0", |
| 77 | + "tslint-react": "^2.4.0", |
68 | 78 | "webpack": "^2.2.1",
|
69 | 79 | "webpack-dev-server": "^2.3.0"
|
70 |
| - }, |
71 |
| - "jest": { |
72 |
| - "transform": { |
73 |
| - ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" |
74 |
| - }, |
75 |
| - "testRegex": "tests/.*\\.test\\.(ts|tsx|js)$", |
76 |
| - "moduleFileExtensions": [ |
77 |
| - "ts", |
78 |
| - "tsx", |
79 |
| - "js" |
80 |
| - ] |
81 | 80 | }
|
82 | 81 | }
|
0 commit comments