Skip to content

Commit a05f90b

Browse files
committed
Use the bin name of the libs instead of the relative path
1 parent f53d359 commit a05f90b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
"homepage": "http://github.com/dragonnodejs/angularjs-skeleton",
66
"license": "MIT",
77
"readmeFilename": "README.md",
8+
"main": "app.js",
89
"scripts": {
9-
"postinstall": "npm run bower && npm run css && npm run js",
10-
"bower": "./node_modules/bower/bin/bower install",
11-
"css": "./node_modules/minifier/index.js ./web/css/app.css",
12-
"js": "./node_modules/browserify/bin/cmd.js ./js/app.js -o ./web/js/app.js && ./node_modules/minifier/index.js ./web/js/app.js",
13-
"js-watch": "./node_modules/watchify/bin/cmd.js ./js/app.js -o ./web/js/app.js",
14-
"start": "node cluster.js",
15-
"start-watch": "./node_modules/nodemon/bin/nodemon.js --watch app.js --watch modules app.js",
16-
"test": "mocha -R spec"
10+
"postinstall": "npm run bower && npm run css && npm run js",
11+
"bower": "bower install",
12+
"css": "minify ./web/css/app.css",
13+
"js": "browserify ./js/app.js -o ./web/js/app.js && minify ./web/js/app.js",
14+
"js-watch": "watchify ./js/app.js -o ./web/js/app.js",
15+
"start": "node cluster.js",
16+
"start-watch": "nodemon --watch modules app.js",
17+
"test": "mocha -R spec"
1718
},
1819
"dependencies": {
1920
"dragonnodejs": "^4.0.4",

0 commit comments

Comments
 (0)