forked from UVU-DigitalMedia/npmRunScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 1.6 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 1.6 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
{
"name": "npmrunscripts",
"version": "1.0.0",
"description": "This is an assignment for npm run scripts as a task runner",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"html": "html-minifier --collapse-whitespace ./src/index.html -o ./dist/index.html",
"css": "stylus --include ./node_modules --include-css --compress ./src/css/main.styl -o ./dist/css/style.css",
"js": "browserify ./src/js/main.js | uglifyjs > ./dist/js/bundle.js",
"fonts": "fontify",
"build": "npm run html & npm run css & npm run js & npm run fonts",
"watch-html": "nodemon --ext html --watch ./src/ --exec 'npm run html'",
"watch-css": "nodemon --ext styl --watch ./src/css --exec 'npm run css'",
"watch-js": "nodemon --ext js --watch ./src/js --exec 'npm run js'",
"watch": "npm run watch-html & npm run watch-css & npm run watch-js",
"server": "npm run watch & live-server --port=3000 ./dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/landonconover/npmRunScripts.git"
},
"author": "Landon Conover <landon.conover@gmail.com> (https://github.com/landonconover)",
"license": "ISC",
"bugs": {
"url": "https://github.com/landonconover/npmRunScripts/issues"
},
"homepage": "https://github.com/landonconover/npmRunScripts#readme",
"devDependencies": {
"browserify": "^13.0.0",
"fontify": "0.0.2",
"html-minifier": "^1.1.1",
"live-server": "^0.9.1",
"stylus": "^0.53.0",
"uglify-js": "^2.6.1"
},
"dependencies": {
"bootstrap": "^3.3.6",
"holderjs": "^2.9.1",
"jquery": "^2.2.0"
}
}