Skip to content

Commit ae82c36

Browse files
committed
chore: update devDependencies and add husky
1 parent 8fa80f3 commit ae82c36

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

Diff for: .husky/pre-commit

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm test

Diff for: package.json

+4-9
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,17 @@
99
"types": "lib",
1010
"files": [
1111
"lib",
12-
"public",
1312
"views"
1413
],
1514
"engines": {
1615
"node": ">=18.3"
1716
},
1817
"scripts": {
19-
"css": "tailwindcss -i ./views/input.css -o ./public/output.css",
20-
"watch-ts": "tsx watch src/bin.ts fixtures/db.json",
21-
"watch-css": "npm run css -- --watch",
22-
"dev": "concurrently npm:watch-*",
23-
"build": "rm -rf lib && tsc && npm run css",
24-
"test": "npm run css && node --import tsx/esm --test src/*.test.ts",
18+
"dev": "tsx watch src/bin.ts fixtures/db.json",
19+
"build": "rm -rf lib && tsc",
20+
"test": "node --import tsx/esm --test src/*.test.ts",
2521
"lint": "eslint src --ext .ts --ignore-path .gitignore",
26-
"prepare": "husky install",
22+
"prepare": "husky",
2723
"prepublishOnly": "npm run build"
2824
},
2925
"keywords": [],
@@ -37,7 +33,6 @@
3733
"concurrently": "^8.2.2",
3834
"get-port": "^7.0.0",
3935
"husky": "^9.0.6",
40-
"tailwindcss": "^3.4.1",
4136
"tempy": "^3.1.0",
4237
"tsx": "^4.7.0",
4338
"type-fest": "^4.10.1",

0 commit comments

Comments
 (0)