-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
32 lines (32 loc) · 1.16 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": "thenetwork",
"version": "1.0.0",
"description": "thenetwork",
"dependencies": {},
"devDependencies": {
"clean-css": "^3.4.19",
"http-server": "^0.9.0",
"jshint": "^2.9.3",
"mocha": "^3.0.2",
"node-sass": "^3.10.0",
"nodemon": "^1.10.2",
"uglify-js": "^2.7.3",
"watch": "^0.19.2"
},
"scripts": {
"info": "echo 'npm as a build tool'",
"lint": "echo '=> linting' && jshint test/*.js",
"test": "echo '=> testing' && mocha test/*.js",
"minify:js": "echo '=> minify:js' && uglifyjs src/js/test.js -o dist/public/js/main.min.js",
"minify:css": "echo '=> minify:css' && cleancss src/css/main.min.css -o dist/public/css/main.min.css",
"html": "cp src/index.html dist/public/",
"assets": "cp -R src/images/ dist/public/images/",
"build": "echo '=> building' && npm run minify:js -s && npm run minify:css -s && npm run html && npm run assets",
"build:sass": "node-sass src/sass/style.scss src/css/main.min.css",
"watch:sass": "npm run build:sass -- -w",
"pretest": "npm run lint -s",
"start": "http-server ./src/ & npm run watch:sass"
},
"author": "Experiment",
"license": "Open"
}