-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.09 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
{
"name": "@decent-stuff/ledger-map",
"version": "0.4.2",
"description": "WebAssembly build of ledger-map for browser usage",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"clean": "rm -rf dist",
"build:wasm": "RUSTFLAGS='--cfg getrandom_backend=\"wasm_js\"' wasm-pack build --target web --out-dir dist/wasm --features browser",
"build:ts": "tsc",
"build": "npm run clean && npm run build:wasm && npm run build:ts",
"test": "npm run test:wasm && npm run test:ts",
"test:wasm": "RUSTFLAGS='--cfg getrandom_backend=\"wasm_js\"' wasm-pack test --node --features browser",
"test:ts": "jest",
"prepare": "npm run build"
},
"keywords": [
"wasm",
"ledger",
"key-value",
"storage"
],
"author": "decent-cloud",
"license": "MIT OR Apache-2.0",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"ts-jest": "^29.1.0",
"typescript": "^5.7.3",
"rimraf": "^6.0.1"
}
}