Skip to content

Commit

Permalink
Move test and build commands to prepare step
Browse files Browse the repository at this point in the history
  • Loading branch information
heeboA committed Oct 23, 2024
1 parent 3ffa7b2 commit 0de5a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"build": "rm -rf dist && npm run build:bundle && npm run build:npm",
"dev": "esbuild --serve=localhost:1234 src/rich-text-editor-bundle.ts --outfile=dev/js/index.js --bundle --servedir=dev --watch",
"dev-server": "ts-node dev-server.ts",
"watch": "concurrently -n='ESBUILD,DEVSERVER' -c=auto 'npm run dev' 'npm run dev-server'"
"watch": "concurrently -n='ESBUILD,DEVSERVER' -c=auto 'npm run dev' 'npm run dev-server'",
"prepare": "npm run test && npm run build"
},
"repository": {
"type": "git",
Expand Down
4 changes: 0 additions & 4 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ fi

VERSION=$1

#TODO: test can be removed once passing tests are required by merges
npm run test
npm run build

npm version ${VERSION} -m "Release %s"

cat <<EOF
Expand Down

0 comments on commit 0de5a46

Please sign in to comment.