Skip to content

Commit

Permalink
Merge pull request #188 from manzt/rimraf
Browse files Browse the repository at this point in the history
Use rimraf for cross-platform rm -rf
  • Loading branch information
constantinius authored Dec 2, 2020
2 parents c2798b6 + 6e55ce9 commit 640ab66
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 640ab66

Please sign in to comment.