-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.56 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.56 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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@blac/react",
"version": "2.0.12",
"license": "MIT",
"author": "Brendan Mullins <jsnanigans@gmail.com>",
"description": "React bindings for BlaC — useBloc hook with automatic re-render optimization",
"repository": {
"type": "git",
"url": "git+https://github.com/jsnanigans/blac.git",
"directory": "packages/blac-react"
},
"homepage": "https://github.com/jsnanigans/blac#readme",
"bugs": {
"url": "https://github.com/jsnanigans/blac/issues"
},
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"testing": [
"./dist/testing.d.ts"
]
}
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./testing": {
"import": {
"types": "./dist/testing.d.ts",
"default": "./dist/testing.js"
},
"require": {
"types": "./dist/testing.d.cts",
"default": "./dist/testing.cjs"
}
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"keywords": [
"react",
"typescript",
"state-management",
"reactjs",
"observer-pattern",
"bloc",
"bloc-pattern"
],
"scripts": {
"dev": "vp pack --watch",
"build": "vp pack && tsc -p tsconfig.build.json && cp dist/index.d.ts dist/index.d.cts && cp dist/testing.d.ts dist/testing.d.cts",
"clean": "rm -rf dist",
"format": "vp fmt \".\"",
"format:check": "vp fmt \".\" --check",
"lint": "vp lint src",
"lint:fix": "vp lint src --fix",
"test": "vp test run",
"test:watch": "vp test --watch",
"test:memory": "NODE_OPTIONS='--expose-gc' vp test run --config vitest.config.performance.ts",
"test:performance": "vp test run --config vitest.config.performance.ts",
"test:compiler": "vp test run --config vitest.config.compiler.ts",
"test:watch:compiler": "vp test --watch --config vitest.config.compiler.ts",
"test:both": "pnpm test && echo '\n\n=== Running tests WITH React Compiler ===\n' && pnpm test:compiler",
"verify": "node ../../scripts/run-workspace-bin.mjs publint",
"typecheck": "tsc --noEmit",
"prepublishOnly": "echo 'Skipping prepublishOnly - build should be done at root level'",
"deploy": "pnpm publish --access public"
},
"dependencies": {
"@blac/adapter": "workspace:^"
},
"peerDependencies": {
"@blac/core": "workspace:^",
"@testing-library/react": "^14.0.0 || ^15.0.0 || ^16.0.0",
"@types/react": "^18.0.0 || ^19.0.0",
"react": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
},
"@testing-library/react": {
"optional": true
}
},
"devDependencies": {
"@blac/core": "workspace:*",
"@testing-library/dom": "catalog:",
"@testing-library/jest-dom": "catalog:",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "catalog:",
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"@vitejs/plugin-react": "^4.7.0",
"babel-plugin-react-compiler": "^1.0.0",
"happy-dom": "catalog:",
"jsdom": "catalog:",
"publint": "catalog:",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"typescript": "catalog:",
"vite": "catalog:",
"vitest": "catalog:",
"vite-plus": "catalog:"
}
}