diff --git a/precompress.js b/compression.js similarity index 100% rename from precompress.js rename to compression.js diff --git a/package.json b/package.json index 75f55cd..d1fe7b4 100644 --- a/package.json +++ b/package.json @@ -16,14 +16,15 @@ "loader/" ], "scripts": { - "build": "stencil build --docs", - "precompress": "node precompress", "start": "stencil build --dev --watch --serve", "generate": "stencil generate", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook", "deploy-storybook": "storybook-to-ghpages", - "postbuild": "npm run precompress" + "build": "stencil build --docs", + "compression": "node compression", + "postbuild": "npm run compression", + "prepublishOnly": "npm run build" }, "dependencies": { "@raruto/leaflet-elevation": "^2.4.0",