-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
73 lines (73 loc) · 2.31 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "@stable-canvas/sd-webui-a1111-client",
"version": "1.1.6",
"description": "API client for AUTOMATIC1111/stable-diffusion-webui for Node.js and Browser.",
"source": "src/main.ts",
"main": "dist/main.umd.js",
"module": "dist/main.module.mjs",
"unpkg": "dist/main.umd.js",
"types": "./dist/main.d.ts",
"exports": {
"types": "./dist/main.d.ts",
"require": "./dist/main.js",
"default": "./dist/main.modern.mjs"
},
"keywords": [
"stable diffusion",
"webui",
"diffusion",
"ai",
"ai art",
"api",
"a1111",
"a1111-stable-diffusion-webui",
"stable-diffusion-webui"
],
"files": [
"dist/**.js*",
"dist/**.mjs*",
"dist/**/*.ts"
],
"scripts": {
"build-dts": "rollup -c rollup.dts.config.js",
"build-js": "microbundle --define process.env.NODE_ENV=production,PKG_VERSION=$npm_package_version",
"build": "pnpm generate-client && pnpm build-js && pnpm build-dts",
"watch": "microbundle watch --define process.env.NODE_ENV=development,PKG_VERSION=$npm_package_version --compress false",
"dev": "pnpm watch",
"start": "pnpm build",
"prepack": "rm -rf dist && pnpm run build",
"preprocess-openapi": "node ./scripts/preprocess-openapi.js",
"generate-openapi": "openapi --input ./openapi-cleaned.json --output ./src/client --name SDWebUIA1111Client --useOptions --useUnionTypes ",
"generate-client": "pnpm preprocess-openapi && pnpm generate-openapi",
"gen": "pnpm generate-client",
"test": "jest",
"build:docs": "typedoc --skipErrorChecking"
},
"license": "Apache-2.0",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/StableCanvas/sd-webui-a1111-client.git"
},
"author": "zhzluke96",
"bugs": {
"url": "https://github.com/StableCanvas/sd-webui-a1111-client/issues"
},
"homepage": "https://github.com/StableCanvas/sd-webui-a1111-client#readme",
"devDependencies": {
"@types/node": "^20.4.2",
"microbundle": "^0.15.1",
"openapi-typescript-codegen": "^0.25.0",
"rollup": "^2.79.1",
"rollup-plugin-dts": "^5.3.0",
"ts-node": "^10.9.1",
"tslib": "^2.6.0",
"typedoc": "^0.25.13",
"typescript": "^5.1.6",
"url-pattern": "^1.0.3",
"eventemitter3": "^5.0.1"
}
}