Skip to content

Commit

Permalink
Updated the test commands to compile the TypeScript, run the tests fo…
Browse files Browse the repository at this point in the history
…r the v2, then run the tests for the v2 + Added the TS types for the 'request' package + Added the 'ftp' package in the dependencies
  • Loading branch information
AdrienCastex committed Jun 26, 2017
1 parent e83b463 commit 3f6c274
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"virtual"
],
"scripts": {
"dev": "cd src && tsc --declaration -w --removeComments false",
"build": "cd src && tsc --declaration --removeComments false",
"test": "node test/root.js"
"dev": "cd src && tsc --declaration -w",
"build": "cd src && tsc --declaration",
"test": "cd test/v2/tests.ts && tsc && cd ../../.. && node test/v2/root.js && node test/v1/root.js"
},
"name": "webdav-server",
"version": "1.9.4",
Expand All @@ -35,12 +35,15 @@
},
"description": "WebDAV Server",
"dependencies": {
"ftp": "^0.3.10",
"mime-types": "^2.1.15",
"xml-js": "^1.2.2"
},
"devDependencies": {
"@types/ftp": "^0.3.29",
"@types/mime-types": "^2.1.0",
"@types/node": "^7.0.18",
"@types/request": "0.0.44",
"request": "^2.81.0",
"webdav-fs": "^1.0.0"
},
Expand Down

0 comments on commit 3f6c274

Please sign in to comment.