-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
33 lines (33 loc) · 1.16 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
{
"name": "static-site-template",
"version": "1.0.0",
"description": "A static site template using metalsmith.",
"main": "index.js",
"scripts": {
"build:css": "node-sass --include-path scss src/main.scss dist/styles.css",
"build:metalsmith": "bash -c \"node build.js\"",
"copy:assets": "shx mkdir -p dist/ && cp -r src/assets/* dist/",
"clean": "rm -rf dist",
"server": "http-server dist",
"build:all": "npm run clean && (npm run build:metalsmith && npm run build:css && npm run copy:assets)",
"watch": "nodemon --ignore dist/ -e scss,html,md,js,jsx -x \"npm run build:all\"",
"dev": "bash -c \"(npm run server & npm run watch)\"",
"start": "bash -c \"(npm run build:all && npm run server)\""
},
"author": "Julius Rajala",
"license": "MIT",
"devDependencies": {
"handlebars": "^4.7.6",
"handlebars-helpers": "^0.10.0",
"http-server": "^0.12.0",
"metalsmith": "^2.3.0",
"metalsmith-filter": "^1.0.2",
"metalsmith-layouts": "^1.6.5",
"metalsmith-markdown": "^1.3.0",
"metalsmith-templates": "^0.7.0",
"node-sass": "^4.13.1",
"nodemon": "^2.0.2",
"shx": "^0.3.2"
},
"dependencies": {}
}