85 lines
2.9 KiB
JSON
85 lines
2.9 KiB
JSON
{
|
|
"name": "@homarr/custom-widgets",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"src/*"
|
|
]
|
|
}
|
|
},
|
|
"exports": {
|
|
"./authoring-prompt": "./src/core/ai-prompt.ts",
|
|
"./authoring-resources": "./src/core/authoring-resources.ts",
|
|
"./catalog": "./src/core/catalog.ts",
|
|
"./catalog-example": "./src/core/component-example.ts",
|
|
"./core": "./src/core/index.ts",
|
|
"./jsx": "./src/jsx/index.ts",
|
|
"./jsx/analyzer": "./src/jsx/analyzer.ts",
|
|
"./package": "./src/package/index.ts",
|
|
"./package/server": "./src/package/server.ts",
|
|
"./runtime": "./src/runtime/index.ts",
|
|
"./server": "./src/server/index.ts",
|
|
"./workbench/package": "./src/workbench/package-document.ts",
|
|
"./workbench": "./src/workbench/index.ts",
|
|
"./workbench/package-language": "./src/workbench/package-language/index.ts"
|
|
},
|
|
"scripts": {
|
|
"clean": "rm -rf .turbo node_modules",
|
|
"check:architecture": "node ./scripts/check-architecture.mjs",
|
|
"generate:catalog": "tsx ./scripts/generate-component-metadata.ts",
|
|
"generate:components": "pnpm generate:catalog",
|
|
"generate:editor": "node --import tsx ./scripts/build-editor-language-service.ts",
|
|
"generate": "pnpm generate:catalog",
|
|
"evaluate:ai": "tsx ./scripts/evaluate-ai-authoring.ts",
|
|
"test:ai": "tsx ./scripts/evaluate-ai-authoring.ts --ci",
|
|
"test:assistant-ai": "tsx ./scripts/evaluate-ai-authoring.ts --assistant --ci",
|
|
"test:reference-apis": "tsx ./scripts/verify-reference-apis.ts",
|
|
"format": "oxfmt .",
|
|
"lint": "oxlint",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/autocomplete": "catalog:",
|
|
"@codemirror/commands": "catalog:",
|
|
"@codemirror/lang-css": "catalog:",
|
|
"@codemirror/lang-javascript": "catalog:",
|
|
"@codemirror/lang-json": "catalog:",
|
|
"@codemirror/lint": "catalog:",
|
|
"@codemirror/state": "catalog:",
|
|
"@codemirror/theme-one-dark": "catalog:",
|
|
"@codemirror/view": "catalog:",
|
|
"@homarr/common": "workspace:^0.1.0",
|
|
"@homarr/widget-sdk": "workspace:^0.1.0",
|
|
"@mantine/charts": "catalog:",
|
|
"@mantine/core": "catalog:",
|
|
"@mantine/dates": "catalog:",
|
|
"@mantine/hooks": "catalog:",
|
|
"@tabler/icons-react": "catalog:",
|
|
"@tanstack/react-query": "catalog:",
|
|
"acorn": "catalog:",
|
|
"acorn-jsx": "catalog:",
|
|
"codemirror": "catalog:",
|
|
"esbuild": "catalog:",
|
|
"jsonpath-plus": "catalog:",
|
|
"react": "catalog:",
|
|
"undici": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@homarr/tsconfig": "workspace:^0.1.0",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"jsdom": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"typescript": "catalog:",
|
|
"typescript-compiler-api": "npm:typescript@6.0.2",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|