-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.38 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
{
"name": "jotai-derive",
"version": "0.1.2",
"type": "module",
"description": "Jōtai utilities that help with asynchronous atoms",
"packageManager": "[email protected]",
"author": "Iwo Plaza",
"license": "MIT",
"source": "./src/index.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"sideEffects": false,
"files": ["src", "dist"],
"scripts": {
"compile": "rm -rf dist && pnpm run '/^compile:.*/'",
"compile:esm": "tsc -p tsconfig.esm.json",
"compile:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"test": "pnpm run '/^test:.*/'",
"test:biome": "biome check --write",
"test:types": "tsc -p . --noEmit",
"test:spec": "vitest run",
"prepublishOnly": "pnpm compile"
},
"keywords": [
"jotai",
"react",
"async",
"asynchronous",
"promise",
"derive",
"derived"
],
"peerDependencies": {
"jotai": ">=2.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/node": "^20.14.9",
"happy-dom": "^14.12.3",
"jotai": "^2.8.0",
"jotai-derive": "link:.",
"remeda": "^2.3.0",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vitest": "^1.6.0"
}
}