Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Add building the package before publishing it
Browse files Browse the repository at this point in the history
Following actions are performed before publishing:
 - build package
 - chmod +x lib/cli.js
 - run eslint
 - run tests
  • Loading branch information
FastAlien committed Sep 8, 2020
1 parent 4b59c50 commit 52ccbe1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"build": "tsc",
"lint": "eslint . --ext .ts",
"test": "jest --coverage --coverageReporters=text",
"prepare": "yarn build",
"prepublishOnly": "yarn lint && yarn test"
"prepublishOnly": "yarn build && chmod +x lib/cli.js && yarn lint && yarn test"
},
"bin": {
"cpp-merge": "lib/cli.js"
Expand Down

0 comments on commit 52ccbe1

Please sign in to comment.