-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 3.13 KB
/
Copy pathpackage.json
File metadata and controls
38 lines (38 loc) · 3.13 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
{
"author": "Luis Blanco <luisblanco1337@gmail.com>",
"name": "@node-3d/gabenet",
"version": "0.1.0",
"description": "Standalone GameNetworkingSockets native addon for Node.js",
"license": "MIT",
"main": "dist/index.js",
"keywords": ["addon", "networking", "gamenetworkingsockets", "udp", "p2p", "nat", "native", "bindings", "gyp"],
"files": ["dist", "install.js", "LICENSE", "package.json", "README.md", "tsconfig.json"],
"engines": { "node": ">=24.13.0", "npm": ">=11.6.2" },
"scripts": {
"postinstall": "node install.js",
"build:rebuild": "cd src && node-gyp rebuild -j max --silent && node -e \"import('@node-3d/addon-tools').then((m) => m.cpbin('gabenet'))\"",
"build:compile": "cd src && node-gyp build -j max --silent && node -e \"import('@node-3d/addon-tools').then((m) => m.cpbin('gabenet'))\"",
"test:watch": "node --test --watch \"ts/**/*.test.ts\"",
"test:ci": "node --test \"ts/**/*.test.ts\"",
"lint:all": "npm run lint:gypi && npm run lint:ts && npm run lint:oxlint",
"lint:gypi": "node -e \"import('@node-3d/addon-tools').then((m) => m.checkGypi())\"",
"lint:oxlint": "oxlint .",
"build:ci": "rslib build",
"build:watch": "rslib build --watch",
"lint:ts": "tsc -p tsconfig.json --noEmit",
"prepack": "npm run build:ci",
"format:src": "node -e \"import('@node-3d/addon-tools').then((m) => m.cpclangformat())\" && node -e \"const { readdirSync } = require('node:fs'); const { execFileSync } = require('node:child_process'); const { clangFormatPath } = require('clang-format-node'); const files = readdirSync('src/cpp').filter((file) => /\\.(?:cpp|hpp)$/.test(file)).map((file) => 'src/cpp/' + file); execFileSync(clangFormatPath, ['-i', ...files], { stdio: 'inherit' });\"",
"format:src:ci": "node -e \"import('@node-3d/addon-tools').then((m) => m.cpclangformat())\" && node -e \"const { readdirSync } = require('node:fs'); const { execFileSync } = require('node:child_process'); const { clangFormatPath } = require('clang-format-node'); const files = readdirSync('src/cpp').filter((file) => /\\.(?:cpp|hpp)$/.test(file)).map((file) => 'src/cpp/' + file); execFileSync(clangFormatPath, ['--dry-run', '--Werror', ...files], { stdio: 'inherit' });\"",
"format:ts": "oxfmt -c ./oxfmt.config.ts --no-error-on-unmatched-pattern \"**/*.{js,jsx,ts,tsx}\"",
"format:ts:ci": "oxfmt -c ./oxfmt.config.ts --check --no-error-on-unmatched-pattern \"**/*.{js,jsx,ts,tsx}\""
},
"repository": { "type": "git", "url": "git+https://github.com/node-3d/gabenet.git" },
"dependencies": { "@node-3d/addon-tools": "~10.0.1", "@node-3d/deps-gns": "~0.1.0", "@node-3d/segfault": "~4.0.0" },
"devDependencies": { "@node-3d/core": "~6.3.0", "@rslib/core": "0.23.2", "@types/node": "24.13.2", "@types/three": "0.174.0", "clang-format-node": "3.0.7", "node-addon-api": "8.9.0", "oxfmt": "0.57.0", "oxlint": "1.72.0", "three": "0.174.0", "tslib": "2.8.1", "typescript": "7.0.2" },
"type": "module",
"types": "dist/index.d.ts",
"exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } },
"bugs": { "url": "https://github.com/node-3d/node-3d/issues" },
"homepage": "https://github.com/node-3d/node-3d#readme",
"publishConfig": { "access": "public" }
}