-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·82 lines (81 loc) · 2.83 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "npm-build-html5-boilerplate",
"version": "0.0.0",
"description": "A barebones HTML5 boilerplate for UNIX environments",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/betsydupuis/npm-build-html5-boilerplate.git"
},
"keywords": [
"npm",
"npm",
"run",
"boilerplate",
"html5",
"build",
"system"
],
"author": "Betsy Dupuis",
"license": "MIT",
"bugs": {
"url": "https://github.com/betsydupuis/npm-build-html5-boilerplate/issues"
},
"homepage": "https://github.com/betsydupuis/npm-build-html5-boilerplate#readme",
"config": {
"server": {
"port": 8080,
"directory": "dist"
},
"assets": {
}
},
"scripts": {
"mkdir:dist": "mkdir -p dist/assets/{css,templates,fonts,images}",
"clean:dist": "rm -rf dist && npm run mkdir:dist",
"test": "echo \"Error: no test specified\" && exit 1",
"html:project-name": "cpx \"src/project-name/**/*.html\" dist --watch",
"images:project-name": "cp -rf ./src/project-name/images/ ./dist/assets/images",
"images": "npm-run-all images:project-name",
"html": "npm-run-all html:project-name",
"cname": "echo 'www.betsydupuis.com' >> dist/CNAME",
"font:font-awesome": "cpx ./node_modules/font-awesome/fonts/*.* dist/assets/fonts",
"font": "npm-run-all font:font-awesome",
"scss:project-name": "node-sass --source-map=true ./src/project-name/index.scss ./dist/assets/css/index.css",
"postscss:project-name": "node-sass --watch --source-map=true ./src/project-name/index.scss ./dist/assets/css/index.css",
"scss": "npm-run-all scss:project-name",
"postscss": "run-p postscss:project-name",
"css": "npm-run-all scss",
"beautify:css": "js-beautify --css --replace ./dist/css/index.css",
"postcss": "postcss --use autoprefixer --replace ./dist/assets/css/*.css",
"build:project-name": "run-p clean:dist images font css html ",
"build:deploy": "npm-run-all build:project-name",
"server": "http-server -p $npm_package_config_server_port $npm_package_config_server_directory",
"app:dev": "run-p build:project-name server",
"start": "npm run --silent app:dev",
"predeploy": "npm install --force",
"deploy": "git subtree push --prefix dist origin gh-pages"
},
"devDependencies": {
"autoprefixer": "^6.7.7",
"bootstrap-sass": "^3.3.7",
"chalk-cli": "^4.0.0",
"cpx": "^1.5.0",
"cpy-cli": "^1.0.1",
"cssnano": "^3.10.0",
"font-awesome": "^4.7.0",
"glob": "^7.1.2",
"http-server": "^0.10.0",
"js-beautify": "^1.6.14",
"mkdirp": "^0.5.1",
"node-sass": "^4.5.3",
"normalize.css": "^3.0.3",
"npm-run-all": "^4.0.2",
"postcss": "^6.0.5",
"postcss-cli": "^4.1.0",
"postcss-discard-comments": "^2.0.4",
"postcss-import": "^10.0.0",
"rimraf": "^2.6.1",
"watch": "^1.0.2"
}
}