Skip to content

Commit 0878585

Browse files
committed
chore: update scripts
1 parent b9f6406 commit 0878585

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@
1212
"build:all": "lerna run build --stream",
1313
"deploy": "cross-env ENV=production ./scripts/deploy.sh",
1414
"prettier": "prettier --write .",
15-
"release": "run-s lint clean build test release:npm",
16-
"release:npm": "./scripts/release.sh",
17-
"publish:beta": "lerna version prerelease --preid beta --force-publish --yes",
1815
"cy:test": "cypress run",
1916
"cy:open": "cypress open",
2017
"test": "jest",
2118
"test:watch": "cross-env NODE_ENV=test jest --watchAll",
2219
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
23-
"lerna:version": "lerna version --conventional-commits --yes",
24-
"lerna:prerelease": "yarn lerna:version --conventional-prerelease --yes",
25-
"lerna:publish": "lerna publish from-git --yes"
20+
"prerelease": "lerna version --yes --conventional-commits --conventional-prerelease --force-publish",
21+
"prerelease:beta": "lerna version --yes --conventional-commits --conventional-prerelease --preid beta --force-publish",
22+
"release": "lerna version --yes --conventional-commits --conventional-graduate --force-publish",
23+
"publish": "./scripts/publish.sh",
24+
"version": "echo \"Running post lerna version script; bump lockfile\" && yarn install && git stage yarn.lock"
2625
},
2726
"devDependencies": {
2827
"@babel/cli": "^7.7.4",

0 commit comments

Comments
 (0)