|
14 | 14 | "api gateway" |
15 | 15 | ], |
16 | 16 | "scripts": { |
17 | | - "test": "jest --runInBand", |
| 17 | + "test": "jest --runInBand --coverage", |
18 | 18 | "packages-install": "lerna exec -- yarn install --frozen-lockfile", |
19 | 19 | "packages-build": "lerna run build", |
20 | 20 | "test:watch": "yarn test --watch --collect-coverage=false", |
21 | | - "publish": "lerna publish --conventional-commits", |
22 | | - "prerelease": "lerna publish --conventional-commits --conventional-prerelease", |
23 | | - "graduate": "lerna publish --conventional-commits --conventional-graduate", |
| 21 | + "check-gh-token": ": \"${GH_TOKEN:?Please set GH_TOKEN to a GitHub personal token that can create releases.}\"", |
| 22 | + "publish": "yarn check-gh-token && lerna publish --conventional-commits --exact --create-release github", |
| 23 | + "prerelease": "yarn check-gh-token && lerna publish --conventional-commits --conventional-prerelease --exact --create-release github --dist-tag alpha", |
| 24 | + "graduate": "yarn check-gh-token && lerna publish --conventional-commits --conventional-graduate --exact --create-release github", |
24 | 25 | "lint": "eslint .", |
25 | | - "coveralls": "jest --runInBand --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", |
| 26 | + "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", |
26 | 27 | "integration": "jest --runInBand --config jest.integration.config.json --setupTestFrameworkScriptFile=./jest.integration.setup.js", |
27 | | - "postinstall": "yarn packages-install && opencollective-postinstall || true" |
| 28 | + "postinstall": "yarn packages-install && opencollective-postinstall || true", |
| 29 | + "docs": "cd documentation && yarn && yarn build" |
28 | 30 | }, |
29 | 31 | "repository": { |
30 | 32 | "type": "git", |
|
0 commit comments