mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-15 19:27:51 +01:00
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"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": "tsdown 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": "2.1.8"
|
|
},
|
|
"dependencies": {
|
|
"libsodium-wrappers-sumo": "^0.7.15"
|
|
}
|
|
}
|