Skip to content

Commit

Permalink
package.json: add watch/link dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Apr 14, 2020
1 parent b743069 commit 5e58e09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"scripts": {
"start": "react-scripts start",
"build": "rimraf dist && NODE_ENV=production rollup -c",
"link-dist": "cp package.json ./dist && cd dist && npm link && rm -rf node_modules package*",
"unlink-dist": "cd dist && npm unlink",
"watch": "NODE_ENV=development rollup --watch -c",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src/**/*.js"
Expand Down

0 comments on commit 5e58e09

Please sign in to comment.