Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit b9938dd

Browse files
committed
update package.json
1 parent c9fd0d8 commit b9938dd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,19 @@
1414
"api gateway"
1515
],
1616
"scripts": {
17-
"test": "jest --runInBand",
17+
"test": "jest --runInBand --coverage",
1818
"packages-install": "lerna exec -- yarn install --frozen-lockfile",
1919
"packages-build": "lerna run build",
2020
"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",
2425
"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",
2627
"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"
2830
},
2931
"repository": {
3032
"type": "git",

0 commit comments

Comments
 (0)