mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
fix post install (#66)
* fix post install for projects that are not using typescript * fix travis
This commit is contained in:
parent
ab1ccfc7ca
commit
0c0a25df17
2 changed files with 3 additions and 3 deletions
|
@ -6,6 +6,7 @@ node_js:
|
|||
install:
|
||||
- npm install -g coveralls
|
||||
- npm install
|
||||
- npm run typings
|
||||
|
||||
script:
|
||||
- npm test
|
||||
|
@ -13,4 +14,4 @@ script:
|
|||
- coveralls < ./coverage/lcov.info || true # ignore coveralls error
|
||||
|
||||
# Allow Travis tests to run in containers.
|
||||
sudo: false
|
||||
sudo: false
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"compile": "tsc",
|
||||
"postinstall": "typings install && npm dedupe",
|
||||
"prepublish": "npm run compile",
|
||||
"typings": "typings install",
|
||||
"pretest": "npm run compile",
|
||||
"test": "npm run testonly --",
|
||||
"posttest": "npm run lint",
|
||||
|
|
Loading…
Add table
Reference in a new issue