You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

63 lines
2.2 KiB

  1. {
  2. "name": "extension-boilerplate",
  3. "version": "0.0.2",
  4. "description": "A template for creating cross-browser extensions",
  5. "scripts": {
  6. "chrome-build": "cross-env TARGET=chrome gulp",
  7. "opera-build": "cross-env TARGET=opera gulp",
  8. "firefox-build": "cross-env TARGET=firefox gulp",
  9. "build": "cross-env NODE_ENV=production npm run chrome-build && cross-env NODE_ENV=production npm run opera-build && cross-env NODE_ENV=production npm run firefox-build",
  10. "chrome-watch": "cross-env TARGET=chrome gulp watch",
  11. "opera-watch": "cross-env TARGET=opera gulp watch",
  12. "firefox-watch": "cross-env TARGET=firefox gulp watch",
  13. "chrome-dist": "cross-env NODE_ENV=production cross-env TARGET=chrome gulp dist",
  14. "opera-dist": "cross-env NODE_ENV=production cross-env TARGET=opera gulp dist",
  15. "firefox-dist": "cross-env NODE_ENV=production cross-env TARGET=firefox gulp dist",
  16. "dist": "npm run chrome-dist && npm run opera-dist && npm run firefox-dist",
  17. "sourcezip": "gulp sourcezip"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/EmailThis/extension-boilerplate"
  22. },
  23. "author": "Bharani <bharani91@gmail.com> (https://github.com/bharani91)",
  24. "bugs": {
  25. "url": "https://github.com/EmailThis/extension-boilerplate/issues"
  26. },
  27. "homepage": "https://www.emailthis.me/extension-boilerplate",
  28. "devDependencies": {
  29. "babel-core": "^6.1.2",
  30. "babel-preset-es2015": "^6.1.2",
  31. "babelify": "^7.3.0",
  32. "browserify": "^14.1.0",
  33. "cross-env": "^3.2.4",
  34. "event-stream": "^3.3.4",
  35. "gulp": "^3.9.0",
  36. "gulp-babel": "^6.1.0",
  37. "gulp-clean": "^0.3.1",
  38. "gulp-eslint": "^2.0.0",
  39. "gulp-if": "^2.0.2",
  40. "gulp-livereload": "^3.8.1",
  41. "gulp-load-plugins": "^0.5.3",
  42. "gulp-merge-json": "^1.0.0",
  43. "gulp-plumber": "^1.1.0",
  44. "gulp-rename": "^1.2.2",
  45. "gulp-run-sequence": "*",
  46. "gulp-sass": "^2.2.0",
  47. "gulp-sourcemaps": "^1.6.0",
  48. "gulp-uglify": "^1.5.4",
  49. "gulp-zip": "^2.0.3",
  50. "husky": "^2.2.0",
  51. "preprocessify": "^1.0.1",
  52. "prettier": "^1.17.0",
  53. "pretty-quick": "^1.10.0",
  54. "vinyl-buffer": "^1.0.0",
  55. "vinyl-source-stream": "^1.1.0"
  56. },
  57. "husky": {
  58. "hooks": {
  59. "pre-commit": "pretty-quick --staged"
  60. }
  61. }
  62. }