chore: simplify published pkg

This commit is contained in:
Simon
2025-12-01 21:05:10 +08:00
parent 25098f8772
commit 2d66915570
3 changed files with 10 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "root", "name": "root",
"private": true, "private": true,
"version": "0.0.5", "version": "0.0.6",
"type": "module", "type": "module",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"

View File

@@ -1,7 +1,7 @@
{ {
"name": "page-agent", "name": "page-agent",
"private": false, "private": false,
"version": "0.0.5", "version": "0.0.6",
"type": "module", "type": "module",
"main": "./dist/lib/page-agent.js", "main": "./dist/lib/page-agent.js",
"module": "./dist/lib/page-agent.js", "module": "./dist/lib/page-agent.js",
@@ -16,26 +16,26 @@
"files": [ "files": [
"dist/", "dist/",
"README.md", "README.md",
"README-zh.md",
"LICENSE" "LICENSE"
], ],
"description": "AI-powered UI agent for web applications - add intelligent automation to any webpage with a single script tag", "description": "GUI agent for web applications - add intelligent automation to any webpage with a single script",
"keywords": [ "keywords": [
"ai", "ai",
"automation", "automation",
"ui-agent", "ui-agent",
"GUI-agent",
"browser-automation", "browser-automation",
"web-agent", "web-agent",
"llm", "llm",
"dom-interaction", "dom-interaction",
"intelligent-ui" "web-automation",
"GUI-simulation"
], ],
"author": "Simon<gaomeng1900>", "author": "Simon<gaomeng1900>",
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/alibaba/page-agent.git", "url": "https://github.com/alibaba/page-agent.git"
"directory": "packages/page-agent"
}, },
"homepage": "https://alibaba.github.io/page-agent/", "homepage": "https://alibaba.github.io/page-agent/",
"scripts": { "scripts": {
@@ -43,8 +43,8 @@
"build:lib": "MODE=lib vite build", "build:lib": "MODE=lib vite build",
"build:umd": "MODE=umd vite build", "build:umd": "MODE=umd vite build",
"build:watch": "MODE=lib vite build --watch", "build:watch": "MODE=lib vite build --watch",
"prepublishOnly": "node -e \"const fs=require('fs');['README.md','README-zh.md','LICENSE'].forEach(f=>fs.copyFileSync('../../'+f,f))\"", "prepublishOnly": "node -e \"const fs=require('fs');['README.md','LICENSE'].forEach(f=>fs.copyFileSync('../../'+f,f))\"",
"postpublish": "node -e \"['README.md','README-zh.md','LICENSE'].forEach(f=>{try{require('fs').unlinkSync(f)}catch{}})\"" "postpublish": "node -e \"['README.md','LICENSE'].forEach(f=>{try{require('fs').unlinkSync(f)}catch{}})\""
}, },
"dependencies": { "dependencies": {
"ai-motion": "^0.4.7", "ai-motion": "^0.4.7",

View File

@@ -1,7 +1,7 @@
{ {
"name": "@page-agent/website", "name": "@page-agent/website",
"private": true, "private": true,
"version": "0.0.5", "version": "0.0.6",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",