Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 216e8c4

Browse files
Adding a clean script
1 parent 246c87e commit 216e8c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎package.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
],
1919
"main": "index.js",
2020
"scripts": {
21-
"build": "webpack -p; babel src --out-dir dist -s; cp ./types/* README.md LICENSE package.json dist; cd dist && npm install --only=production && cd -",
22-
"pub": "npm run build && npm publish dist"
21+
"clean": "rm -rf ./dist",
22+
"build": "webpack -p && babel src --out-dir dist -s && cp ./types/* README.md LICENSE package.json dist && cd dist && npm install --only=production && cd -",
23+
"pub": "npm run clean && npm run build && npm publish dist"
2324
},
2425
"author": "Google",
2526
"repository": {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /