Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Commit 3e4bafb

Browse files
chore(build): add clean script
removes build artifacts
1 parent 33b842c commit 3e4bafb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"commit": "npm run prepublish && npm test && git-cz",
1010
"prepublish": "ngc && npm run build",
1111
"build": "webpack && cp bundles/angularfire2-offline.umd.js bundles/index.js",
12+
"clean": "rimraf index.js ./*{.d.ts,offline.js,.metadata.json} ./src/**/*.{d.ts,js,metadata.json}",
1213
"semantic-release": "semantic-release pre && npm publish --tag=next && semantic-release post"
1314
},
1415
"repository": {
@@ -71,6 +72,7 @@
7172
"loader-utils": "0.2.16",
7273
"localforage": "1.5.0",
7374
"reflect-metadata": "0.1.8",
75+
"rimraf": "^2.6.1",
7476
"rxjs": "5.0.3",
7577
"semantic-release": "^6.3.2",
7678
"source-map-loader": "0.1.5",

yarn.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3439,6 +3439,12 @@ rimraf@2, rimraf@^2.3.3, rimraf@^2.4.4, rimraf@~2.5.1, rimraf@~2.5.4:
34393439
dependencies:
34403440
glob "^7.0.5"
34413441

3442+
rimraf@^2.6.1:
3443+
version "2.6.1"
3444+
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d"
3445+
dependencies:
3446+
glob "^7.0.5"
3447+
34423448
ripemd160@^1.0.0:
34433449
version "1.0.1"
34443450
resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-1.0.1.tgz#93a4bbd4942bc574b69a8fa57c71de10ecca7d6e"

0 commit comments

Comments
 (0)