mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Add prettier (#1339)
This commit is contained in:
@@ -71,10 +71,12 @@
|
||||
"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",
|
||||
@@ -84,6 +86,7 @@
|
||||
"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",
|
||||
@@ -117,6 +120,9 @@
|
||||
"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 .",
|
||||
"postinstall": "opencollective-postinstall",
|
||||
"precommit": "npm run build",
|
||||
|
||||
Reference in New Issue
Block a user