-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 949 Bytes
/
package.json
File metadata and controls
31 lines (31 loc) · 949 Bytes
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
{
"name": "simple-static-site-generator",
"version": "0.0.1",
"devDependencies": {
"html-import-partials": "^1.0.1",
"htmlhint": "^0.10.1",
"local-web-server": "^4.2.0",
"ncp": "^2.0.0",
"watch": "^0.17.1"
},
"scripts": {
"compile": "html-import-partials src/**/*.html -o dist/",
"clean": "rm -rf dist",
"createdir": "mkdir dist dist/images",
"postclean": "npm run createdir && npm run copy",
"copy": "ncp src/images dist/images",
"html-lint": "htmlhint dist/",
"info": "echo 'npm as a build tool'",
"build": "npm run clean && npm run compile && npm run html-lint && echo '=> full build done'",
"serve": "ws --directory ./dist --static.extensions html",
"start": "npm run serve > /dev/null & npm run watch",
"watch": "watch 'npm run compile' src/"
},
"dependencies": {},
"browserslist": [
"defaults",
"last 3 version",
"not IE <= 9",
"Edge >= 15"
]
}