chore: update-snapshot scripts; bump: 2.0.0-rc.20

This commit is contained in:
lurunze1226 2022-06-27 18:36:01 +08:00
parent 1d5106ca99
commit ff9784b7be
5 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,7 @@
"deploy-gh-page": "sh ./deploy-gh-pages.sh",
"build": "npm run build --workspaces",
"test": "npm test --workspaces",
"update-snapshot": "npm run update-snapshot --workspaces",
"prepare": "husky install",
"coverage": "jest --coverage",
"version": "lerna version",

View File

@ -33,6 +33,7 @@
"build": "npm run clean-dist && NODE_ENV=production rollup -c ",
"dev": "rollup -c -w",
"test": "jest",
"update-snapshot": "jest --updateSnapshot",
"coverage": "jest --coverage",
"clean-dist": "rimraf lib/* esm/*"
},

View File

@ -9,6 +9,7 @@
"clean-dist": "rimraf lib/*",
"declaration": "tsc --project tsconfig-for-declaration.json --allowJs --declaration --emitDeclarationOnly --declarationDir ./lib --rootDir ./src",
"test": "jest",
"update-snapshot": "jest --updateSnapshot",
"coverage": "jest --coverage",
"genDoc": "ts-node ./scripts/genDoc.ts"
},

View File

@ -8,6 +8,7 @@
"build": "npm run clean-dist && NODE_ENV=production rollup -c ",
"dev": "rollup -c -w",
"test": "jest",
"update-snapshot": "jest --updateSnapshot",
"coverage": "jest --coverage",
"clean-dist": "rimraf lib/* esm/*"
},

View File

@ -6,6 +6,7 @@
"module": "esm/index.js",
"scripts": {
"test": "jest",
"update-snapshot": "jest --updateSnapshot",
"coverage": "jest --coverage",
"publish-to-internal": "sh build.sh && sh publish.sh",
"build": "sh build.sh",