Skip to content

Commit

Permalink
Add step to replace main entry in distributed package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencrader committed Apr 16, 2023
1 parent cdc3340 commit c45eea4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"build:clean": "shx rm -rf dist",
"build:tsc": "tsc",
"build:cp": "shx cp package.json dist && shx cp README.md dist && shx cp LICENSE.md dist",
"build:replace": "shx sed -i 's/\"main\": \"index.ts\"/\"main\": \"index.js\"/g' dist/package.json > /dev/null",
"lint": "run-p -cln 'lint:*'",
"lint:eslint": "eslint src/ test/",
"lint:prettier": "prettier --check .",
Expand Down

0 comments on commit c45eea4

Please sign in to comment.