Skip to content

Commit ec4502f

Browse files
committed
Postbuild
1 parent 72823b7 commit ec4502f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"build:es5": "tsc --target es2015 --outDir dist --module commonjs",
1919
"build": "npm run build:esm && npm run build:es5",
2020
"preversion": "npm run lint && npm test run && npm run build",
21+
"postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json",
2122
"postversion": "git push --follow-tags",
2223
"test": "vitest"
2324
},

0 commit comments

Comments
 (0)