Skip to content

Commit e0558b7

Browse files
Merge pull request #59 from firefoxic/fix/deps
Fix deps
2 parents 83baa06 + 8417412 commit e0558b7

File tree

2 files changed

+61
-87
lines changed

2 files changed

+61
-87
lines changed

package-lock.json

Lines changed: 34 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22
"name": "htmlacademy-gulp-template",
33
"version": "1.0.0",
44
"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+
},
530
"devDependencies": {
631
"@htmlacademy/editorconfig-cli": "2.0.8",
732
"@linthtml/linthtml": "0.9.5",
@@ -12,7 +37,7 @@
1237
"eslint-config-htmlacademy": "10.0.1",
1338
"gulp": "4.0.2",
1439
"gulp-esbuild": "0.12.0",
15-
"gulp-html-bemlinter": "2.1.4",
40+
"gulp-html-bemlinter": "3.0.0",
1641
"gulp-htmlmin": "5.0.1",
1742
"gulp-nunjucks": "6.0.0",
1843
"gulp-plumber": "1.2.1",
@@ -30,29 +55,5 @@
3055
"stylelint": "15.11.0",
3156
"stylelint-config-htmlacademy": "2.0.6",
3257
"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+
}
5859
}

0 commit comments

Comments
 (0)