forked from d4nyll/lethargy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.36 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "lethargy-ts",
"version": "0.1.0",
"description": "Distinguish between scroll events initiated by the user, and those by inertial scrolling",
"repository": "https://github.com/snelsi/lethargy-ts",
"license": "MIT",
"keywords": [
"scroll",
"wheel",
"mouse",
"mousewheel",
"scrolljacking",
"inertial",
"trackpad",
"magic"
],
"type": "module",
"exports": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"rollup": "rollup -c",
"prettier": "prettier --write .",
"lint": "eslint --fix",
"fix": "npm run prettier && npm run lint",
"test": "vitest",
"coverage": "vitest run --coverage",
"pre-commit": "npm run lint && lint-staged",
"prepublishOnly": "npm run rollup"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.6",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"happy-dom": "^14.11.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0",
"rollup": "^4.17.2",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vitest": "^1.6.0"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"pretty-quick --staged"
]
}
}