Skip to content

Commit

Permalink
fix: add preversion and prepublish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wescopeland committed Oct 11, 2021
1 parent 88f5237 commit 01594a8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"author": "Wes Copeland",
"license": "MIT",
"scripts": {
"preversion": "npm run format && npm run build",
"prepublishOnly": "npm run format && npm run test && npm run build",
"dev": "ts-node-dev --respawn --clear --quiet src/__dev-playground.ts",
"build": "rollup -c",
"format": "prettier --write . '**/*.{json,md,js,ts,tsx}'",
Expand Down Expand Up @@ -73,6 +75,12 @@
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"branches": [
"master",
"next"
]
},
"repository": {
"type": "git",
"url": "https://github.com/achievements-app/psn-api.git"
Expand Down

0 comments on commit 01594a8

Please sign in to comment.