-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
36 lines (36 loc) · 1.67 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
{
"name": "hologram-github-theme-example",
"version": "0.0.0",
"description": "Example project that uses the Hologram Github Theme for the styleguide",
"scripts": {
"clean": "rimraf dist styleguide",
"copy:html": "copyfiles -u 1 'src/**/*.html' dist",
"copy:js": "copyfiles -u 1 'src/**/*.js' dist",
"copy:css": "copyfiles -u 1 'src/**/*.css' dist",
"copy:images": "copyfiles -u 1 'src/**/*.{png,jpg,svg}' dist",
"copy": "npm run copy:html && npm run copy:js && npm run copy:css && npm run copy:images",
"watch:copy": "watch 'npm run copy' src",
"css:sass": "node-sass --output-style compressed src/css/main.scss dist/css/main.css",
"css": "npm run css:sass",
"watch:css": "watch -d -u --wait=0 'npm run css' src/css",
"styleguide": "hologram -c hologram_config.yml",
"watch:styleguide": "watch 'npm run css && npm run copy && npm run styleguide' src",
"build": "npm run clean && npm run copy && npm run css && npm run styleguide",
"browser-sync": "browser-sync start --server dist --files 'dist/**/*'",
"browser-sync:styleguide": "browser-sync start --server styleguide --files 'styleguide/**/*'",
"watch": "parallelshell 'npm run watch:copy' 'npm run watch:css'",
"serve": "parallelshell 'npm run browser-sync' 'npm run watch'",
"serve:styleguide": "parallelshell 'npm run browser-sync:styleguide' 'npm run watch:styleguide'"
},
"author": "Mathis Hofer <[email protected]>",
"license": "MIT",
"devDependencies": {
"browser-sync": "^2.10.0",
"copyfiles": "^0.2.1",
"hologram-github-theme": "^0.1.4",
"node-sass": "^3.4.2",
"parallelshell": "^2.0.0",
"rimraf": "^2.4.4",
"watch": "^0.16.0"
}
}