-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
32 lines (32 loc) · 1.13 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
{
"name": "oodavid.com",
"version": "1.0.0",
"description": "Hugo generator for oodavid.com on netlify.com",
"author": "David King",
"license": "ISC",
"main": "static/assets/js/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/oodavid/oodavid.com-hugo.git"
},
"scripts": {
"hugo:build": "hugo",
"hugo:watch": "hugo server --buildDrafts",
"sass": "node-sass themes/oodavid/static-src/sass/ --output themes/oodavid/static/css/ --source-map true --error-bell",
"postcss": "postcss themes/oodavid/static/css/*.css --use autoprefixer -d themes/oodavid/static/css/",
"sass:build": "npm run sass && npm run postcss",
"sass:watch": "npm run sass && npm run sass -- --watch themes/oodavid/static-src/sass/",
"open": "opener http://localhost:1313",
"build": "npm-run-all -s sass:build hugo:build",
"server": "npm-run-all -p sass:watch hugo:watch open",
"serve": "npm run server"
},
"devDependencies": {
"autoprefixer": "^7.1.1",
"npm-run-all": "^4.0.2",
"postcss-cli": "^4.0.0",
"node-sass": "^4.5.3",
"opener": "^1.4.3",
"pygments": "^0.2.1"
}
}