Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. {
  2. "scripts": {
  3. "watch-html": "chokidar index.jade -c 'pug index.pug -P -o public'",
  4. "watch-js": "watchify index.coffee -vd --extension=coffee -t coffeeify -t jadeify -o public/index.js",
  5. "watch-css": "stylus index.styl -w --sourcemap-inline --include-css -o public/index.css",
  6. "watch": "npm run watch-html & npm run watch-css & npm run watch-js",
  7. "build-html": "pug index.pug -o public",
  8. "build-js": "browserify index.coffee -v --extension=coffee -t coffeeify -t pugify -o public/index.js",
  9. "build-css": "stylus index.styl -c --include-css -o public/index.css",
  10. "build": "npm run build-js && npm run build-css && npm run build-html",
  11. "serve": "nodemon server.coffee --ignore public/",
  12. "dev": "npm run watch & npm run serve",
  13. "prod": "npm run build && npm run serve",
  14. "cordova-browser": "npm run watch & cd cordova; cordova run browser & chokidar 'www/**/*.*' -c 'cordova prepare browser'",
  15. "ios": "npm run watch & cd cordova; cordova run ios & chokidar 'www/**/*.*' -c 'cordova prepare ios'",
  16. "android": "npm run watch & cd cordova; cordova run android & chokidar 'www/**/*.*' -c 'cordova prepare android'",
  17. "test": "mocha test -wG --recursive --compilers coffee:coffee-script/register",
  18. "upload-dry": "aws s3 sync --dryrun --delete --exclude \"*.DS_Store*\" public/ s3://bucketname",
  19. "upload": "aws s3 sync --delete --exclude \"*.DS_Store*\" public/ s3://bucketname",
  20. "deploy": "npm run build && npm run upload"
  21. },
  22. "devDependencies": {
  23. "browserify": "^12.0.1",
  24. "chai": "^3.5.0",
  25. "chokidar-cli": "^1.2.0",
  26. "coffeeify": "^2.0.1",
  27. "ios-deploy": "^1.9.1",
  28. "pug-cli": "^1.0.0-alpha6",
  29. "pug": "^2.0.0-rc.2",
  30. "pugify": "^2.0.1",
  31. "mocha": "^3.2.0",
  32. "nodemon": "^1.11.0",
  33. "stylus": "^0.53.0",
  34. "watchify": "^3.6.1"
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement