-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.68 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
{
"name": "@ceramic-sdk/http-client",
"version": "0.2.1",
"author": "3Box Labs",
"license": "(Apache-2.0 OR MIT)",
"keywords": ["ceramic", "http", "client"],
"repository": {
"type": "git",
"url": "https://github.com/ceramicstudio/ceramic-sdk",
"directory": "packages/http-client"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js"
},
"files": ["dist"],
"engines": {
"node": ">=20"
},
"sideEffects": false,
"scripts": {
"generate": "openapi-typescript https://raw.githubusercontent.com/ceramicnetwork/rust-ceramic/main/api-server/api/openapi.yaml -o ./src/__generated__/api.ts",
"build:clean": "del dist",
"build:js": "swc src -d ./dist --config-file ../../.swcrc --strip-leading-paths",
"build:types": "tsc --project tsconfig.json --emitDeclarationOnly --skipLibCheck",
"build": "pnpm build:clean && pnpm build:types && pnpm build:js",
"lint": "eslint src --fix",
"test": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js",
"test:ci": "pnpm run test --ci --coverage",
"prepare": "pnpm build",
"prepublishOnly": "package-check"
},
"dependencies": {
"@ceramic-sdk/events": "workspace:^",
"openapi-fetch": "^0.12.2"
},
"devDependencies": {
"cartonne": "^3.0.1",
"codeco": "^1.4.3",
"multiformats": "^13.3.0",
"openapi-typescript": "^7.4.1",
"type-fest": "^4.26.1"
},
"jest": {
"extensionsToTreatAsEsm": [".ts"],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.(t|j)s$": [
"@swc/jest",
{
"root": "../.."
}
]
}
}
}