Skip to content

Commit 893c7d4

Browse files
committed
chore(lint): lint ts as well as js
1 parent 0d914b2 commit 893c7d4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"test": "node tests/runner",
1313
"mobile_test": "mocha tests/e2e/e2e_workflow.spec.js",
1414
"test:inspect": "node --inspect --debug-brk tests/runner",
15-
"lint": "eslint ."
15+
"lint-js": "eslint .",
16+
"lint-ts": "tslint \"**/*.ts\" -c tslint.json -e \"**/__path__/*.ts\" -e \"node_modules/**\" -e \"tmp/**\"",
17+
"lint": "npm-run-all -c lint-js lint-ts"
1618
},
1719
"repository": {
1820
"type": "git",
@@ -65,6 +67,7 @@
6567
"lodash": "^4.11.1",
6668
"node-sass": "^3.7.0",
6769
"npm": "3.10.2",
70+
"npm-run-all": "^3.0.0",
6871
"offline-plugin": "^3.4.1",
6972
"opn": "4.0.1",
7073
"parse5": "^2.1.5",

0 commit comments

Comments
 (0)