Skip to content

Commit

Permalink
Add prepublish script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtoth committed Mar 6, 2024
1 parent 2923eed commit b6e4938
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"postbuild:debug": "npm run postbuild",
"postbuild:linux": "npm run postbuild && cd npm/linux-x64-gnu && npm run postbuild",
"postbuild:mac": "npm run postbuild && cd npm/darwin-arm64 && npm run postbuild && cd ../darwin-x64 && npm run postbuild && rm *-e",
"postbuild": "sed -i'' -e 's/<Type>//g' index.js && sed -i'' -e '/^export type*/d' index.d.ts"
"postbuild": "sed -i'' -e 's/<Type>//g' index.js && sed -i'' -e '/^export type*/d' index.d.ts",
"prepublishOnly": "napi prepublish -t npm"
},
"packageManager": "yarn@4.1.0"
}

0 comments on commit b6e4938

Please sign in to comment.