package.json 3.7 KB

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