-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.96 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 1.96 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
{
"name": "@bitgo/wasm-mps",
"description": "WebAssembly wrapper for multi-party-schnorr protocol",
"version": "0.0.1",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/BitGo/BitGoWASM"
},
"license": "MIT",
"files": [
"dist/esm/js/**/*",
"dist/cjs/js/**/*",
"dist/cjs/package.json",
"dist/web/js/**/*"
],
"exports": {
".": {
"import": {
"types": "./dist/esm/js/index.d.ts",
"default": "./dist/esm/js/index.js"
},
"require": {
"types": "./dist/cjs/js/index.d.ts",
"default": "./dist/cjs/js/index.js"
}
},
"./web": {
"types": "./dist/web/js/wasm/wasm_mps.d.ts",
"default": "./dist/web/js/wasm/wasm_mps.js"
}
},
"main": "./dist/cjs/js/index.js",
"module": "./dist/esm/js/index.js",
"types": "./dist/esm/js/index.d.ts",
"typesVersions": {
"*": {
"web": [
"./dist/web/js/wasm/wasm_mps.d.ts"
]
}
},
"sideEffects": [
"./dist/esm/js/wasm/wasm_mps.js",
"./dist/cjs/js/wasm/wasm_mps.js"
],
"scripts": {
"test": "npm run test:mocha",
"test:mocha": "mocha --recursive test",
"build:wasm": "make js/wasm && make dist/esm/js/wasm && make dist/cjs/js/wasm && make dist/web/js/wasm",
"build:ts-esm": "tsc",
"build:ts-cjs": "tsc --project tsconfig.cjs.json",
"build:ts": "npm run build:ts-esm && npm run build:ts-cjs",
"build:package-json": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build": "npm run build:wasm && npm run build:ts && npm run build:package-json",
"check-fmt": "prettier --check . && cargo fmt -- --check",
"lint": "cargo fmt --check && cargo clippy --all-targets --all-features -- -D warnings"
},
"devDependencies": {
"libsodium-wrappers-sumo": "0.8.2",
"mocha": "10.6.0",
"tsx": "4.20.6",
"typescript": "5.5.3"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}