Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit 94d082d

Browse files
author
Martin Wentzel
committed
Adds test command to package.json.
1 parent 5e7e5e9 commit 94d082d

File tree

2 files changed

+201
-122
lines changed

2 files changed

+201
-122
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@
2222
"lint": "tslint -c tslint.json 'test/**/*.ts' 'src/**/*.ts'",
2323
"clean": "rm -rf dist",
2424
"build": "yarn clean && tsc",
25-
"prepublish": "yarn build"
25+
"prepublish": "yarn build",
26+
"test": "./node_modules/mocha/bin/_mocha --ui bdd --recursive --timeout 30000 --require ts-node/register \"test/test.ts\""
2627
},
2728
"devDependencies": {
29+
"@types/mocha": "^5.2.5",
2830
"@types/node": "^10.3.1",
2931
"@types/ssh2": "^0.5.35",
32+
"mocha": "^5.2.0",
3033
"ts-node": "^6.1.0",
3134
"tslint": "^5.10.0",
3235
"tslint-config-airbnb": "^5.9.2",

0 commit comments

Comments
 (0)