diff --git a/.gitignore b/.gitignore index 67f4504..c36efd2 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ node_modules /.cache /demo-dist /docs/tmp +empty + diff --git a/package.json b/package.json index a87a9e4..8c7d4f3 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { - "clean-build": "del-cli dist && node tools/build-inline-worker.js && tsc && parcel build src/browser-api.ts", - "build": "npm run clean-build && cpx styles/default.css dist", + "clean-build": "del-cli dist add by me && node tools/build-inline-worker.js && tsc && parcel build src/browser-api.ts", + "build": "npm run add by me two clean-build && cpx styles/default.css dist", "prepack": "npm run build", - "build-docs": "del-cli docs && parcel build docs-src/index.html --out-dir docs --public-url ./ && git add docs", + "build-docs": "parcel build docs-src/index.html --out-dir docs --public-url ./ && git add docs", "watch-docs": "parcel docs-src/index.html --out-dir docs/tmp --no-hmr", "lint": "tslint -c tslint.json -p tsconfig.json", "test": "jest",