-
-
Notifications
You must be signed in to change notification settings - Fork 626
/
package.json
61 lines (61 loc) · 1.49 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "@notesnook/sodium",
"version": "2.1.3",
"description": "",
"main": "./dist/node.js",
"module": "./dist/node.mjs",
"types": "./dist/node.d.ts",
"browser": "./dist/browser.js",
"exports": {
".": {
"node": {
"require": {
"types": "./dist/node.d.ts",
"default": "./dist/node.js"
},
"import": {
"types": "./dist/node.d.mts",
"default": "./dist/node.mjs"
}
},
"default": {
"require": {
"types": "./dist/browser.d.ts",
"default": "./dist/browser.js"
},
"import": {
"types": "./dist/browser.d.mts",
"default": "./dist/browser.mjs"
}
}
}
},
"scripts": {
"test": "vitest run",
"bench": "ts-node benches/bench.ts",
"postbuild": "node scripts/postbuild.mjs",
"prepublishOnly": "npm run build && npm run test",
"postinstall": "patch-package",
"build": "tsup-node src/browser.ts src/node.ts",
"watch": "npm run build -- --watch"
},
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/streetwriters/notesnook.git",
"directory": "packages/sodium"
},
"peerDependencies": {
"sodium-native": ">=4"
},
"devDependencies": {
"@types/libsodium-wrappers-sumo": "0.7.8",
"sodium-native": "^4.1.1",
"benny": "^3.7.1",
"ts-node": "^10.9.1",
"vitest": "^0.32.2"
},
"dependencies": {
"libsodium-wrappers-sumo": "^0.7.15"
}
}