-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpackage.json
49 lines (49 loc) · 1.77 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "static-website-template",
"version": "1.0.2",
"description": "A template for building static website",
"author": "Vincent Will <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Vincenius/static-website-template"
},
"scripts": {
"clean": "rimraf dist/*",
"css:autoprefixer": "postcss -u autoprefixer -r dist/*.css",
"css:scss": "node-sass --output-style compressed -o dist src/scss",
"css:lint": "stylelint src/scss/*.scss --custom-syntax postcss-scss",
"build:css": "npm run css:lint && npm run css:scss && npm run css:autoprefixer",
"build:js": "webpack --mode=production",
"build:html": "posthtml -c posthtml.json",
"build:images": "imagemin src/images/**/* --out-dir=dist/images",
"build": "run-s build:*",
"serve": "browser-sync start --server \"dist\" --files \"dist\"",
"watch:css": "onchange \"src/scss\" -- npm run build:css",
"watch:html": "onchange \"src/views\" -- npm run build:html",
"watch:images": "onchange \"src/images\" -- npm run build:images",
"watch:js": "onchange \"src/js\" -- webpack --mode=development",
"watch": "run-p serve watch:*"
},
"devDependencies": {
"@babel/preset-env": "^7.16.11",
"autoprefixer": "^10.4.4",
"babel-loader": "^8.2.3",
"browser-sync": "^2.27.9",
"eslint": "^8.11.0",
"eslint-webpack-plugin": "^3.1.1",
"htmlnano": "^2.0.0",
"imagemin-cli": "^7.0.0",
"node-sass": "^7.0.1",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss-cli": "^9.1.0",
"postcss-scss": "^4.0.3",
"posthtml": "^0.16.6",
"posthtml-cli": "^0.10.0",
"posthtml-modules": "^0.8.0",
"stylelint": "^14.6.0",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
}
}