Skip to content

Commit 63837f8

Browse files
committed
v.1
1 parent 833f297 commit 63837f8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "a proxy server built on top of express.js for graphql services.",
55
"main": "dist/index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"prepublish": "npm run build",
9+
"build": "rm -rf dist && tsc -d"
810
},
911
"repository": {
1012
"type": "git",
@@ -31,4 +33,4 @@
3133
"ts-node": "^10.0.0",
3234
"typescript": "^4.3.5"
3335
}
34-
}
36+
}

0 commit comments

Comments
 (0)