diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..72c4429 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +npm test diff --git a/package.json b/package.json index 66e0f20..b5d5bd6 100644 --- a/package.json +++ b/package.json @@ -9,21 +9,17 @@ "types": "lib", "files": [ "lib", - "public", "views" ], "engines": { "node": ">=18.3" }, "scripts": { - "css": "tailwindcss -i ./views/input.css -o ./public/output.css", - "watch-ts": "tsx watch src/bin.ts fixtures/db.json", - "watch-css": "npm run css -- --watch", - "dev": "concurrently npm:watch-*", - "build": "rm -rf lib && tsc && npm run css", - "test": "npm run css && node --import tsx/esm --test src/*.test.ts", + "dev": "tsx watch src/bin.ts fixtures/db.json", + "build": "rm -rf lib && tsc", + "test": "node --import tsx/esm --test src/*.test.ts", "lint": "eslint src --ext .ts --ignore-path .gitignore", - "prepare": "husky install", + "prepare": "husky", "prepublishOnly": "npm run build" }, "keywords": [], @@ -37,7 +33,6 @@ "concurrently": "^8.2.2", "get-port": "^7.0.0", "husky": "^9.0.6", - "tailwindcss": "^3.4.1", "tempy": "^3.1.0", "tsx": "^4.7.0", "type-fest": "^4.10.1",