-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 2.96 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
{
"name": "use-mutable-source",
"version": "0.2.0",
"description": "Minimal and elegant way to integrate any library with React",
"keywords": [
"react",
"use-mutable-source",
"state",
"store",
"hooks"
],
"homepage": "https://paol-imi.github.io/use-mutable-source",
"bugs": "https://github.com/paol-imi/use-mutable-source/issues",
"repository": "github:paol-imi/use-mutable-source",
"license": "MIT",
"author": {
"name": "Paolo Longo",
"email": "[email protected]",
"url": "https://github.com/paol-imi"
},
"sideEffects": false,
"types": "./index.d.ts",
"module": "./index.esm.js",
"main": "./index.js",
"exports": {
".": {
"types": "./index.d.ts",
"module": "./index.esm.js",
"import": "./index.esm.js",
"default": "./index.js"
},
"./atomic": {
"types": "./atomic/index.d.ts",
"module": "./atomic/index.esm.js",
"import": "./atomic/index.esm.js",
"default": "./atomic/index.js"
},
"./with-contract": {
"types": "./with-contract/index.d.ts",
"module": "./with-contract/index.esm.js",
"import": "./with-contract/index.esm.js",
"default": "./with-contract/index.js"
},
"./with-contract/atomic": {
"types": "./with-contract/atomic/index.d.ts",
"module": "./with-contract/atomic/index.esm.js",
"import": "./with-contract/atomic/index.esm.js",
"default": "./with-contract/atomic/index.js"
}
},
"files": [
"/atomic",
"/dist",
"/with-contract",
"/index.d.ts",
"/index.esm.js",
"/index.js",
"/index.native.js"
],
"scripts": {
"build:js": "rollup --config rollup.config.ts --configPlugin rollup-plugin-esbuild",
"build:types": "tsc --declaration --declarationDir dist/types --emitDeclarationOnly",
"eslint": "eslint",
"prettier": "prettier --write .",
"test": "vitest",
"coverage": "vitest run --coverage",
"prepublishOnly": "vitest run && npm run prettier && npm run eslint && npm run build:js && npm run build:types"
},
"devDependencies": {
"@rollup/plugin-replace": "^4.0.0",
"@types/node": "^18.7.16",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@types/use-sync-external-store": "^0.0.3",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"@vitejs/plugin-react": "^2.1.0",
"@vitest/coverage-c8": "^0.23.2",
"esbuild": "^0.15.7",
"eslint": "^8.23.0",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"happy-dom": "^6.0.4",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "2.79.0",
"rollup-plugin-esbuild": "^4.10.1",
"tslib": "^2.4.0",
"typescript": "^4.8.3",
"vite": "^3.1.0",
"vitest": "^0.23.2"
},
"peerDependencies": {
"react": "^16.8 || ^17.0 || ^18.0"
},
"dependencies": {
"use-sync-external-store": "^1.2.0"
},
"packageManager": "[email protected]"
}