Use npm @types
parent
1e102053aa
commit
e3eec7185c
|
@ -18,7 +18,7 @@ install:
|
|||
|
||||
script:
|
||||
- npm run lint
|
||||
- npm run compile
|
||||
- npm run build
|
||||
|
||||
# If build on a tag, publish a new release and upload vsix to the GitHub release
|
||||
before_deploy:
|
||||
|
|
|
@ -41,10 +41,14 @@
|
|||
"scripts": {
|
||||
"compile": "tsc -p .",
|
||||
"watch": "tsc -w -p .",
|
||||
"postinstall": "node ./node_modules/vscode/bin/install && typings prune && typings install",
|
||||
"postinstall": "node ./node_modules/vscode/bin/install",
|
||||
"lint": "tslint -c tslint.json \"src/**/*.ts\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mocha": "^2.2.42",
|
||||
"@types/mz": "0.0.31",
|
||||
"@types/node": "^8.0.24",
|
||||
"@types/semver": "^5.3.34",
|
||||
"tslint": "^5.0.0",
|
||||
"typescript": "^2.1.4",
|
||||
"typings": "^2.0.0",
|
||||
|
|
|
@ -15,11 +15,7 @@
|
|||
"noImplicitReturns": true,
|
||||
"noUnusedLocals": true,
|
||||
"allowUnreachableCode": false,
|
||||
"allowUnusedLabels": false,
|
||||
"typeRoots": [
|
||||
"typings/modules",
|
||||
"typings/globals"
|
||||
]
|
||||
"allowUnusedLabels": false
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
|
|
10
typings.json
10
typings.json
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"mz": "registry:npm/mz#2.4.0+20161114225638",
|
||||
"semver": "registry:npm/semver#5.0.0+20160723033700"
|
||||
},
|
||||
"globalDependencies": {
|
||||
"mocha": "registry:env/mocha#2.2.5+20160926180742",
|
||||
"node": "registry:env/node#6.0.0+20170213133316"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue