File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"type" : " module" ,
3
+ "version" : " 1.0.0" ,
3
4
"scripts" : {
4
5
"format" : " prettier --write . && eslint --fix" ,
5
6
"check" : " prettier --check . && eslint"
9
10
"@types/react-dom" : " ^18.2.18" ,
10
11
"eslint" : " ^9.13.0" ,
11
12
"eslint-plugin-react" : " ^7.37.1" ,
12
- "prettier" : " ^3.3.3"
13
+ "prettier" : " ^3.3.3" ,
14
+ "bun-types" : " ^0.5.0"
13
15
},
14
16
"dependencies" : {
15
17
"@pyscript/core" : " ^0.6" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"esModuleInterop" : true ,
4
+ "jsx" : " react-jsx" ,
4
5
"jsxImportSource" : " preact" ,
5
6
"target" : " esnext" ,
6
7
"module" : " esnext" ,
18
19
"resolveJsonModule" : true ,
19
20
"skipLibCheck" : false ,
20
21
"sourceMap" : true ,
21
- "strict" : true
22
+ "strict" : true ,
23
+ "paths" : {
24
+ "react" : [" ./node_modules/preact/compat" ],
25
+ "react-dom" : [" ./node_modules/preact/compat/" ]
26
+ }
22
27
}
23
28
}
You can’t perform that action at this time.
0 commit comments