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 11{
22 "type" : " module" ,
3+ "version" : " 1.0.0" ,
34 "scripts" : {
45 "format" : " prettier --write . && eslint --fix" ,
56 "check" : " prettier --check . && eslint"
910 "@types/react-dom" : " ^18.2.18" ,
1011 "eslint" : " ^9.13.0" ,
1112 "eslint-plugin-react" : " ^7.37.1" ,
12- "prettier" : " ^3.3.3"
13+ "prettier" : " ^3.3.3" ,
14+ "bun-types" : " ^0.5.0"
1315 },
1416 "dependencies" : {
1517 "@pyscript/core" : " ^0.6" ,
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
33 "esModuleInterop" : true ,
4+ "jsx" : " react-jsx" ,
45 "jsxImportSource" : " preact" ,
56 "target" : " esnext" ,
67 "module" : " esnext" ,
1819 "resolveJsonModule" : true ,
1920 "skipLibCheck" : false ,
2021 "sourceMap" : true ,
21- "strict" : true
22+ "strict" : true ,
23+ "paths" : {
24+ "react" : [" ./node_modules/preact/compat" ],
25+ "react-dom" : [" ./node_modules/preact/compat/" ]
26+ }
2227 }
2328}
You can’t perform that action at this time.
0 commit comments