|
20 | 20 | "@types/eslint__js": "^8.42.3", |
21 | 21 | "@types/jest": "^29.5.5", |
22 | 22 | "@typescript-eslint/eslint-plugin": "^8.5.0", |
| 23 | + "cross-env": "^7.0.3", |
23 | 24 | "eslint": "^8.57.1", |
24 | 25 | "eslint-config-airbnb-base": "^15.0.0", |
25 | 26 | "eslint-config-prettier": "^9.0.0", |
|
36 | 37 | "scripts": { |
37 | 38 | "build": "tsc -p tsconfig.prod.json", |
38 | 39 | "start": "npm run test", |
39 | | - "lint": "npx --yes eslint --env-info; npx --yes eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'", |
40 | | - "jest:ci": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug", |
41 | | - "jest:clean": "npx --yes jest --clearCache && npx --yes watchman watch-del-all", |
42 | | - "jest:bruteforce": "BRUTEFORCE=true node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug", |
43 | | - "jest:watch": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll", |
44 | | - "style:format": "npx --yes prettier --write 'src/**/*.ts'", |
45 | | - "style:check": "npx --yes prettier --check 'src/**/*.ts'", |
| 40 | + "lint": "npx eslint --env-info; npx eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'", |
| 41 | + "jest:ci": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug", |
| 42 | + "jest:clean": "npx jest --clearCache && npx watchman watch-del-all", |
| 43 | + "jest:bruteforce": "cross-env BRUTEFORCE=true NODE_OPTIONS=--experimental-vm-modules npx jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug", |
| 44 | + "jest:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll", |
| 45 | + "style:format": "npx prettier --write 'src/**/*.ts'", |
| 46 | + "style:check": "npx prettier --check 'src/**/*.ts'", |
46 | 47 | "test": "jest", |
47 | 48 | "update-all": "npm install $(npm outdated | cut -d' ' -f 1 | sed '1d' | xargs -I '$' echo '$@latest' | xargs echo)" |
48 | 49 | } |
|
0 commit comments