page-agent 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "page-agent",
3
3
  "private": false,
4
- "version": "0.0.4",
4
+ "version": "0.0.6",
5
5
  "type": "module",
6
6
  "main": "./dist/lib/page-agent.js",
7
7
  "module": "./dist/lib/page-agent.js",
@@ -14,21 +14,22 @@
14
14
  }
15
15
  },
16
16
  "files": [
17
- "dist/lib/",
17
+ "dist/",
18
18
  "README.md",
19
- "LICENSE",
20
- "NOTICE"
19
+ "LICENSE"
21
20
  ],
22
- "description": "AI-powered UI agent for web applications - add intelligent automation to any webpage with a single script tag",
21
+ "description": "GUI agent for web applications - add intelligent automation to any webpage with a single script",
23
22
  "keywords": [
24
23
  "ai",
25
24
  "automation",
26
25
  "ui-agent",
26
+ "GUI-agent",
27
27
  "browser-automation",
28
28
  "web-agent",
29
29
  "llm",
30
30
  "dom-interaction",
31
- "intelligent-ui"
31
+ "web-automation",
32
+ "GUI-simulation"
32
33
  ],
33
34
  "author": "Simon<gaomeng1900>",
34
35
  "license": "MIT",
@@ -37,18 +38,13 @@
37
38
  "url": "https://github.com/alibaba/page-agent.git"
38
39
  },
39
40
  "homepage": "https://alibaba.github.io/page-agent/",
40
- "engines": {
41
- "node": ">=20.0.0"
42
- },
43
41
  "scripts": {
44
- "dev": "vite",
45
- "start": "vite",
46
- "build": "tsc -b && vite build && npm run build:lib && npm run build:umd",
42
+ "build": "MODE=lib vite build && MODE=umd vite build",
47
43
  "build:lib": "MODE=lib vite build",
48
- "build:lib:watch": "MODE=lib vite build --watch",
49
44
  "build:umd": "MODE=umd vite build",
50
- "lint": "eslint .",
51
- "prepare": "husky"
45
+ "build:watch": "MODE=lib vite build --watch",
46
+ "prepublishOnly": "node -e \"const fs=require('fs');['README.md','LICENSE'].forEach(f=>fs.copyFileSync('../../'+f,f))\"",
47
+ "postpublish": "node -e \"['README.md','LICENSE'].forEach(f=>{try{require('fs').unlinkSync(f)}catch{}})\""
52
48
  },
53
49
  "dependencies": {
54
50
  "ai-motion": "^0.4.7",
@@ -56,79 +52,8 @@
56
52
  "zod": "^4.1.12"
57
53
  },
58
54
  "devDependencies": {
59
- "@commitlint/cli": "^20.1.0",
60
- "@commitlint/config-conventional": "^20.0.0",
61
- "@eslint/js": "^9.37.0",
62
- "@microsoft/api-extractor": "^7.53.1",
63
- "@tailwindcss/vite": "^4.1.14",
64
- "@trivago/prettier-plugin-sort-imports": "^5.2.2",
65
- "@types/react": "^19.2.2",
66
- "@types/react-dom": "^19.2.1",
67
- "@vitejs/plugin-react-swc": "^4.1.0",
68
- "dotenv": "^17.2.3",
69
- "eslint": "^9.37.0",
70
- "eslint-config-prettier": "^10.1.8",
71
- "eslint-plugin-react-dom": "^2.0.6",
72
- "eslint-plugin-react-hooks": "^7.0.0",
73
- "eslint-plugin-react-refresh": "^0.4.23",
74
- "eslint-plugin-react-x": "^2.0.6",
75
- "globals": "^16.4.0",
76
- "husky": "^9.1.7",
77
- "i18next": "^25.6.0",
78
- "i18next-browser-languagedetector": "^8.2.0",
79
- "lint-staged": "^16.2.4",
80
- "prettier": "^3.6.2",
81
- "react": "^19.2.0",
82
- "react-dom": "^19.2.0",
83
- "react-i18next": "^16.1.4",
84
- "tailwindcss": "^4.1.14",
85
- "typescript": "^5.9.3",
86
- "typescript-eslint": "^8.46.0",
55
+ "@microsoft/api-extractor": "^7.55.1",
87
56
  "unplugin-dts": "^1.0.0-beta.6",
88
- "vite": "^7.1.9",
89
- "vite-plugin-css-injected-by-js": "^3.5.2",
90
- "wouter": "^3.7.1"
91
- },
92
- "lint-staged": {
93
- "*.{js,ts,cjs,cts,mjs,mts}": [
94
- "npx prettier --write --ignore-unknown",
95
- "npx eslint --quiet"
96
- ],
97
- "*.{jsx,tsx}": [
98
- "npx prettier --write --ignore-unknown",
99
- "npx eslint --quiet"
100
- ],
101
- "*.css": [
102
- "npx prettier --write --ignore-unknown"
103
- ]
104
- },
105
- "commitlint": {
106
- "extends": [
107
- "@commitlint/config-conventional"
108
- ],
109
- "rules": {
110
- "subject-case": [
111
- 0,
112
- "never"
113
- ]
114
- }
115
- },
116
- "prettier": {
117
- "singleQuote": true,
118
- "semi": false,
119
- "useTabs": true,
120
- "printWidth": 100,
121
- "trailingComma": "es5",
122
- "plugins": [
123
- "@trivago/prettier-plugin-sort-imports"
124
- ],
125
- "importOrder": [
126
- "<THIRD_PARTY_MODULES>",
127
- "^(@/).*(?<!css)$",
128
- "^[./].*(?<!css)$",
129
- ".css$"
130
- ],
131
- "importOrderSeparation": true,
132
- "importOrderSortSpecifiers": true
57
+ "vite-plugin-css-injected-by-js": "^3.5.2"
133
58
  }
134
59
  }