Skip to content

Commit d5587f1

Browse files
committed
chore(core): add pre and post publish scripts
1 parent 415424a commit d5587f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
6363
"lint": "eslint --ext .js,.ts,.vue ./",
6464
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
65+
"prepublishOnly": "shx cp ../../README.md .",
66+
"postpublish": "shx rm README.md",
6567
"test": "exit 0"
6668
},
6769
"peerDependencies": {

0 commit comments

Comments
 (0)