Skip to content

Commit

Permalink
build(scripts): run yarn build from prepare, not just prepack
Browse files Browse the repository at this point in the history
This enables installing via yarn directly from github, without a
packaged release.
  • Loading branch information
Christian Ohler authored and skovy committed Jul 5, 2020
1 parent d6dd410 commit 1626f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"tsm": "ts-node ./lib/cli.ts",
"clean": "rm -rf ./dist",
"build": "yarn clean && tsc && chmod +x dist/lib/cli.js",
"prepack": "yarn build",
"prepare": "yarn build",
"check-types": "tsc --noEmit",
"check-formatting": "prettier --check '**/*.{js,json,css,md,scss,tsx,ts}'",
"commit": "commit"
Expand Down

0 comments on commit 1626f9d

Please sign in to comment.