@bitgo/wasm-mps 0.0.1 → 1.0.0
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/README.md +3 -0
- package/package.json +51 -5
package/README.md
ADDED
package/package.json
CHANGED
|
@@ -1,11 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitgo/wasm-mps",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"description": "WebAssembly wrapper for multi-party-schnorr protocol",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/BitGo/BitGoWASM"
|
|
9
|
+
},
|
|
5
10
|
"license": "MIT",
|
|
6
|
-
"
|
|
7
|
-
|
|
11
|
+
"files": [
|
|
12
|
+
"dist/esm/js/**/*",
|
|
13
|
+
"dist/cjs/js/**/*",
|
|
14
|
+
"dist/cjs/package.json"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": {
|
|
19
|
+
"types": "./dist/esm/js/index.d.ts",
|
|
20
|
+
"default": "./dist/esm/js/index.js"
|
|
21
|
+
},
|
|
22
|
+
"require": {
|
|
23
|
+
"types": "./dist/cjs/js/index.d.ts",
|
|
24
|
+
"default": "./dist/cjs/js/index.js"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"main": "./dist/cjs/js/index.js",
|
|
29
|
+
"module": "./dist/esm/js/index.js",
|
|
30
|
+
"types": "./dist/esm/js/index.d.ts",
|
|
31
|
+
"sideEffects": [
|
|
32
|
+
"./dist/esm/js/wasm/wasm_mps.js",
|
|
33
|
+
"./dist/cjs/js/wasm/wasm_mps.js"
|
|
34
|
+
],
|
|
8
35
|
"scripts": {
|
|
9
|
-
"test": "
|
|
36
|
+
"test": "npm run test:mocha",
|
|
37
|
+
"test:mocha": "mocha --recursive test",
|
|
38
|
+
"build:wasm": "make js/wasm && make dist/esm/js/wasm && make dist/cjs/js/wasm",
|
|
39
|
+
"build:ts-esm": "tsc",
|
|
40
|
+
"build:ts-cjs": "tsc --project tsconfig.cjs.json",
|
|
41
|
+
"build:ts": "npm run build:ts-esm && npm run build:ts-cjs",
|
|
42
|
+
"build:package-json": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
43
|
+
"build": "npm run build:wasm && npm run build:ts && npm run build:package-json",
|
|
44
|
+
"check-fmt": "prettier --check . && cargo fmt -- --check",
|
|
45
|
+
"lint": "cargo fmt --check && cargo clippy --all-targets --all-features -- -D warnings"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"libsodium-wrappers-sumo": "0.8.2",
|
|
49
|
+
"mocha": "10.6.0",
|
|
50
|
+
"tsx": "4.20.6",
|
|
51
|
+
"typescript": "5.5.3"
|
|
52
|
+
},
|
|
53
|
+
"publishConfig": {
|
|
54
|
+
"access": "public",
|
|
55
|
+
"registry": "https://registry.npmjs.org/"
|
|
10
56
|
}
|
|
11
57
|
}
|