109 lines
2.4 KiB
JSON
109 lines
2.4 KiB
JSON
{
|
|
"name": "@a2ui/lit",
|
|
"version": "0.8.1",
|
|
"description": "A2UI Lit Library",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/src/index.d.ts",
|
|
"default": "./dist/src/index.js"
|
|
},
|
|
"./0.8": {
|
|
"types": "./dist/src/0.8/core.d.ts",
|
|
"default": "./dist/src/0.8/core.js"
|
|
},
|
|
"./ui": {
|
|
"types": "./dist/src/0.8/ui/ui.d.ts",
|
|
"default": "./dist/src/0.8/ui/ui.js"
|
|
}
|
|
},
|
|
"type": "module",
|
|
"scripts": {
|
|
"prepack": "npm run build",
|
|
"build": "wireit",
|
|
"build:tsc": "wireit",
|
|
"dev": "npm run serve --watch",
|
|
"test": "wireit",
|
|
"serve": "wireit",
|
|
"copy-spec": "wireit"
|
|
},
|
|
"wireit": {
|
|
"copy-spec": {
|
|
"command": "mkdir -p src/0.8/schemas && cp ../../specification/0.8/json/*.json src/0.8/schemas",
|
|
"files": [
|
|
"../../specification/0.8/json/*.json"
|
|
],
|
|
"output": [
|
|
"src/0.8/schemas/*.json"
|
|
]
|
|
},
|
|
"serve": {
|
|
"command": "vite dev",
|
|
"dependencies": [
|
|
"build"
|
|
],
|
|
"service": true
|
|
},
|
|
"test": {
|
|
"command": "node --test --enable-source-maps --test-reporter spec dist/src/0.8/*.test.js",
|
|
"dependencies": [
|
|
"build"
|
|
]
|
|
},
|
|
"build": {
|
|
"dependencies": [
|
|
"build:tsc"
|
|
]
|
|
},
|
|
"build:tsc": {
|
|
"command": "tsc -b --pretty",
|
|
"env": {
|
|
"FORCE_COLOR": "1"
|
|
},
|
|
"dependencies": [
|
|
"copy-spec"
|
|
],
|
|
"files": [
|
|
"src/**/*.ts",
|
|
"src/**/*.json",
|
|
"tsconfig.json"
|
|
],
|
|
"output": [
|
|
"dist/",
|
|
"!dist/**/*.min.js{,.map}"
|
|
],
|
|
"clean": "if-file-deleted"
|
|
}
|
|
},
|
|
"repository": {
|
|
"directory": "renderers/lit",
|
|
"type": "git",
|
|
"url": "git+https://github.com/google/A2UI.git"
|
|
},
|
|
"files": [
|
|
"dist/src"
|
|
],
|
|
"keywords": [],
|
|
"author": "Google",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/google/A2UI/issues"
|
|
},
|
|
"homepage": "https://github.com/google/A2UI/tree/main/web#readme",
|
|
"devDependencies": {
|
|
"@types/markdown-it": "^14.1.2",
|
|
"@types/node": "^24.10.1",
|
|
"google-artifactregistry-auth": "^3.5.0",
|
|
"typescript": "^5.8.3",
|
|
"wireit": "^0.15.0-pre.2"
|
|
},
|
|
"dependencies": {
|
|
"@lit-labs/signals": "^0.1.3",
|
|
"@lit/context": "^1.1.4",
|
|
"lit": "^3.3.1",
|
|
"markdown-it": "^14.1.0",
|
|
"signal-utils": "^0.21.1"
|
|
}
|
|
}
|