forked from wwebdev/static-website-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.7 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
{
"name": "static-website-template",
"version": "1.0.1",
"description": "template for static website",
"author": "Vincent Will <vincent.will@vaitrade.de>",
"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 --syntax 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.8.4",
"autoprefixer": "^9.7.4",
"babel-loader": "^8.0.6",
"browser-sync": "^2.26.7",
"eslint": "^6.8.0",
"eslint-loader": "^3.0.3",
"htmlnano": "^0.2.5",
"imagemin-cli": "^5.1.0",
"node-sass": "^4.13.1",
"npm-run-all": "^4.1.5",
"onchange": "^6.1.0",
"postcss-cli": "^7.1.0",
"posthtml": "^0.12.0",
"posthtml-cli": "^0.5.2",
"posthtml-modules": "^0.4.2",
"stylelint": "^13.0.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
}
}