@phala/cloud 0.0.1

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 ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@phala/cloud",
3
+ "version": "0.0.1",
4
+ "description": "TypeScript SDK for Phala Cloud API",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": ["dist/**/*", "README.md"],
8
+ "scripts": {
9
+ "build": "tsup src/index.ts --format cjs,esm --dts",
10
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
11
+ "fmt": "biome format --write",
12
+ "test": "vitest --run --exclude '**/*.e2e.test.ts'",
13
+ "test:e2e": "vitest --run src/**/*.e2e.test.ts",
14
+ "test:watch": "vitest",
15
+ "lint": "biome lint .",
16
+ "lint:fix": "biome lint --write .",
17
+ "check": "npm run lint && npm run test",
18
+ "type-check": "tsc --noEmit",
19
+ "typecheck": "tsc --noEmit",
20
+ "publish-stable": "npm run build && npm publish --access public"
21
+ },
22
+ "keywords": ["phala", "cloud", "cvm", "tee", "blockchain", "deployment"],
23
+ "author": "Leechael Yim",
24
+ "license": "Apache-2.0",
25
+ "dependencies": {
26
+ "@phala/dstack-sdk": "0.5.0",
27
+ "ofetch": "^1.3.3",
28
+ "viem": "^2.7.0",
29
+ "zod": "^3.22.4"
30
+ },
31
+ "devDependencies": {
32
+ "@biomejs/biome": "^1.9.4",
33
+ "@types/node": "^20.10.0",
34
+ "dotenv": "^16.5.0",
35
+ "tsup": "^8.0.0",
36
+ "typescript": "^5.3.0",
37
+ "vitest": "^1.0.0"
38
+ },
39
+ "peerDependencies": {
40
+ "typescript": ">=4.5.0"
41
+ },
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "https://github.com/Phala-Network/phala-cloud-sdks",
45
+ "directory": "js"
46
+ },
47
+ "engines": {
48
+ "node": ">=18"
49
+ }
50
+ }