|
92 | 92 | "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test", |
93 | 93 | "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test", |
94 | 94 | "examples:node:jest:test": "cd examples/node-jest && npm install && npm test", |
95 | | - "prepare": "cd $( git rev-parse --show-toplevel ) && husky install", |
| 95 | + "prepare": "husky install", |
96 | 96 | "lint": "npm run eslint:check && npm run prettier:check", |
97 | 97 | "eslint:check": "eslint src/ test/ examples/ *.js", |
98 | 98 | "eslint:fix": "eslint --fix src/ test/ examples/ *.js", |
99 | | - "pretest": "[ -n $CI ] || npm run build", |
| 99 | + "pretest": "npm run build", |
100 | 100 | "test": "BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/", |
101 | 101 | "test:matching": "BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/ -t", |
102 | 102 | "pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**", |
|
110 | 110 | "prettier:fix": "prettier --write .", |
111 | 111 | "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json", |
112 | 112 | "md": "runmd --watch --output=README.md README_js.md", |
113 | | - "docs": "( node --version | grep -q 'v20' ) && ( npm run build && npx runmd --output=README.md README_js.md )", |
| 113 | + "docs": "npm run build && npx runmd --output=README.md README_js.md", |
114 | 114 | "docs:diff": "npm run docs && git diff --quiet README.md", |
115 | 115 | "build": "./scripts/build.sh", |
116 | 116 | "prepack": "npm run build", |
|
0 commit comments