Skip to content

Commit aa37d19

Browse files
committed
package fix
1 parent b6e95de commit aa37d19

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@
99
"build": "tsc -p tsconfig.release.json",
1010
"build:watch": "tsc -w -p tsconfig.release.json",
1111
"lint": "tslint -t stylish --project \"tsconfig.json\"",
12-
"server": "nodemon ./build/src/main.js"
12+
"server": "nodemon ./build/src/main.js",
13+
"test": "jest --config jestconfig.json",
14+
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
15+
"prepare": "npm run build",
16+
"prepublishOnly": "npm test && npm run lint",
17+
"preversion": "npm run lint",
18+
"version": "npm run format && git add -A src",
19+
"postversion": "git push && git push --tags"
1320
},
1421
"keywords": [
1522
"typescript",
@@ -20,11 +27,6 @@
2027
"dependencies": {
2128
"axios": "^0.18.0"
2229
},
23-
"prepare": "npm run build",
24-
"prepublishOnly": "npm run lint",
25-
"preversion": "npm run lint",
26-
"version": "git add -A src",
27-
"postversion": "git push && git push --tags",
2830
"repository": {
2931
"type": "git",
3032
"url": "https://github.com/electather/payir-typescript.git"

0 commit comments

Comments
 (0)