|
1 | 1 | {
|
2 | 2 | "name": "webpack-mpa-ts",
|
3 |
| - "version": "3.8.0", |
| 3 | + "version": "3.9.0", |
4 | 4 | "description": "Multi page app setup with webpack",
|
5 | 5 | "scripts": {
|
6 | 6 | "build": "webpack --mode=production",
|
|
11 | 11 | "rm-html": "rm index.html",
|
12 | 12 | "pwa": "create-pwa --icon=\"./assets/images/favicon/icon.png\" --launch=\"./assets/images/favicon/launch.png\"",
|
13 | 13 | "prod": "yarn build && yarn html && yarn critical && yarn rm-html",
|
14 |
| - "lint:ts": "tslint -p tsconfig.json -c tslint.json 'assets/scripts/**/*.ts'", |
| 14 | + "lint:ts": "eslint 'assets/scripts/**/*.ts'", |
15 | 15 | "lint:scss": "stylelint assets/styles/**/*.scss",
|
16 | 16 | "lint": "yarn lint:ts && yarn lint:scss"
|
17 | 17 | },
|
|
39 | 39 | "@types/cssnano": "4.0.1",
|
40 | 40 | "@types/extract-text-webpack-plugin": "3.0.6",
|
41 | 41 | "@types/mini-css-extract-plugin": "2.2.0",
|
42 |
| - "@types/node": "15.12.5", |
| 42 | + "@types/node": "16.4.13", |
43 | 43 | "@types/postcss-flexbugs-fixes": "4.2.1",
|
44 | 44 | "@types/postcss-url": "8.0.2",
|
45 | 45 | "@types/svgo": "2.3.1",
|
46 | 46 | "@types/webpack": "5.28.0",
|
47 | 47 | "@types/webpack-shell-plugin": "0.5.3",
|
48 | 48 | "@types/yargs": "17.0.2",
|
| 49 | + "@typescript-eslint/eslint-plugin": "4.29.1", |
| 50 | + "@typescript-eslint/parser": "4.29.1", |
49 | 51 | "autoprefixer": "10.3.1",
|
50 | 52 | "browser-sync": "2.27.5",
|
51 | 53 | "browser-sync-webpack-plugin": "2.3.0",
|
|
55 | 57 | "critical": "4.0.1",
|
56 | 58 | "css-loader": "6.2.0",
|
57 | 59 | "cssnano": "5.0.7",
|
| 60 | + "eslint": "7.32.0", |
| 61 | + "eslint-config-prettier": "8.3.0", |
58 | 62 | "file-loader": "6.2.0",
|
59 | 63 | "mini-css-extract-plugin": "2.2.0",
|
60 | 64 | "node-sass": "6.0.1",
|
|
76 | 80 | "stylelint-config-recommended": "5.0.0",
|
77 | 81 | "svgo": "2.3.1",
|
78 | 82 | "ts-loader": "9.2.5",
|
79 |
| - "tslint": "6.1.3", |
80 |
| - "tslint-config-prettier": "1.18.0", |
81 | 83 | "typescript": "4.3.5",
|
82 | 84 | "webpack": "5.49.0",
|
83 | 85 | "webpack-cli": "4.7.2",
|
|
0 commit comments