Skip to content
This repository was archived by the owner on Dec 28, 2021. It is now read-only.

Commit aa5e68d

Browse files
committed
chore: update package scripts
1 parent a613f10 commit aa5e68d

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
engine-strict=true
1+
engine-strict=true
2+
# registry=http://localhost:4873

package.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,24 @@
1111
"url": "https://github.com/KingDarBoja/"
1212
}
1313
],
14+
"publishConfig": {
15+
"access": "public"
16+
},
1417
"license": "MIT",
1518
"main": "dist/index.js",
1619
"files": [
17-
"dist"
20+
"dist/**/*"
1821
],
1922
"scripts": {
20-
"prepublishOnly": "npm run build",
21-
"precommit": "npm run test",
22-
"build": "rimraf dist && tsc",
2323
"pretest": "npm run lint",
24+
"build": "rimraf dist && tsc",
2425
"test": "jest --verbose",
25-
"lint": "eslint --ext ts ."
26+
"lint": "eslint --ext ts .",
27+
"prepare": "npm run build",
28+
"prepublishOnly": "npm test && npm run lint",
29+
"preversion" : "npm run lint",
30+
"version" : "npm run format && git add -A src",
31+
"postversion" : "git push && git push --tags"
2632
},
2733
"repository": {
2834
"type": "git",

0 commit comments

Comments
 (0)