Skip to content

Commit

Permalink
build(release): only build the js package before packing
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jan 7, 2023
1 parent 7aaef18 commit b45ebec
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
1 change: 0 additions & 1 deletion .huskyrc.json

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"test:integration": "start-server-and-test 'npm start -- --quiet' http://localhost:8888 'npm run cypress:run -- ${CYPRESS_RECORD_KEY:+--record}'",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"prepare": "husky install",
"coverage:report": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
},
"dependencies": {
Expand Down

0 comments on commit b45ebec

Please sign in to comment.