Skip to content

Commit

Permalink
update build command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayc0 committed Oct 14, 2021
1 parent f180545 commit f5d453c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/manatea/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
],
"scripts": {
"start": "microbundle watch",
"build": "microbundle",
"prepublishOnly": "rm -rf dist && yarn -s build"
"build:clean": "rm -rf dist",
"build:action": "microbundle",
"build": "yarn build:clean && yarn build:action",
"prepublishOnly": "yarn build"
},
"devDependencies": {
"microbundle": "^0.13.0",
Expand Down
6 changes: 4 additions & 2 deletions packages/react-manatea/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
],
"scripts": {
"start": "microbundle watch",
"build": "microbundle --name $npm_package_name --globals react=React",
"prepublishOnly": "rm -rf dist && yarn -s build"
"build:clean": "rm -rf dist",
"build:action": "microbundle --name $npm_package_name --globals react=React",
"build": "yarn build:clean && yarn build:action",
"prepublishOnly": "yarn build"
},
"devDependencies": {
"@types/react": "^17.0.5",
Expand Down

0 comments on commit f5d453c

Please sign in to comment.