kontroll 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +24 -21
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kontroll",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.3",
|
|
5
|
+
"packageManager": "pnpm@12.4.1",
|
|
5
6
|
"description": "kontroll (\"control\") is a tiny, dead-simple package for function behavior controls like debounce, countdown, throttle (limit).",
|
|
6
7
|
"author": "NamesMT <dangquoctrung123@gmail.com>",
|
|
7
8
|
"license": "MIT",
|
|
@@ -40,24 +41,6 @@
|
|
|
40
41
|
"engines": {
|
|
41
42
|
"node": ">=18.0.0"
|
|
42
43
|
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@antfu/eslint-config": "^4.12.0",
|
|
45
|
-
"@types/node": "^22.14.0",
|
|
46
|
-
"@vitest/coverage-v8": "^3.1.1",
|
|
47
|
-
"eslint": "^9.24.0",
|
|
48
|
-
"lint-staged": "^15.5.0",
|
|
49
|
-
"simple-git-hooks": "^2.12.1",
|
|
50
|
-
"tsx": "^4.19.3",
|
|
51
|
-
"typescript": "^5.8.3",
|
|
52
|
-
"unbuild": "^3.5.0",
|
|
53
|
-
"vitest": "^3.1.1"
|
|
54
|
-
},
|
|
55
|
-
"simple-git-hooks": {
|
|
56
|
-
"pre-commit": "pnpm lint-staged"
|
|
57
|
-
},
|
|
58
|
-
"lint-staged": {
|
|
59
|
-
"*": "eslint"
|
|
60
|
-
},
|
|
61
44
|
"scripts": {
|
|
62
45
|
"start": "NODE_ENV=dev tsx src/index.ts",
|
|
63
46
|
"watch": "NODE_ENV=dev tsx watch src/index.ts",
|
|
@@ -70,6 +53,26 @@
|
|
|
70
53
|
"test:types": "tsc --noEmit --skipLibCheck",
|
|
71
54
|
"check": "pnpm lint && pnpm test:types && vitest run --coverage",
|
|
72
55
|
"build": "unbuild",
|
|
73
|
-
"release": "pnpm dlx changelogen@latest --release --push --publish"
|
|
56
|
+
"release": "pnpm dlx changelogen@latest --release --push --publish",
|
|
57
|
+
"prepare": "simple-git-hooks",
|
|
58
|
+
"prepublishOnly": "pnpm run build"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@antfu/eslint-config": "^4.19.0",
|
|
62
|
+
"@types/node": "^22.20.2",
|
|
63
|
+
"@vitest/coverage-v8": "^3.2.7",
|
|
64
|
+
"eslint": "^9.39.5",
|
|
65
|
+
"lint-staged": "^15.5.2",
|
|
66
|
+
"simple-git-hooks": "^2.14.0",
|
|
67
|
+
"tsx": "^4.23.13",
|
|
68
|
+
"typescript": "^5.9.3",
|
|
69
|
+
"unbuild": "^3.6.1",
|
|
70
|
+
"vitest": "^3.2.7"
|
|
71
|
+
},
|
|
72
|
+
"simple-git-hooks": {
|
|
73
|
+
"pre-commit": "pnpm lint-staged"
|
|
74
|
+
},
|
|
75
|
+
"lint-staged": {
|
|
76
|
+
"*": "eslint"
|
|
74
77
|
}
|
|
75
|
-
}
|
|
78
|
+
}
|