-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.63 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 3.63 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "appwrite-cli",
"type": "module",
"homepage": "https://appwrite.io/support",
"description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
"version": "14.0.1",
"license": "BSD-3-Clause",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
}
},
"bin": {
"appwrite": "dist/cli.cjs"
},
"repository": {
"type": "git",
"url": "https://github.com/appwrite/sdk-for-cli"
},
"scripts": {
"build": "npm run build:types && npm run build:runtime",
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly",
"build:runtime": "npm run build:lib:esm && npm run build:lib:cjs && npm run build:cli",
"build:lib:esm": "esbuild index.ts --bundle --platform=node --target=node18 --format=esm --loader:.hbs=text --outfile=dist/index.js",
"build:lib:cjs": "esbuild index.ts --bundle --platform=node --target=node18 --format=cjs --loader:.hbs=text --outfile=dist/index.cjs",
"build:cli": "esbuild cli.ts --bundle --platform=node --target=node18 --format=cjs --loader:.hbs=text --external:fsevents --outfile=dist/cli.cjs",
"lint": "eslint .",
"format": "prettier --write \"**/*.{js,ts,json,md}\"",
"generate": "tsx scripts/generate-commands.ts",
"prepublishOnly": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1",
"linux-x64": "bun build cli.ts --compile --sourcemap=inline --target=bun-linux-x64 --outfile build/appwrite-cli-linux-x64",
"linux-arm64": "bun build cli.ts --compile --sourcemap=inline --target=bun-linux-arm64 --outfile build/appwrite-cli-linux-arm64",
"mac-x64": "bun build cli.ts --compile --sourcemap=inline --target=bun-darwin-x64 --outfile build/appwrite-cli-darwin-x64",
"mac-arm64": "bun build cli.ts --compile --sourcemap=inline --target=bun-darwin-arm64 --outfile build/appwrite-cli-darwin-arm64",
"windows-x64": "bun build cli.ts --compile --sourcemap=inline --target=bun-windows-x64 --outfile build/appwrite-cli-win-x64.exe",
"windows-arm64": "esbuild cli.ts --bundle --loader:.hbs=text --platform=node --target=node18 --format=esm --external:fsevents --outfile=dist/bundle-win-arm64.mjs && pkg dist/bundle-win-arm64.mjs -t node18-win-arm64 -o build/appwrite-cli-win-arm64.exe"
},
"dependencies": {
"@appwrite.io/console": "^4.0.0",
"chalk": "4.1.2",
"chokidar": "^3.6.0",
"cli-progress": "^3.12.0",
"cli-table3": "^0.6.2",
"commander": "^9.2.0",
"dotenv": "^16.4.5",
"ejs": "^3.1.9",
"handlebars": "^4.7.7",
"ignore": "^7.0.5",
"inquirer": "^8.2.4",
"inquirer-search-list": "^1.2.6",
"json-bigint": "^1.0.0",
"tail": "^2.2.6",
"tar": "^7.4.3",
"undici": "^5.28.2",
"zod": "^4.3.5"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@types/bun": "^1.3.5",
"eslint": "^9.0.0",
"eslint-plugin-unused-imports": "^4.0.0",
"typescript-eslint": "^8.0.0",
"@types/cli-progress": "^3.11.5",
"@types/inquirer": "^8.2.10",
"@types/json-bigint": "^1.0.4",
"@types/node": "^18.19.0",
"@types/tar": "^6.1.13",
"@yao-pkg/pkg": "^6.11.0",
"esbuild": "^0.27.2",
"prettier": "^3.7.4",
"tsx": "^4.21.0",
"typescript": "^5.3.3"
},
"pkg": {
"scripts": [
"dist/cli.js",
"dist/lib/**/*.js"
]
}
}