forked from jianjianai/ms-copilot-play
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
26 lines (26 loc) · 1.14 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"name": "microsoft-copilot-porxy",
"version": "0.0.0",
"private": true,
"scripts": {
"download-go-bingai-pass": "wget https://github.com/Harry-zklcdc/go-bingai-pass/releases/latest/download/go-bingai-pass.wasm -O go-bingai-pass.wasm",
"deploy": "npm run build-worker && wrangler deploy",
"dev": "wrangler dev",
"build-worker-only": "rollup --config rollup.config.workers.mjs && cp go-bingai-pass.wasm ./dist/",
"build-page-only": "rollup --config rollup.config.pages.mjs && cp go-bingai-pass.wasm ./functions/",
"build-worker": "npm run download-go-bingai-pass && npm run build-worker-only",
"build-page": "npm run download-go-bingai-pass && npm run build-page-only",
"iptest": "npx tsc ./iptest/iiptest.ts && node ./iptest/iiptest.js"
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
"@cloudflare/vitest-pool-workers": "^0.1.0",
"@cloudflare/workers-types": "^4.20240524.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-typescript": "^11.1.6",
"rollup": "^4.18.0",
"rollup-plugin-html": "^0.2.1",
"typescript": "^5.0.4",
"wrangler": "^3.0.0"
}
}