117 lines
2.7 KiB
JSON
117 lines
2.7 KiB
JSON
{
|
|
"name": "page-agent",
|
|
"private": false,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"main": "./dist/lib/page-agent.js",
|
|
"module": "./dist/lib/page-agent.js",
|
|
"types": "./dist/types/entry.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/types/entry.d.ts",
|
|
"import": "./dist/lib/page-agent.js",
|
|
"default": "./dist/lib/page-agent.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist/lib/",
|
|
"dist/types/",
|
|
"README.md",
|
|
"LICENSE",
|
|
"NOTICE"
|
|
],
|
|
"description": "AI-powered UI agent for web applications - add intelligent automation to any webpage with a single script tag",
|
|
"keywords": [
|
|
"ai",
|
|
"automation",
|
|
"ui-agent",
|
|
"browser-automation",
|
|
"web-agent",
|
|
"llm",
|
|
"dom-interaction",
|
|
"intelligent-ui"
|
|
],
|
|
"author": "Simon<gaomeng1900>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/alibaba/page-agent.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"start": "vite",
|
|
"build": "tsc -b && vite build && npm run build:lib",
|
|
"build:lib": "npm run types:lib && vite build --config vite.lib.config.ts",
|
|
"build:lib:watch": "vite build --config vite.lib.config.ts --watch",
|
|
"types:lib": "tsc -p tsconfig.lib.json",
|
|
"lint": "eslint .",
|
|
"prepare": "husky"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai": "^2.0.22",
|
|
"ai": "^5.0.26",
|
|
"ai-motion": "^0.4.6",
|
|
"chalk": "^5.6.0",
|
|
"zod": "^4.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.8.1",
|
|
"@commitlint/config-conventional": "^19.8.1",
|
|
"@eslint/js": "^9.30.1",
|
|
"@tailwindcss/vite": "^4.1.11",
|
|
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
|
|
"@types/react": "^19.1.8",
|
|
"@types/react-dom": "^19.1.6",
|
|
"@vitejs/plugin-react-swc": "^3.10.2",
|
|
"dotenv": "^17.2.1",
|
|
"eslint": "^9.31.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-react-dom": "^1.52.3",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
"eslint-plugin-react-x": "^1.52.3",
|
|
"globals": "^16.3.0",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.1.2",
|
|
"prettier": "^3.6.2",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"tailwindcss": "^4.1.11",
|
|
"typescript": "^5.9.2",
|
|
"typescript-eslint": "^8.39.0",
|
|
"vite": "^7.0.4",
|
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
"wouter": "^3.7.1"
|
|
},
|
|
"overrides": {
|
|
"zod": "^4.1.3"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
}
|