package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. {
  2. "_from": "terser@^5.5.1",
  3. "_id": "terser@5.7.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-HP5/9hp2UaZt5fYkuhNBR8YyRcT8juw8+uFbAme53iN9hblvKnLUTKkmwJG6ocWpIKf8UK4DoeWG4ty0J6S6/g==",
  6. "_location": "/terser",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "terser@^5.5.1",
  12. "name": "terser",
  13. "escapedName": "terser",
  14. "rawSpec": "^5.5.1",
  15. "saveSpec": null,
  16. "fetchSpec": "^5.5.1"
  17. },
  18. "_requiredBy": [
  19. "/terser-webpack-plugin"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/terser/-/terser-5.7.0.tgz",
  22. "_shasum": "a761eeec206bc87b605ab13029876ead938ae693",
  23. "_spec": "terser@^5.5.1",
  24. "_where": "/home/girishm/Projects/op-mattermost-plugin/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/terser/terser/issues"
  35. },
  36. "bundleDependencies": false,
  37. "dependencies": {
  38. "commander": "^2.20.0",
  39. "source-map": "~0.7.2",
  40. "source-map-support": "~0.5.19"
  41. },
  42. "deprecated": false,
  43. "description": "JavaScript parser, mangler/compressor and beautifier toolkit for ES6+",
  44. "devDependencies": {
  45. "@ls-lint/ls-lint": "^1.9.2",
  46. "acorn": "^8.0.5",
  47. "astring": "^1.6.2",
  48. "eslint": "^7.19.0",
  49. "eslump": "^2.0.0",
  50. "esm": "^3.2.25",
  51. "mocha": "^8.2.1",
  52. "pre-commit": "^1.2.2",
  53. "rimraf": "^3.0.2",
  54. "rollup": "2.38.4",
  55. "semver": "^7.3.4"
  56. },
  57. "engines": {
  58. "node": ">=10"
  59. },
  60. "eslintConfig": {
  61. "parserOptions": {
  62. "sourceType": "module",
  63. "ecmaVersion": "2020"
  64. },
  65. "env": {
  66. "node": true,
  67. "browser": true,
  68. "es2020": true
  69. },
  70. "globals": {
  71. "describe": false,
  72. "it": false,
  73. "require": false,
  74. "global": false,
  75. "process": false
  76. },
  77. "rules": {
  78. "brace-style": [
  79. "error",
  80. "1tbs",
  81. {
  82. "allowSingleLine": true
  83. }
  84. ],
  85. "quotes": [
  86. "error",
  87. "double",
  88. "avoid-escape"
  89. ],
  90. "no-debugger": "error",
  91. "no-undef": "error",
  92. "no-unused-vars": [
  93. "error",
  94. {
  95. "varsIgnorePattern": "^_"
  96. }
  97. ],
  98. "no-tabs": "error",
  99. "semi": [
  100. "error",
  101. "always"
  102. ],
  103. "no-extra-semi": "error",
  104. "no-irregular-whitespace": "error",
  105. "space-before-blocks": [
  106. "error",
  107. "always"
  108. ]
  109. }
  110. },
  111. "exports": {
  112. ".": [
  113. {
  114. "import": "./main.js",
  115. "require": "./dist/bundle.min.js"
  116. },
  117. "./dist/bundle.min.js"
  118. ],
  119. "./package": "./package.json",
  120. "./package.json": "./package.json",
  121. "./bin/terser": "./bin/terser"
  122. },
  123. "files": [
  124. "bin",
  125. "dist",
  126. "lib",
  127. "tools",
  128. "LICENSE",
  129. "README.md",
  130. "CHANGELOG.md",
  131. "PATRONS.md",
  132. "main.js"
  133. ],
  134. "homepage": "https://terser.org",
  135. "keywords": [
  136. "uglify",
  137. "terser",
  138. "uglify-es",
  139. "uglify-js",
  140. "minify",
  141. "minifier",
  142. "javascript",
  143. "ecmascript",
  144. "es5",
  145. "es6",
  146. "es7",
  147. "es8",
  148. "es2015",
  149. "es2016",
  150. "es2017",
  151. "async",
  152. "await"
  153. ],
  154. "license": "BSD-2-Clause",
  155. "main": "dist/bundle.min.js",
  156. "maintainers": [
  157. {
  158. "name": "Fábio Santos",
  159. "email": "fabiosantosart@gmail.com"
  160. }
  161. ],
  162. "module": "./main.js",
  163. "name": "terser",
  164. "pre-commit": [
  165. "build",
  166. "lint-fix",
  167. "ls-lint",
  168. "test"
  169. ],
  170. "repository": {
  171. "type": "git",
  172. "url": "git+https://github.com/terser/terser.git"
  173. },
  174. "scripts": {
  175. "build": "rimraf dist/bundle* && rollup --config --silent",
  176. "lint": "eslint lib",
  177. "lint-fix": "eslint --fix lib",
  178. "ls-lint": "ls-lint",
  179. "postversion": "echo 'Remember to update the changelog!'",
  180. "prepare": "npm run build",
  181. "test": "node test/compress.js && mocha test/mocha",
  182. "test:compress": "node test/compress.js",
  183. "test:mocha": "mocha test/mocha"
  184. },
  185. "type": "module",
  186. "types": "tools/terser.d.ts",
  187. "version": "5.7.0"
  188. }