Skip to content

Commit

Permalink
use rimraf for cross-platform rm -rf
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed Dec 1, 2020
1 parent c2798b6 commit 6e55ce9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
28 changes: 25 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.4",
"parcel-plugin-bundle-visualiser": "^1.2.0",
"rimraf": "^3.0.2",
"serve-static": "^1.14.1"
},
"scripts": {
"build": "npm run build:clean; run-p build:browser build:node;",
"build:clean": "rm -rf dist-node/ dist-browser/",
"build:clean": "rimraf dist-node/ dist-browser/",
"build:node": "parcel build src/geotiff.js --target node --out-dir dist-node/",
"build:browser": "parcel build src/geotiff.js --target browser --out-dir dist-browser/ --global GeoTIFF --public-url .",
"watch:browser": "parcel watch src/geotiff.js --target browser --out-dir dist-browser/ --global GeoTIFF --public-url .",
Expand Down

0 comments on commit 6e55ce9

Please sign in to comment.