Skip to content

Commit 6567fc0

Browse files
committed
Add yarn script pack-lib-no-test & remove obsolete copy-css
1 parent c23e35e commit 6567fc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"lint-fix-lib": "yarn workspace react-hook-tracer lint-fix",
3131
"login": "yarn workspace react-hook-tracer npm login --publish",
3232
"pack-lib": "yarn pre-pack-publish && yarn workspace react-hook-tracer pack -o 'dist/%s@%v.tgz'",
33-
"pre-pack-publish": "yarn prettier-check && yarn lint-check && yarn clean && yarn build && yarn test",
33+
"pack-lib-no-test": "yarn clean && yarn build-lib && yarn workspace react-hook-tracer pack -o 'dist/%s@%v.tgz'",
34+
"pre-pack-publish": "yarn prettier-check && yarn lint-check && yarn clean && yarn build",
3435
"publish-lib": "yarn pre-pack-publish && yarn workspace react-hook-tracer npm publish",
3536
"tag-release": "bash-scripts/tag-release.sh",
3637
"test-lib": "yarn workspace react-hook-tracer test",

packages/react-hook-tracer/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"scripts": {
4040
"build": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
4141
"build-watch": "yarn build --watch --configIncludeDeclarationMap",
42-
"copy-css": "mkdir -p dist/components && cp src/components/*.css dist/components",
4342
"clean": "rm -r dist 2>/dev/null || true && rm -f package.tgz 2>/dev/null || true",
4443
"lint-check": "eslint . --cache . --max-warnings 0",
4544
"lint-fix": "yarn lint-check --fix",

0 commit comments

Comments
 (0)