Add typescript linting to supervisor tests

This also required updating node-resin-lint to v1.5.7

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
This commit is contained in:
Cameron Diver 2018-05-02 09:35:16 +01:00
parent 9150c3fdbc
commit 022eeaa2b3
No known key found for this signature in database
GPG Key ID: 69264F9C923F55C1

View File

@ -10,7 +10,7 @@
"scripts": { "scripts": {
"start": "./entry.sh", "start": "./entry.sh",
"build": "webpack", "build": "webpack",
"lint": "resin-lint src/ test/", "lint": "resin-lint --typescript src/ test/",
"test": "npm run lint && JUNIT_REPORT_PATH=report.xml mocha --exit -r ts-node/register -r coffee-script/register -r register-coffee-coverage test/*.{js,coffee} && npm run coverage", "test": "npm run lint && JUNIT_REPORT_PATH=report.xml mocha --exit -r ts-node/register -r coffee-script/register -r register-coffee-coverage test/*.{js,coffee} && npm run coverage",
"versionist": "versionist", "versionist": "versionist",
"coverage": "istanbul report text && istanbul report html" "coverage": "istanbul report text && istanbul report html"
@ -58,7 +58,7 @@
"pubnub": "^3.7.13", "pubnub": "^3.7.13",
"register-coffee-coverage": "0.0.1", "register-coffee-coverage": "0.0.1",
"request": "^2.51.0", "request": "^2.51.0",
"resin-lint": "^1.3.1", "resin-lint": "^1.5.7",
"resin-register-device": "^3.0.0", "resin-register-device": "^3.0.0",
"resin-sync": "^9.3.0", "resin-sync": "^9.3.0",
"resumable-request": "^2.0.0", "resumable-request": "^2.0.0",