diff --git a/package.json b/package.json index 0abfc9ec..1e6a0b90 100644 --- a/package.json +++ b/package.json @@ -51,14 +51,14 @@ "serve-static": "^1.14.1" }, "scripts": { - "build": "npm run build:clean; run-p build:browser build:node;", + "build": "npm run build:clean && run-p build:browser build:node", "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 .", "dev": "parcel serve test/data/** test/index.html src/ --port 8090", - "dev:clean": "rm -rf dist/ .cache/", - "docs": "rm -rf docs/; jsdoc -c .jsdoc.json -r src README.md -d docs", + "dev:clean": "rimraf dist/ .cache/", + "docs": "rimraf docs/ && jsdoc -c .jsdoc.json -r src README.md -d docs", "lint": "eslint src", "lint:fix": "eslint src --fix", "prepare": "npm run build",