package.json 3.7 KB

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