-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.68 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 1.68 KB
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
{
"name": "tiny-future",
"description": "A zero-dependency Future/Promise wrapper to resolve or reject a Promise outside its executor.",
"author": "jiang115jie@gmail.com",
"license": "MIT",
"version": "1.2.0",
"type": "module",
"source": "src/future.ts",
"main": "dist/main.cjs",
"module": "dist/main.mjs",
"types": "dist/types.d.ts",
"exports": {
".": {
"types": "./dist/types.d.ts",
"import": "./dist/main.mjs",
"require": "./dist/main.cjs",
"default": "./dist/main.mjs"
},
"./package.json": "./package.json"
},
"files": [
"LICENSE",
"README.md",
"CHANGELOG.md",
"dist"
],
"sideEffects": false,
"scripts": {
"check": "pnpm exec tsc --noEmit",
"lint": "pnpm exec eslint .",
"prebuild": "pnpm run check && pnpm run lint",
"build": "pnpm exec vite build",
"test": "pnpm exec vitest run --coverage",
"test:watch": "pnpm exec vitest",
"test:ui": "pnpm exec vitest --ui",
"predocs": "pnpm dlx rimraf docs",
"docs": "pnpm exec typedoc",
"prepublishOnly": "pnpm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JiangJie/tiny-future.git"
},
"keywords": [
"Promise",
"Future",
"defer",
"deferred",
"tiny",
"async",
"await",
"TaskCompletionSource",
"withResolvers",
"zero-dependency"
],
"devDependencies": {
"@eslint/js": "^10.0.1",
"@stylistic/eslint-plugin": "^5.10.0",
"@vitest/coverage-v8": "^4.1.4",
"eslint": "^10.2.0",
"typedoc": "^0.28.19",
"typescript": "^5.9.3",
"typescript-eslint": "^8.58.1",
"vite": "^8.0.8",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.1.4"
}
}