-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.63 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 1.63 KB
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": "fedordead",
"description": "Website for FED || Dead",
"version": "1.0.0",
"local-web-server": {
"directory": "dist",
"port": 4000
},
"gh-pages-deploy": {
"staticpath": "dist",
"cname": "fedordead.com",
"prep": [
"build:all"
],
"noprompt": false
},
"scripts": {
"clean": "rm -r dist/*",
"svg-min": "svgo -f src/_assets/img -o dist/img --disable cleanupIDs",
"compile-html": "mustache src/data/posts.json src/index.mustache > dist/index.html",
"compile-scss": "node-sass --output-style compressed -o dist/css src/_assets/scss/style.scss",
"autoprefixer": "postcss -u autoprefixer -r dist/css/*",
"copy-fonts": "cp -r src/_assets/fonts dist/fonts",
"watch:css": "onchange 'src/_assets/scss/**.scss' -- npm run build:css",
"watch:html": "onchange 'src/**.mustache' -- npm run compile-html",
"watch:all": "parallelshell 'npm run watch:css' 'npm run watch:html'",
"build:css": "npm run compile-scss && npm run autoprefixer",
"build:all": "npm run build:css && npm run compile-html && npm run svg-min && npm run copy-fonts",
"start": "npm run build:all && parallelshell 'ws' 'npm run watch:all'",
"deploy": "npm run build:all && gh-pages-deploy"
},
"repository": {
"type": "git",
"url": "git@github.com:fedordead/fedordead.com.git"
},
"devDependencies": {
"autoprefixer": "^6.3.6",
"gh-pages-deploy": "^0.4.2",
"local-web-server": "^1.2.1",
"mustache": "^2.2.1",
"node-sass": "^3.4.2",
"onchange": "^2.2.0",
"parallelshell": "^2.0.0",
"postcss-cli": "^2.5.1",
"shell-csslib": "^1.0.0",
"svgo": "^0.6.3"
}
}