UNPKG

javascript-obfuscator

Version:
141 lines (140 loc) 5.14 kB
{ "name": "javascript-obfuscator", "version": "5.1.0", "description": "JavaScript obfuscator", "keywords": [ "obfuscator", "obfuscation", "uglify", "crush", "code protection", "javascript obfuscator", "js obfuscator" ], "engines": { "node": ">=18.0.0" }, "main": "dist/index.js", "browser": "dist/index.browser.js", "bin": { "javascript-obfuscator": "./bin/javascript-obfuscator" }, "types": "typings/index.d.ts", "dependencies": { "@javascript-obfuscator/escodegen": "2.3.1", "@javascript-obfuscator/estraverse": "5.4.0", "acorn": "8.15.0", "assert": "2.1.0", "chalk": "4.1.2", "chance": "1.1.13", "class-validator": "0.14.3", "commander": "12.1.0", "conf": "15.0.2", "eslint-scope": "8.4.0", "eslint-visitor-keys": "4.2.1", "fast-deep-equal": "3.1.3", "inversify": "6.1.4", "js-string-escape": "1.0.1", "md5": "2.3.0", "mkdirp": "3.0.1", "multimatch": "5.0.0", "process": "0.11.10", "reflect-metadata": "0.2.2", "source-map-support": "0.5.21", "string-template": "1.0.0", "stringz": "2.1.0", "tslib": "2.8.1" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "1.0.2", "@types/chai": "4.3.20", "@types/chance": "1.1.7", "@types/escodegen": "0.0.10", "@types/eslint-scope": "3.7.7", "@types/eslint-visitor-keys": "1.0.0", "@types/estraverse": "5.1.7", "@types/estree": "0.0.51", "@types/js-beautify": "1.14.3", "@types/js-string-escape": "1.0.3", "@types/md5": "2.3.6", "@types/mkdirp": "1.0.2", "@types/mocha": "10.0.10", "@types/multimatch": "4.0.0", "@types/node": "22.10.2", "@types/rimraf": "3.0.2", "@types/sinon": "17.0.4", "@types/string-template": "1.0.7", "@types/webpack-env": "1.18.8", "@typescript-eslint/eslint-plugin": "7.18.0", "@typescript-eslint/parser": "7.18.0", "chai": "4.5.0", "chai-exclude": "3.0.1", "cross-env": "10.1.0", "eslint": "8.57.1", "eslint-config-prettier": "10.1.8", "eslint-plugin-import": "2.32.0", "eslint-plugin-jsdoc": "50.6.3", "eslint-plugin-no-null": "1.0.2", "eslint-plugin-prefer-arrow": "1.2.3", "eslint-plugin-prettier": "5.5.4", "eslint-plugin-unicorn": "56.0.1", "eslint-webpack-plugin": "4.2.0", "fork-ts-checker-notifier-webpack-plugin": "9.0.0", "fork-ts-checker-webpack-plugin": "9.1.0", "husky": "9.1.7", "js-beautify": "1.15.4", "mocha": "11.7.4", "nyc": "17.1.0", "pjson": "1.0.9", "prettier": "3.6.2", "rimraf": "6.0.1", "sinon": "19.0.2", "source-map-resolve": "0.6.0", "terser": "5.44.0", "threads": "1.7.0", "ts-loader": "9.5.4", "ts-node": "10.9.2", "typescript": "5.9.3", "webpack": "5.102.1", "webpack-cli": "6.0.1", "webpack-node-externals": "3.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/javascript-obfuscator/javascript-obfuscator.git" }, "homepage": "https://obfuscator.io/", "scripts": { "start": "yarn run watch", "webpack:prod": "webpack --config ./webpack/webpack.node.config.js --config ./webpack/webpack.browser.config.js --mode production", "build": "yarn run webpack:prod && yarn run eslint", "build:typings": "rm -rf ./typings && tsc --project src/tsconfig.typings.json", "watch": "webpack --config ./webpack/webpack.node.config.js --mode development --watch", "test:dev": "ts-node --type-check test/dev/dev.ts", "test:devCompilePerformance": "ts-node test/dev/dev-compile-performance.ts", "test:devRuntimePerformance": "ts-node test/dev/dev-runtime-performance.ts", "test:full": "yarn run test:dev && yarn run test:mocha-coverage && yarn run test:mocha-memory-performance", "test:mocha": "mocha --require ts-node/register --require source-map-support/register test/index.spec.ts --exit", "test:mocha-coverage": "cross-env NODE_OPTIONS=--max-old-space-size=4096 nyc --reporter text-summary --no-clean yarn run test:mocha", "test:mocha-coverage:report": "nyc report --reporter=lcov", "test:mocha-memory-performance": "cross-env NODE_OPTIONS=--max-old-space-size=280 mocha --require ts-node/register test/performance-tests/JavaScriptObfuscatorMemory.spec.ts", "test": "yarn run test:full", "eslint": "eslint src/**/*.ts", "prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "prettier:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"", "format": "yarn run prettier && yarn run eslint --fix", "git:addFiles": "git add .", "precommit": "yarn run eslint", "prepublishOnly": "yarn run build && yarn run build:typings", "prepare": "husky install" }, "author": { "name": "Timofey Kachalov" }, "contributors": [ "Timofey Kachalov (https://github.com/sanex3339)", "Dmitry Zamotkin (https://github.com/zamotkin)" ], "license": "BSD-2-Clause", "packageManager": "yarn@1.22.21+sha512.ca75da26c00327d26267ce33536e5790f18ebd53266796fbb664d2a4a5116308042dd8ee7003b276a20eace7d3c5561c3577bdd71bcb67071187af124779620a" }