mirror of
https://github.com/vale981/apollo-server
synced 2025-03-05 09:41:40 -05:00
Run test in apollo-datasource-rest as part of monorepo tests
This commit is contained in:
parent
da2c95c410
commit
7496eb034d
2 changed files with 4 additions and 4 deletions
|
@ -6,15 +6,15 @@
|
|||
"url": "git+https://github.com/apollographql/apollo-server.git"
|
||||
},
|
||||
"scripts": {
|
||||
"compile": "lerna exec -- npm run compile",
|
||||
"compile": "lerna run -- compile",
|
||||
"lint": "prettier-check --ignore-path .gitignore \"{docs/{,source/**},.,packages/**,test}/{*.js,*.ts}\"",
|
||||
"lint-fix": "prettier --write --ignore-path .gitignore \"{docs/{,source/**},.,packages/**,test}/{*.js,*.ts}\"",
|
||||
"prebootstrap": "npm install",
|
||||
"postinstall": "lerna bootstrap",
|
||||
"pretest": "npm run compile",
|
||||
"test": "npm run testonly --",
|
||||
"test": "npm run testonly",
|
||||
"posttest": "npm run lint",
|
||||
"testonly": "mocha --reporter spec --full-trace --timeout 5000 ./test/tests.js",
|
||||
"testonly": "lerna run -- test && mocha --reporter spec --full-trace --timeout 5000 ./test/tests.js",
|
||||
"coverage": "istanbul cover -x \"*.test.js\" _mocha -- --timeout 5000 --full-trace --reporter dot ./test/tests.js",
|
||||
"pretravis": "npm run compile",
|
||||
"travis": "istanbul cover -x \"*.test.js\" _mocha -- --timeout 5000 --full-trace ./test/tests.js",
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"clean": "rm -rf lib",
|
||||
"compile": "tsc",
|
||||
"prepublish": "npm run clean && npm run compile",
|
||||
"test": "jest --verbose"
|
||||
"test": "jest"
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
|
Loading…
Add table
Reference in a new issue