-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
86 lines (86 loc) · 2.16 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
{
"name": "react-atomic-context",
"version": "2.0.3",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"description": "Optimized React context",
"types": "./dist/index.d.ts",
"unpkg": "./dist/index.umd.js",
"jsdelivr": "./dist/index.umd.js",
"files": [
"dist"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"./package.json": "./package.json",
"./dist/*": "./dist/*"
},
"directories": {
"example": "example",
"lib": "src",
"test": "tests"
},
"sideEffects": false,
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"test": "tsc --noEmit -p tests/tsconfig.json && tsx tests/index.ts",
"build": "unbuild",
"dev": "live-server ./",
"prepublishOnly": "npm run lint && npm run build && npm test",
"pub": "npx np",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
},
"keywords": [
"react",
"context",
"atomic",
"atom",
"state",
"store"
],
"author": "tingyuan",
"license": "MIT",
"bugs": {
"url": "https://github.com/lovetingyuan/react-atomic-context/issues"
},
"homepage": "https://github.com/lovetingyuan/react-atomic-context#readme",
"devDependencies": {
"@testing-library/react": "^14.1.2",
"@types/node": "^20.10.4",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"global-jsdom": "9.2.0",
"jsdom": "23.0.1",
"tsx": "^4.7.0",
"unbuild": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"typescript": "^5.2.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lovetingyuan/react-atomic-context.git"
}
}