-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.08 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.08 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
{
"name": "@icp-sdk/bindgen",
"version": "0.3.0",
"description": "Generate TypeScript bindings for Candid",
"author": "DFINITY Stiftung <sdk@dfinity.org>",
"license": "Apache-2.0",
"homepage": "https://js.icp.build/bindgen/",
"repository": {
"type": "git",
"url": "git+https://github.com/dfinity/icp-js-bindgen.git"
},
"bugs": {
"url": "https://github.com/dfinity/icp-js-bindgen/issues"
},
"keywords": [
"internet computer",
"icp",
"bindgen",
"codegen",
"candid",
"did",
"bindings",
"typescript",
"javascript"
],
"bin": {
"icp-bindgen": "./dist/esm/cli/icp-bindgen.js"
},
"files": [
"dist",
"package.json",
"README.md",
"LICENSE"
],
"type": "module",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"types": {
"import": "./dist/esm/index.d.ts",
"require": "./dist/cjs/index.d.cts"
},
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"./core": {
"types": "./dist/esm/core/index.d.ts",
"import": "./dist/esm/core/index.js",
"require": "./dist/cjs/core/index.cjs"
},
"./plugins/vite": {
"types": "./dist/esm/plugins/vite.d.ts",
"import": "./dist/esm/plugins/vite.js",
"require": "./dist/cjs/plugins/vite.cjs"
}
},
"scripts": {
"build:wasm": "wasm-pack build ./src/core/generate/rs --target web --out-name icp-js-bindgen --out-dir ./dist ${RS_MODE_FLAG:---release} --no-pack",
"build": "pnpm build:wasm && pnpm vite build && pnpm lint:package",
"test": "vitest",
"codestyle:check": "biome check",
"codestyle:fix": "biome check --write",
"lint:package": "publint --strict"
},
"packageManager": "pnpm@10.13.1",
"devDependencies": {
"@biomejs/biome": "2.4.8",
"@tanstack/vite-config": "^0.5.2",
"@types/node": "^24.12.0",
"memfs": "^4.57.1",
"publint": "^0.3.18",
"tinyglobby": "^0.2.15",
"typescript": "^5.9.3",
"vite": "^8.0.2",
"vitest": "4.1.0",
"wasm-pack": "^0.14.0"
},
"dependencies": {
"commander": "^14.0.3"
}
}