Skip to content

Commit 3f6c274

Browse files
committed
Updated the test commands to compile the TypeScript, run the tests for the v2, then run the tests for the v2 + Added the TS types for the 'request' package + Added the 'ftp' package in the dependencies
1 parent e83b463 commit 3f6c274

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"virtual"
2222
],
2323
"scripts": {
24-
"dev": "cd src && tsc --declaration -w --removeComments false",
25-
"build": "cd src && tsc --declaration --removeComments false",
26-
"test": "node test/root.js"
24+
"dev": "cd src && tsc --declaration -w",
25+
"build": "cd src && tsc --declaration",
26+
"test": "cd test/v2/tests.ts && tsc && cd ../../.. && node test/v2/root.js && node test/v1/root.js"
2727
},
2828
"name": "webdav-server",
2929
"version": "1.9.4",
@@ -35,12 +35,15 @@
3535
},
3636
"description": "WebDAV Server",
3737
"dependencies": {
38+
"ftp": "^0.3.10",
3839
"mime-types": "^2.1.15",
3940
"xml-js": "^1.2.2"
4041
},
4142
"devDependencies": {
43+
"@types/ftp": "^0.3.29",
4244
"@types/mime-types": "^2.1.0",
4345
"@types/node": "^7.0.18",
46+
"@types/request": "0.0.44",
4447
"request": "^2.81.0",
4548
"webdav-fs": "^1.0.0"
4649
},

0 commit comments

Comments
 (0)