Skip to content

Commit

Permalink
Adjust ts export in the build step
Browse files Browse the repository at this point in the history
  • Loading branch information
glitch452 authored and chiefmikey committed Nov 8, 2024
1 parent da01df5 commit bfd5b7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "5.0.1",
"description": "Disable autofix for ESLint rules without turning them off",
"scripts": {
"build": "tsc -p tsconfig.build.json && sed -i '' -e 's/exports\\.default/module.exports/g' ./dist/index.js",
"gh-build": "tsc -p tsconfig.build.json && sed -i -e 's/exports\\.default/module.exports/g' ./dist/index.js",
"build": "tsc -p tsconfig.build.json && sed -i '' -e 's/exports\\.default/module.exports/g' ./dist/index.js && sed -i '' -e 's/export default/export =/g' ./dist/index.d.ts",
"gh-build": "tsc -p tsconfig.build.json && sed -i -e 's/exports\\.default/module.exports/g' ./dist/index.js && sed -i -e 's/export default/export =/g' ./dist/index.d.ts",
"gh-test": "npm run gh-build && jest tests/v9",
"gh-test-v8": "npm run gh-build && jest tests/v8",
"major": "npm version major; cd dist && npm version major",
Expand Down

0 comments on commit bfd5b7b

Please sign in to comment.