forked from davidzeng0/sodium
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 918 Bytes
/
package.json
File metadata and controls
31 lines (31 loc) · 918 Bytes
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
{
"main": "dist/index.js",
"types": "dist/index.d.ts",
"name": "sodium",
"version": "1.0.0",
"dependencies": {
"bindings": "1.5.0",
"node-addon-api": "7.1.1"
},
"scripts": {
"install": "cmake-js --CDNODE_ADDON_INC=$(node -p \"require('node-addon-api').include_dir\")",
"buildjs": "tsup --entry.index src/index.ts --minify --target esnext --dts --treeshake",
"build": "npm run buildjs & cmake-js --CDNODE_ADDON_INC=$(node -p \"require('node-addon-api').include_dir\"); wait",
"debug": "npm run buildjs & cmake-js -D --CDNODE_ADDON_INC=$(node -p \"require('node-addon-api').include_dir\"); wait",
"clean": "rm -r build",
"prepare": "npm run buildjs",
"git-publish": "git-publish -b dist"
},
"devDependencies": {
"@types/node": "24.2.0",
"git-publish": "2.2.0",
"tsup": "8.5.0",
"cmake-js": "7.3.1",
"typescript": "5.9.2"
},
"files": [
"dist",
"native",
"CMakeLists.txt"
]
}