Skip to content

Commit

Permalink
🎨 Add a prepare script
Browse files Browse the repository at this point in the history
- makes the package installable from a git branch
(npm and equivalents run prepare on install in this case)
  • Loading branch information
elbywan committed Nov 26, 2022
1 parent 8f81b5e commit 17b0a76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -83,6 +83,7 @@
"test:deno": "concurrently --success first -k 'npm run mock:wait && deno test --allow-net ./test/deno/wretch_test.ts' 'npm run mock'",
"changelog": "conventional-changelog -p wretch -i CHANGELOG.md -s -r 0",
"doc": "typedoc --out docs/api --readme none --excludeInternal src/index.ts 'src/addons/*.ts' 'src/middlewares/*.ts'",
"prepare": "npm run build",
"prepare:release": "npm run start && npm run doc && npm run changelog"
},
"author": "Julien Elbaz",
Expand Down

0 comments on commit 17b0a76

Please sign in to comment.