-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.51 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.51 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
{
"name": "@nmshd/rs-crypto-node",
"version": "0.16.2",
"description": "Node.js Addon providing TypeScript bindings for rust-crypto (crypto-layer).",
"homepage": "https://enmeshed.eu",
"repository": "github:nmshd/crypto-layer-node",
"license": "MIT",
"author": "j&s-soft AG",
"main": "./lib/index.cjs",
"scripts": {
"test": "tsc && npx --node-options=\"--expose-gc\" jest",
"cargo-build": "tsc &&cargo build --message-format=json-render-diagnostics > cargo.log",
"cross-build": "tsc &&cross build --message-format=json-render-diagnostics > cross.log",
"postcargo-build": "neon dist --name crypto-layer-node < cargo.log",
"postcross-build": "neon dist -m /target --name crypto-layer-node < cross.log",
"debug": "npm run cargo-build --",
"build": "npm run cargo-build -- --release",
"cross": "npm run cross-build -- --release",
"prepack": "tsc &&neon update",
"format": "prettier src/ --write && prettier tests/ --write",
"version": "neon bump --binaries platforms && git add .",
"bump:patch": "node scripts/update-version.node.mjs patch && npm update",
"bump:minor": "node scripts/update-version.node.mjs minor && npm update",
"bump:major": "node scripts/update-version.node.mjs major && npm update",
"update": "cargo update && npm update"
},
"exports": {
".": {
"import": {
"types": "./lib/index.d.mts",
"default": "./lib/index.mjs"
},
"require": {
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
}
}
},
"types": "./lib/index.d.cts",
"files": [
"lib/**/*.?({c,m}){t,j}s"
],
"neon": {
"type": "library",
"org": "@nmshd",
"platforms": "common",
"load": "./src/load.cts"
},
"devDependencies": {
"@eslint/js": "^9.21.0",
"@jest/globals": "^29.7.0",
"@neon-rs/cli": "^0.1.73",
"@tsconfig/node20": "^20.1.4",
"@types/jest": "^29.5.14",
"@types/node": "^20.11.16",
"eslint": "^9.21.0",
"globals": "^16.0.0",
"jest": "^29.7.0",
"jiti": "^2.4.2",
"prettier": "3.5.3",
"ts-jest": "^29.2.5",
"typescript": "^5.3.3",
"typescript-eslint": "^8.25.0"
},
"dependencies": {
"@neon-rs/load": "^0.1.73",
"@nmshd/rs-crypto-types": "^0.12.0"
},
"optionalDependencies": {
"@nmshd/rs-crypto-node-darwin-arm64": "0.16.2",
"@nmshd/rs-crypto-node-darwin-x64": "0.16.2",
"@nmshd/rs-crypto-node-linux-x64-gnu": "0.16.2",
"@nmshd/rs-crypto-node-win32-x64-msvc": "0.16.2"
},
"overrides": {
"tmp": "^0.2.4"
}
}