-
-
Save gre/4a5a60529a770c0ececf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (process.env.NODE_ENV !== "production") | |
document.write('<script src="//localhost:9241"></script>'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"private": true, | |
"name": "??????????????", | |
"version": "1.0.0", | |
"scripts": { | |
"build": "npm run build-js && npm run build-css", | |
"build-js": "export NODE_ENV=production; browserify client/js/index.js | uglifyjs -cm > public/javascripts/bundle.js", | |
"build-css": "stylus -u nib -c client/stylus/themes/ -o public/stylesheets/themes/", | |
"watch": "npm run watch-js & npm run watch-css & npm run live-reload", | |
"watch-js": "watchify --debug client/js/index.js -o public/javascripts/bundle.js", | |
"watch-css": "stylus -u nib --sourcemap-inline -w client/stylus/themes/ -o public/stylesheets/themes/", | |
"live-reload": "live-reload public/ --port=9241 --delay=1500" | |
}, | |
"devDependencies": { | |
"browserify": "^10.2.4", | |
"live-reload": "^1.1.0", | |
"stylus": "^0.51.1", | |
"uglify-js": "^2.4.23", | |
"envify": "^3.4.0", | |
"watchify": "^3.2.2" | |
}, | |
"browserify": { | |
"transform": [ | |
"envify" | |
] | |
}, | |
"dependencies": { | |
"nib": "1.1.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment