Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "scripts": {
- "watch-html": "chokidar index.jade -c 'pug index.pug -P -o public'",
- "watch-js": "watchify index.coffee -vd --extension=coffee -t coffeeify -t jadeify -o public/index.js",
- "watch-css": "stylus index.styl -w --sourcemap-inline --include-css -o public/index.css",
- "watch": "npm run watch-html & npm run watch-css & npm run watch-js",
- "build-html": "pug index.pug -o public",
- "build-js": "browserify index.coffee -v --extension=coffee -t coffeeify -t pugify -o public/index.js",
- "build-css": "stylus index.styl -c --include-css -o public/index.css",
- "build": "npm run build-js && npm run build-css && npm run build-html",
- "serve": "nodemon server.coffee --ignore public/",
- "dev": "npm run watch & npm run serve",
- "prod": "npm run build && npm run serve",
- "cordova-browser": "npm run watch & cd cordova; cordova run browser & chokidar 'www/**/*.*' -c 'cordova prepare browser'",
- "ios": "npm run watch & cd cordova; cordova run ios & chokidar 'www/**/*.*' -c 'cordova prepare ios'",
- "android": "npm run watch & cd cordova; cordova run android & chokidar 'www/**/*.*' -c 'cordova prepare android'",
- "test": "mocha test -wG --recursive --compilers coffee:coffee-script/register",
- "upload-dry": "aws s3 sync --dryrun --delete --exclude \"*.DS_Store*\" public/ s3://bucketname",
- "upload": "aws s3 sync --delete --exclude \"*.DS_Store*\" public/ s3://bucketname",
- "deploy": "npm run build && npm run upload"
- },
- "devDependencies": {
- "browserify": "^12.0.1",
- "chai": "^3.5.0",
- "chokidar-cli": "^1.2.0",
- "coffeeify": "^2.0.1",
- "ios-deploy": "^1.9.1",
- "pug-cli": "^1.0.0-alpha6",
- "pug": "^2.0.0-rc.2",
- "pugify": "^2.0.1",
- "mocha": "^3.2.0",
- "nodemon": "^1.11.0",
- "stylus": "^0.53.0",
- "watchify": "^3.6.1"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement