Adds linting to compile step

Reorgs tasks
Fixes lint issues
This commit is contained in:
Eric Amodio
2017-05-01 13:17:50 -04:00
parent 564856853a
commit ba346da54b
5 changed files with 47 additions and 56 deletions

View File

@@ -864,34 +864,35 @@
"*"
],
"scripts": {
"compile": "tsc -watch -p ./",
"compile": "npm run lint && tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "tslint --project tslint.json",
"pack": "git clean -xdf && npm install && vsce package",
"pack": "git clean -xdf --exclude=node_modules/ && vsce package",
"postinstall": "node ./node_modules/vscode/bin/install",
"pub": "git clean -xdf --exclude=node_modules/ && npm install && vsce publish",
"vscode:prepublish": "tsc -p ./"
"pub": "git clean -xdf && vsce publish",
"vscode:prepublish": "npm install && npm run compile"
},
"dependencies": {
"applicationinsights": "0.19.0",
"copy-paste": "1.3.0",
"ignore": "3.2.7",
"lodash.debounce": "4.0.8",
"applicationinsights": "0.19.0",
"copy-paste": "1.3.0",
"ignore": "3.2.7",
"lodash.debounce": "4.0.8",
"lodash.escaperegexp": "4.1.2",
"lodash.isequal": "4.5.0",
"lodash.once": "4.1.1",
"moment": "2.18.1",
"spawn-rx": "2.0.10",
"tmp": "0.0.31"
"lodash.isequal": "4.5.0",
"lodash.once": "4.1.1",
"moment": "2.18.1",
"spawn-rx": "2.0.10",
"tmp": "0.0.31"
},
"devDependencies": {
"@types/applicationinsights": "0.15.33",
"@types/copy-paste": "1.1.30",
"@types/mocha": "2.2.41",
"@types/node": "7.0.14",
"@types/tmp": "0.0.32",
"mocha": "3.3.0",
"tslint": "5.1.0",
"typescript": "2.3.2",
"vscode": "1.1.0"
"@types/applicationinsights": "0.15.33",
"@types/copy-paste": "1.1.30",
"@types/mocha": "2.2.41",
"@types/node": "7.0.14",
"@types/tmp": "0.0.32",
"mocha": "3.3.0",
"tslint": "5.1.0",
"typescript": "2.3.2",
"vscode": "1.1.0"
}
}