package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. {
  2. "name": "javascript-obfuscator",
  3. "version": "4.0.0",
  4. "description": "JavaScript obfuscator",
  5. "keywords": [
  6. "obfuscator",
  7. "obfuscation",
  8. "uglify",
  9. "crush",
  10. "code protection",
  11. "javascript obfuscator",
  12. "js obfuscator"
  13. ],
  14. "engines": {
  15. "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
  16. },
  17. "main": "dist/index.js",
  18. "browser": "dist/index.browser.js",
  19. "bin": {
  20. "javascript-obfuscator": "./bin/javascript-obfuscator"
  21. },
  22. "types": "typings/index.d.ts",
  23. "dependencies": {
  24. "@javascript-obfuscator/escodegen": "2.3.0",
  25. "@javascript-obfuscator/estraverse": "5.4.0",
  26. "acorn": "8.7.0",
  27. "assert": "2.0.0",
  28. "chalk": "4.1.2",
  29. "chance": "1.1.8",
  30. "class-validator": "0.13.2",
  31. "commander": "9.0.0",
  32. "eslint-scope": "7.1.0",
  33. "eslint-visitor-keys": "3.2.0",
  34. "fast-deep-equal": "3.1.3",
  35. "inversify": "6.0.1",
  36. "js-string-escape": "1.0.1",
  37. "md5": "2.3.0",
  38. "mkdirp": "1.0.4",
  39. "multimatch": "5.0.0",
  40. "opencollective-postinstall": "2.0.3",
  41. "process": "0.11.10",
  42. "reflect-metadata": "0.1.13",
  43. "source-map-support": "0.5.21",
  44. "string-template": "1.0.0",
  45. "stringz": "2.1.0",
  46. "tslib": "2.3.1"
  47. },
  48. "devDependencies": {
  49. "@istanbuljs/nyc-config-typescript": "1.0.2",
  50. "@types/chai": "4.3.0",
  51. "@types/chance": "1.1.3",
  52. "@types/escodegen": "0.0.7",
  53. "@types/eslint-scope": "3.7.3",
  54. "@types/eslint-visitor-keys": "1.0.0",
  55. "@types/estraverse": "5.1.1",
  56. "@types/estree": "0.0.51",
  57. "@types/js-beautify": "1.13.3",
  58. "@types/js-string-escape": "1.0.1",
  59. "@types/md5": "2.3.1",
  60. "@types/mkdirp": "1.0.2",
  61. "@types/mocha": "9.1.0",
  62. "@types/multimatch": "4.0.0",
  63. "@types/node": "17.0.15",
  64. "@types/rimraf": "3.0.2",
  65. "@types/sinon": "10.0.10",
  66. "@types/string-template": "1.0.2",
  67. "@types/webpack-env": "1.16.3",
  68. "@typescript-eslint/eslint-plugin": "5.10.2",
  69. "@typescript-eslint/parser": "5.10.2",
  70. "chai": "4.3.6",
  71. "chai-exclude": "2.1.0",
  72. "cross-env": "7.0.3",
  73. "eslint": "8.8.0",
  74. "eslint-plugin-import": "2.25.4",
  75. "eslint-plugin-jsdoc": "37.7.1",
  76. "eslint-plugin-no-null": "1.0.2",
  77. "eslint-plugin-prefer-arrow": "1.2.3",
  78. "eslint-plugin-unicorn": "40.1.0",
  79. "eslint-webpack-plugin": "3.1.1",
  80. "fork-ts-checker-notifier-webpack-plugin": "4.0.0",
  81. "fork-ts-checker-webpack-plugin": "7.0.0",
  82. "husky": "7.0.4",
  83. "js-beautify": "1.14.0",
  84. "mocha": "9.2.0",
  85. "nyc": "15.1.0",
  86. "pjson": "1.0.9",
  87. "rimraf": "3.0.2",
  88. "sinon": "13.0.1",
  89. "source-map-resolve": "0.6.0",
  90. "terser": "5.10.0",
  91. "threads": "1.7.0",
  92. "ts-loader": "9.2.6",
  93. "ts-node": "10.4.0",
  94. "typescript": "4.5.5",
  95. "webpack": "5.68.0",
  96. "webpack-cli": "4.9.2",
  97. "webpack-node-externals": "3.0.0"
  98. },
  99. "repository": {
  100. "type": "git",
  101. "url": "git+https://github.com/javascript-obfuscator/javascript-obfuscator.git"
  102. },
  103. "homepage": "https://obfuscator.io/",
  104. "scripts": {
  105. "start": "yarn run watch",
  106. "webpack:prod": "webpack --config ./webpack/webpack.node.config.js --config ./webpack/webpack.browser.config.js --mode production",
  107. "build": "yarn run webpack:prod && yarn run eslint && yarn test",
  108. "build:typings": "rm -rf ./typings && tsc --project src/tsconfig.typings.json",
  109. "watch": "webpack --config ./webpack/webpack.node.config.js --mode development --watch",
  110. "test:dev": "ts-node --type-check test/dev/dev.ts",
  111. "test:devCompilePerformance": "ts-node test/dev/dev-compile-performance.ts",
  112. "test:devRuntimePerformance": "ts-node test/dev/dev-runtime-performance.ts",
  113. "test:full": "yarn run test:dev && yarn run test:mocha-coverage && yarn run test:mocha-memory-performance",
  114. "test:mocha": "mocha --require ts-node/register --require source-map-support/register test/index.spec.ts --exit",
  115. "test:mocha-coverage": "NODE_OPTIONS=--max-old-space-size=4096 nyc --reporter text-summary --no-clean yarn run test:mocha",
  116. "test:mocha-coverage:report": "nyc report --reporter=lcov",
  117. "test:mocha-memory-performance": "cross-env NODE_OPTIONS=--max-old-space-size=240 mocha --require ts-node/register test/performance-tests/JavaScriptObfuscatorMemory.spec.ts",
  118. "test": "yarn run test:full",
  119. "eslint": "eslint src/**/*.ts",
  120. "git:addFiles": "git add .",
  121. "postinstall": "opencollective-postinstall",
  122. "precommit": "npm run build",
  123. "prepublishOnly": "npm run build && npm run build:typings",
  124. "prepare": "husky install"
  125. },
  126. "author": {
  127. "name": "Timofey Kachalov"
  128. },
  129. "contributors": [
  130. "Timofey Kachalov (https://github.com/sanex3339)",
  131. "Dmitry Zamotkin (https://github.com/zamotkin)"
  132. ],
  133. "license": "BSD-2-Clause",
  134. "funding": {
  135. "type": "opencollective",
  136. "url": "https://opencollective.com/javascript-obfuscator"
  137. },
  138. "collective": {
  139. "url": "https://opencollective.com/javascript-obfuscator"
  140. }
  141. }