Created
June 9, 2014 21:57
-
-
Save suderman/e621c6fe8e27c2e20cf6 to your computer and use it in GitHub Desktop.
npm start
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
{ | |
"name": "ead", | |
"version": "1.0.0", | |
"dependencies": { | |
"uglifyjs": "~2.3.6", | |
"less": "~1.7.0" | |
}, | |
"scripts": { | |
"server": "cd public_html && php -S localhost:8000 index.php", | |
"compile-less": "node_modules/less/bin/lessc --include-path=./vendor/components:./vendor/nterchange --source-map-less-inline app/assets/stylesheets/all.less public_html/assets/stylesheets/all.css", | |
"reload-chrome": "osascript -e 'tell application \"Google Chrome Canary\" to reload active tab of window 1'", | |
"compile-less-and-reload-chrome": "npm run compile-less & npm run reload-chrome", | |
"watch-less": "fswatch -0 app/assets/stylesheets | xargs -0 -n1 -I{} npm run compile-less-and-reload-chrome", | |
"start": "npm run watch-less & npm run server" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment