chore: add scripts for lint

This commit is contained in:
Crawl 2018-11-13 03:53:12 +01:00
parent c5a8eda150
commit 5c3e3ae8d5
No known key found for this signature in database
GPG key ID: E41A6DB922EC2CFE

View file

@ -18,7 +18,9 @@
"license": "MIT", "license": "MIT",
"main": "./dist/extension", "main": "./dist/extension",
"scripts": { "scripts": {
"prebuild": "yarn lint",
"build": "gulp", "build": "gulp",
"lint": "tslint -p tsconfig.json",
"postinstall": "node ./node_modules/vscode/bin/install" "postinstall": "node ./node_modules/vscode/bin/install"
}, },
"activationEvents": [ "activationEvents": [