From 60690c40c0f0b961ab18038913eb3c579c54667b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Thu, 2 Jan 2025 16:32:36 +0100 Subject: [PATCH] pkg: remove `npm run clean` script `vite build` does this already, so it's really not been needed for a long time. --- package-lock.json | 17 ----------------- package.json | 4 +--- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 19ed71c67..433c6f884 100644 --- a/package-lock.json +++ b/package-lock.json @@ -121,7 +121,6 @@ "jsonapi-typescript": "^0.1.3", "lightningcss": "^1.28.1", "p-map": "^7.0.0", - "rimraf": "^5.0.0", "stylelint": "^16.11.0", "stylelint-config-standard": "^36.0.1", "twemoji-emojis": "^14.1.0", @@ -10736,22 +10735,6 @@ "node": ">=0.10.0" } }, - "node_modules/rimraf": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", - "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^10.3.7" - }, - "bin": { - "rimraf": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/rollup": { "version": "4.27.4", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.27.4.tgz", diff --git a/package.json b/package.json index 0159c20d9..8266582bd 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,6 @@ "jsonapi-typescript": "^0.1.3", "lightningcss": "^1.28.1", "p-map": "^7.0.0", - "rimraf": "^5.0.0", "stylelint": "^16.11.0", "stylelint-config-standard": "^36.0.1", "twemoji-emojis": "^14.1.0", @@ -138,11 +137,10 @@ "url": "git+https://github.com/u-wave/web.git" }, "scripts": { - "clean": "rimraf npm/public", "dev": "vite", "lint": "eslint --cache . && stylelint --cache src/**/*.css", "postpublish": "npm publish -w ./npm", - "prerelease": "npm run clean && npm test && npm run prod", + "prerelease": "npm test && npm run prod", "prod": "vite build", "serve": "u-wave-web", "start": "npm run dev",