generated from antfu/starter-ts
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
110 lines (110 loc) · 2.78 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "idlefy",
"type": "module",
"version": "1.1.1",
"packageManager": "[email protected]",
"description": "Defer non-critical tasks to run when the main thread is idle",
"author": {
"name": "Harsh Choudhary",
"email": "[email protected]",
"url": "https://harshkc.in"
},
"license": "MIT",
"funding": "https://github.com/sponsors/harshkc",
"homepage": "https://github.com/redbus-labs/idlefy#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/redbus-labs/idlefy.git"
},
"bugs": "https://github.com/redbus-labs/idlefy/issues",
"keywords": [
"idle",
"defer",
"idle-until-urget",
"requestIdleCallback",
"cancelIdleCallback",
"requestIdleCallbackPolyfill",
"INP",
"Performance"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/min/index.cjs",
"default": "./dist/min/index.mjs"
},
"./min": {
"types": "./dist/index.d.ts",
"require": "./dist/min/index.cjs",
"default": "./dist/min/index.mjs"
},
"./idleQueue.js": {
"types": "./dist/idleQueue.d.ts",
"default": "./dist/idleQueue.mjs"
},
"./idleCbWithPolyfill.js": {
"types": "./dist/idleCbWithPolyfill.d.ts",
"default": "./dist/idleCbWithPolyfill.mjs"
},
"./idleValue.js": {
"types": "./dist/idleValue.d.ts",
"default": "./dist/idleValue.mjs"
},
"./defineIdleProperty.js": {
"types": "./dist/defineIdleProperty.d.ts",
"default": "./dist/defineIdleProperty.mjs"
},
"./defineIdleProperties.js": {
"types": "./dist/defineIdleProperties.d.ts",
"default": "./dist/defineIdleProperties.mjs"
}
},
"main": "./dist/min/index.mjs",
"module": "./dist/min/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"lint": "eslint .",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"start": "esno src/index.ts",
"test": "echo \"Warning: no test specified\" && exit 0",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.4",
"@antfu/ni": "^0.21.12",
"@antfu/utils": "^0.7.7",
"@types/node": "^20.11.19",
"bumpp": "^9.3.0",
"eslint": "^8.56.0",
"esno": "^4.0.0",
"lint-staged": "^15.2.2",
"pnpm": "^8.15.3",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
"vite": "^5.1.4"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}