Files
page-agent/package.json
T

131 lines
3.9 KiB
JSON
Raw Normal View History

2025-09-29 16:33:15 +08:00
{
2026-01-20 14:08:42 +08:00
"name": "root",
"private": true,
2026-04-15 03:11:14 +08:00
"version": "1.8.0",
2026-01-20 14:08:42 +08:00
"type": "module",
"workspaces": [
"packages/page-controller",
"packages/ui",
"packages/llms",
"packages/core",
"packages/page-agent",
2026-03-18 03:12:20 +08:00
"packages/mcp",
"packages/extension",
2026-01-20 14:08:42 +08:00
"packages/website"
],
"description": "AI-powered UI agent for web applications",
"author": "Simon<gaomeng1900>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alibaba/page-agent.git"
},
"homepage": "https://alibaba.github.io/page-agent/",
"engines": {
"node": "^22.13.0 || >=24"
2026-01-20 14:08:42 +08:00
},
"scripts": {
"start": "npm run dev --workspace=@page-agent/website",
2026-03-09 17:15:16 +08:00
"dev:ext": "npm run dev -w @page-agent/ext",
2026-01-21 00:44:09 +08:00
"dev:demo": "npm run dev:demo --workspace=page-agent",
2026-04-15 17:44:37 +08:00
"build": "node scripts/build.js",
"build:libs": "node scripts/build-libs.js",
2026-03-09 17:15:16 +08:00
"build:website": "npm run build:website --workspace=@page-agent/website",
"build:ext": "npm run zip -w @page-agent/ext",
2026-01-20 14:08:42 +08:00
"version": "node scripts/sync-version.js",
2026-04-12 03:16:13 +08:00
"postpublish": "npm run postpublish --workspaces --if-present",
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json && tsc --noEmit -p packages/extension/tsconfig.json",
2026-01-20 14:08:42 +08:00
"lint": "eslint .",
"ci": "node scripts/ci.js",
"cleanup": "rm -rf packages/*/dist && rm -rf packages/*/.output",
2026-04-08 21:16:29 +08:00
"prepare": "husky || true"
2026-01-20 14:08:42 +08:00
},
"devDependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
2026-04-08 22:00:29 +08:00
"@eslint-react/eslint-plugin": "^4.2.3",
"@eslint/js": "^10.0.1",
"@microsoft/api-extractor": "^7.58.2",
"@tailwindcss/vite": "^4.2.2",
2026-01-20 14:08:42 +08:00
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/node": "^25.6.0",
"@vitejs/plugin-react-swc": "^4.3.0",
2026-02-03 13:39:47 +08:00
"chalk": "^5.6.2",
2026-01-20 14:08:42 +08:00
"concurrently": "^9.2.1",
"dotenv": "^17.4.2",
2026-04-08 22:00:29 +08:00
"eslint": "^10.2.0",
"globals": "^17.5.0",
2026-01-20 14:08:42 +08:00
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.2",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.2",
2026-01-20 14:08:42 +08:00
"unplugin-dts": "^1.0.0-beta.6",
"vite": "^7.3.2",
"vite-bundle-analyzer": "^1.3.7",
"vite-plugin-css-injected-by-js": "^4.0.1"
2026-01-20 14:08:42 +08:00
},
"overrides": {
"typescript": "^6.0.2",
2026-04-08 21:16:29 +08:00
"@vitejs/plugin-react": "^5.2.0"
2026-01-20 14:08:42 +08:00
},
"lint-staged": {
"*.{js,ts,cjs,cts,mjs,mts}": [
"npx prettier --write --ignore-unknown",
"npx eslint --quiet"
],
"*.{jsx,tsx}": [
"npx prettier --write --ignore-unknown",
"npx eslint --quiet"
],
"*.css": [
"npx prettier --write --ignore-unknown"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
0,
"never"
]
}
},
"prettier": {
"singleQuote": true,
"semi": false,
"useTabs": true,
"printWidth": 100,
"trailingComma": "es5",
"plugins": [
"@trivago/prettier-plugin-sort-imports"
],
"importOrder": [
"<THIRD_PARTY_MODULES>",
"^(@/).*(?<!css)$",
"^[./].*(?<!css)$",
".css$"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"overrides": [
{
"files": "*.md",
"options": {
"useTabs": false,
"tabWidth": 4
}
},
{
"files": "*.json",
"options": {
"useTabs": false,
"tabWidth": 4
}
}
]
}
2025-09-29 16:33:15 +08:00
}