package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "uglifyjs-webpack-plugin",
  3. "version": "1.2.4",
  4. "description": "UglifyJS plugin for webpack",
  5. "author": "webpack Contrib Team",
  6. "license": "MIT",
  7. "engines": {
  8. "node": ">= 4.8 < 5.0.0 || >= 5.10"
  9. },
  10. "main": "dist/cjs.js",
  11. "files": [
  12. "dist"
  13. ],
  14. "scripts": {
  15. "start": "npm run build -- -w",
  16. "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
  17. "test": "jest",
  18. "test:watch": "jest --watch",
  19. "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
  20. "prebuild": "npm run clean",
  21. "clean": "del-cli dist",
  22. "lint": "eslint --cache src test",
  23. "lint-staged": "lint-staged",
  24. "prepare": "npm run build",
  25. "release": "standard-version",
  26. "security": "nsp check",
  27. "travis:lint": "npm run lint && npm run security",
  28. "travis:test": "npm run test -- --runInBand",
  29. "travis:coverage": "npm run test:coverage -- --runInBand",
  30. "appveyor:test": "npm run test",
  31. "webpack-defaults": "webpack-defaults"
  32. },
  33. "dependencies": {
  34. "cacache": "^10.0.4",
  35. "find-cache-dir": "^1.0.0",
  36. "serialize-javascript": "^1.4.0",
  37. "schema-utils": "^0.4.5",
  38. "source-map": "^0.6.1",
  39. "uglify-es": "^3.3.4",
  40. "webpack-sources": "^1.1.0",
  41. "worker-farm": "^1.5.2"
  42. },
  43. "devDependencies": {
  44. "babel-cli": "^6.26.0",
  45. "babel-jest": "^21.2.0",
  46. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  47. "babel-polyfill": "^6.26.0",
  48. "babel-preset-env": "^1.6.1",
  49. "cross-env": "^5.1.3",
  50. "del-cli": "^1.1.0",
  51. "eslint": "^4.14.0",
  52. "eslint-config-webpack": "^1.2.5",
  53. "eslint-plugin-import": "^2.8.0",
  54. "jest": "^21.2.1",
  55. "lint-staged": "^6.0.0",
  56. "memory-fs": "^0.4.1",
  57. "nsp": "^3.1.0",
  58. "pre-commit": "^1.2.2",
  59. "standard-version": "^4.3.0",
  60. "webpack": "^3.10.0",
  61. "webpack-defaults": "^1.6.0"
  62. },
  63. "peerDependencies": {
  64. "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0"
  65. },
  66. "keywords": [
  67. "uglify",
  68. "uglify-js",
  69. "uglify-es",
  70. "webpack",
  71. "webpack-plugin"
  72. ],
  73. "bugs": "https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues",
  74. "homepage": "https://github.com/webpack-contrib/uglifyjs-webpack-plugin",
  75. "repository": "https://github.com/webpack-contrib/uglifyjs-webpack-plugin.git",
  76. "pre-commit": "lint-staged",
  77. "lint-staged": {
  78. "*.js": [
  79. "eslint --fix",
  80. "git add"
  81. ]
  82. }
  83. }