37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
// note: @jsxImportSource pragma seems to be needed for compile to work
|
|
"compilerOptions": {
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "preact"
|
|
},
|
|
"fmt": {
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"semiColons": true,
|
|
"indentWidth": 2
|
|
},
|
|
"lint": {
|
|
"rules": {
|
|
"exclude": ["no-empty-interface"]
|
|
}
|
|
},
|
|
"imports": {
|
|
"CssModule": "./declaration.d.ts",
|
|
"preact": "https://esm.sh/preact@10.17.1",
|
|
"preact/hooks": "https://esm.sh/preact@10.17.1/hooks",
|
|
"preact/jsx-runtime": "https://esm.sh/preact@10.17.1/jsx-runtime",
|
|
"stew/components": "./stew-library/components/mod.ts",
|
|
"stew/config": "./stew-library/config/mod.ts",
|
|
"stew/config/helpers": "./stew-library/config/helpers/mod.ts",
|
|
"stew/utilities": "./stew-library/utilities/mod.ts"
|
|
},
|
|
"tasks": {
|
|
"writeClientBundleAssets": "deno run -A ./development-scripts/writeClientBundleAssets.ts",
|
|
"serveStewBuild": "deno run -A ./development-scripts/serveStewBuild.ts",
|
|
"runStewCommand": "deno run -A ./stew-command/main.ts",
|
|
"buildStewExample": "deno task runStewCommand build ./stew-example/stew.config.ts",
|
|
"buildAndServeStewExample": "rm -rf ./build_hello-stew && deno task writeClientBundleAssets && deno task buildStewExample && deno task serveStewBuild ./build_hello-stew"
|
|
}
|
|
}
|