您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

package.json 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. {
  2. "_from": "terser@^4.1.2",
  3. "_id": "terser@4.3.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-pnzH6dnFEsR2aa2SJaKb1uSCl3QmIsJ8dEkj0Fky+2AwMMcC9doMqLOQIH6wVTEKaVfKVvLSk5qxPBEZT9mywg==",
  6. "_location": "/terser",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "terser@^4.1.2",
  12. "name": "terser",
  13. "escapedName": "terser",
  14. "rawSpec": "^4.1.2",
  15. "saveSpec": null,
  16. "fetchSpec": "^4.1.2"
  17. },
  18. "_requiredBy": [
  19. "/terser-webpack-plugin"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/terser/-/terser-4.3.1.tgz",
  22. "_shasum": "09820bcb3398299c4b48d9a86aefc65127d0ed65",
  23. "_spec": "terser@^4.1.2",
  24. "_where": "/home/daniel/development/repos/fw-vendor/rpclib/node_modules/terser-webpack-plugin",
  25. "author": {
  26. "name": "Mihai Bazon",
  27. "email": "mihai.bazon@gmail.com",
  28. "url": "http://lisperator.net/"
  29. },
  30. "bin": {
  31. "terser": "bin/terser"
  32. },
  33. "bugs": {
  34. "url": "https://github.com/fabiosantoscode/terser/issues"
  35. },
  36. "bundleDependencies": false,
  37. "dependencies": {
  38. "commander": "^2.20.0",
  39. "source-map": "~0.6.1",
  40. "source-map-support": "~0.5.12"
  41. },
  42. "deprecated": false,
  43. "description": "JavaScript parser, mangler/compressor and beautifier toolkit for ES6+",
  44. "devDependencies": {
  45. "acorn": "^7.0.0",
  46. "astring": "^1.4.1",
  47. "eslint": "^6.3.0",
  48. "eslump": "^2.0.0",
  49. "mocha": "^5.2.0",
  50. "mochallel": "^2.0.0",
  51. "pre-commit": "^1.2.2",
  52. "rimraf": "^3.0.0",
  53. "rollup": "^1.20.3",
  54. "rollup-plugin-terser": "^5.1.1",
  55. "semver": "^6.3.0"
  56. },
  57. "engines": {
  58. "node": ">=6.0.0"
  59. },
  60. "eslintConfig": {
  61. "parserOptions": {
  62. "sourceType": "module"
  63. },
  64. "env": {
  65. "es6": true
  66. },
  67. "globals": {
  68. "describe": false,
  69. "it": false,
  70. "require": false,
  71. "global": false,
  72. "process": false
  73. },
  74. "rules": {
  75. "brace-style": [
  76. "error",
  77. "1tbs",
  78. {
  79. "allowSingleLine": true
  80. }
  81. ],
  82. "quotes": [
  83. "error",
  84. "double",
  85. "avoid-escape"
  86. ],
  87. "no-debugger": "error",
  88. "no-undef": "error",
  89. "no-tabs": "error",
  90. "semi": [
  91. "error",
  92. "always"
  93. ],
  94. "no-extra-semi": "error",
  95. "no-irregular-whitespace": "error",
  96. "space-before-blocks": [
  97. "error",
  98. "always"
  99. ]
  100. }
  101. },
  102. "files": [
  103. "bin",
  104. "dist",
  105. "tools",
  106. "LICENSE",
  107. "README.md",
  108. "CHANGELOG.md",
  109. "PATRONS.md"
  110. ],
  111. "homepage": "https://github.com/terser/terser",
  112. "keywords": [
  113. "uglify",
  114. "terser",
  115. "uglify-es",
  116. "uglify-js",
  117. "minify",
  118. "minifier",
  119. "javascript",
  120. "ecmascript",
  121. "es5",
  122. "es6",
  123. "es7",
  124. "es8",
  125. "es2015",
  126. "es2016",
  127. "es2017",
  128. "async",
  129. "await"
  130. ],
  131. "license": "BSD-2-Clause",
  132. "main": "dist/bundle.min.js",
  133. "maintainers": [
  134. {
  135. "name": "Fábio Santos",
  136. "email": "fabiosantosart@gmail.com"
  137. }
  138. ],
  139. "name": "terser",
  140. "pre-commit": [
  141. "lint-fix",
  142. "test:precommit"
  143. ],
  144. "repository": {
  145. "type": "git",
  146. "url": "git+https://github.com/fabiosantoscode/terser.git"
  147. },
  148. "scripts": {
  149. "build": "rimraf dist/* && rollup --config --silent",
  150. "lint": "eslint lib",
  151. "lint-fix": "eslint --fix lib",
  152. "postversion": "echo 'Remember to update the changelog!'",
  153. "prepare": "npm run build",
  154. "test": "npm run build -- --configTest && node test/run-tests.js",
  155. "test:compress": "npm run build -- --configTest && node test/compress.js",
  156. "test:mocha": "npm run build -- --configTest && node test/mocha.js",
  157. "test:precommit": "npm run build && node test/run-tests.js"
  158. },
  159. "types": "tools/terser.d.ts",
  160. "version": "4.3.1"
  161. }