-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
37 lines (37 loc) · 1.1 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
{
"name": "node-addon-typescript",
"version": "0.1.0",
"description": "Node.js C++ Addons TypeScript Example",
"main": "index.js",
"engines": {
"node": ">=20"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "del-cli dist && tsc -b",
"addon:init": "node-gyp configure",
"addon:build": "node-gyp build && tsx bin/addon.ts",
"asbuild:untouched": "asc assembly/index.ts --target debug",
"asbuild:optimized": "asc assembly/index.ts --target release",
"asbuild": "npm run asbuild:untouched && npm run asbuild:optimized && tsx bin/wasm.ts",
"start": "tsx src/index"
},
"dependencies": {
"node-addon-api": "^8.0.0"
},
"devDependencies": {
"@types/node": "^20.11.25",
"assemblyscript": "^0.27.24",
"del-cli": "^5.1.0",
"node-gyp": "^10.0.1",
"tsx": "^4.7.1",
"typescript": "^5.4.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CatsMiaow/node-addon-typescript.git"
},
"homepage": "https://github.com/CatsMiaow/node-addon-typescript#readme",
"author": "CatsMiaow",
"license": "MIT"
}