|
2 | 2 | "name": "htmlacademy-gulp-template",
|
3 | 3 | "version": "1.0.0",
|
4 | 4 | "private": true,
|
| 5 | + "type": "module", |
| 6 | + "engines": { |
| 7 | + "node": "^18.18 || ^20.9" |
| 8 | + }, |
| 9 | + "browserslist": [ |
| 10 | + "last 2 versions", |
| 11 | + "not dead", |
| 12 | + "not op_mini all", |
| 13 | + "not and_uc > 0", |
| 14 | + "not < 0.2%" |
| 15 | + ], |
| 16 | + "scripts": { |
| 17 | + "lint:spaces": "editorconfig-cli", |
| 18 | + "lint:styles": "stylelint \"source/styles/**/*.scss\"", |
| 19 | + "lint:markup": "cd build && html-validator --quiet", |
| 20 | + "lint:html": "linthtml build/**/*.html --config .linthtmlrc", |
| 21 | + "lint:bem": "gulp lintBem --silent", |
| 22 | + "lint:scripts": "eslint . --ignore-path .gitignore", |
| 23 | + "prelint": "gulp processMarkup --silent", |
| 24 | + "lint": "npm-run-all -p lint:**", |
| 25 | + "optimizeImages": "gulp optimizeImages", |
| 26 | + "start": "gulp runDev", |
| 27 | + "build": "gulp buildProd", |
| 28 | + "preview": "gulp buildProd && gulp startServer" |
| 29 | + }, |
5 | 30 | "devDependencies": {
|
6 | 31 | "@htmlacademy/editorconfig-cli": "2.0.8",
|
7 | 32 | "@linthtml/linthtml": "0.9.5",
|
|
12 | 37 | "eslint-config-htmlacademy": "10.0.1",
|
13 | 38 | "gulp": "4.0.2",
|
14 | 39 | "gulp-esbuild": "0.12.0",
|
15 |
| - "gulp-html-bemlinter": "2.1.4", |
| 40 | + "gulp-html-bemlinter": "3.0.0", |
16 | 41 | "gulp-htmlmin": "5.0.1",
|
17 | 42 | "gulp-nunjucks": "6.0.0",
|
18 | 43 | "gulp-plumber": "1.2.1",
|
|
30 | 55 | "stylelint": "15.11.0",
|
31 | 56 | "stylelint-config-htmlacademy": "2.0.6",
|
32 | 57 | "w3c-html-validator": "1.6.1"
|
33 |
| - }, |
34 |
| - "scripts": { |
35 |
| - "lint:spaces": "editorconfig-cli", |
36 |
| - "lint:styles": "stylelint \"source/styles/**/*.scss\"", |
37 |
| - "lint:markup": "cd build && html-validator --quiet --continue", |
38 |
| - "lint:html": "linthtml build/**/*.html --config .linthtmlrc", |
39 |
| - "lint:bem": "gulp lintBem --silent", |
40 |
| - "lint:scripts": "eslint . --ignore-path .gitignore", |
41 |
| - "prelint": "gulp processMarkup --silent", |
42 |
| - "lint": "npm-run-all -p lint:**", |
43 |
| - "optimizeImages": "gulp optimizeImages", |
44 |
| - "start": "gulp runDev", |
45 |
| - "build": "gulp buildProd", |
46 |
| - "preview": "gulp buildProd && gulp startServer" |
47 |
| - }, |
48 |
| - "browserslist": [ |
49 |
| - "last 2 versions", |
50 |
| - "not dead", |
51 |
| - "not op_mini all", |
52 |
| - "not < 0.25%" |
53 |
| - ], |
54 |
| - "engines": { |
55 |
| - "node": "^18.18 || ^20.9" |
56 |
| - }, |
57 |
| - "type": "module" |
| 58 | + } |
58 | 59 | }
|
0 commit comments