Skip to content

Commit 1e27de6

Browse files
authored
Add npm prepare script (#2)
- Support consuming package directly from GitHub by adding npm prepare script.
1 parent cc614c8 commit 1e27de6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"tdd": "concurrently -r -p '' -k 'npm run watch' 'npm run watch:test'",
2222
"test": "npm run pre-test && ava --timeout=300s --verbose",
2323
"stresstest": "seq 1 10 | xargs -I{} npm test",
24+
"prepare": "npm run clean && npm run build:server",
2425
"prepublishOnly": "npm test",
2526
"pre-test": "npm run clean && npm run format-check && npm run build:server",
2627
"watch": "tsc -w",

0 commit comments

Comments
 (0)