Add pretest and empty test script

This commit is contained in:
Dag Evensberget 2019-12-02 15:42:21 +10:00
parent 9b88120cad
commit 1d97ea8d20
2 changed files with 9 additions and 1 deletions

View File

@ -1 +1,7 @@
language: node_js language: node_js
node_js:
- '0.10'
before_install:
- npm install -g typescript@1.0
script:
- npm test

View File

@ -47,7 +47,9 @@
"scripts": { "scripts": {
"vscode:prepublish": "npm run compile", "vscode:prepublish": "npm run compile",
"compile": "tsc -p ./", "compile": "tsc -p ./",
"watch": "tsc -watch -p ./" "watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": ""
}, },
"devDependencies": { "devDependencies": {
"typescript": "^3.7.2", "typescript": "^3.7.2",