generated from devzolo/nodejs-addon-api-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.96 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.96 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
39
40
41
42
43
44
45
46
47
48
49
{
"name": "@devzolo/node-native-glu",
"version": "1.0.0",
"main": "dist/index.js",
"type": "module",
"author": "devzolo <contact@devzolo.com>",
"license": "MIT",
"repository": "https://github.com/devzolo/node-native-glu",
"publishConfig": {
"@devzolo:registry": "https://npm.pkg.github.com"
},
"files": [
"dist",
"bin"
],
"binary": {
"module_name": "native-glu",
"module_path": "./bin/{platform}/{arch}/",
"remote_path": "./releases/download/v{version}/",
"package_name": "{module_name}-v{version}-{platform}-{arch}.tar.gz",
"host": "https://github.com/devzolo/node-native-glu"
},
"scripts": {
"install_old": "node-pre-gyp install --fallback-to-build",
"build": "node-pre-gyp install --build-from-source",
"postbuild": "tsc",
"dist": "tsc",
"package": "tsc&&node-pre-gyp install --build-from-source&&node --test&&./node_modules/.bin/node-pre-gyp build package",
"test": "node --test --experimental-transform-types --no-warnings",
"test:watch": "node --test --watch --experimental-transform-types --no-warnings",
"typecheck": "tsc -p tsconfig.json --noEmit",
"sources": "deps-source",
"format": "biome format",
"format:fix": "biome format --write",
"lint": "biome lint",
"check-deps": "node -e \"if(process.platform==='linux'){const{execSync}=require('child_process');try{execSync('pkg-config --exists gl glu',{stdio:'pipe'});console.log('✓ All required system dependencies found');}catch(e){console.log('⚠️ pkg-config check failed, but dependencies might still be available');console.log('If build fails, install: sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev');}\""
},
"dependencies": {
"@mapbox/node-pre-gyp": "^2.0.0",
"node-addon-api": "^8.5.0"
},
"devDependencies": {
"@biomejs/biome": "^2.2.2",
"@types/node": "^24.3.0",
"rimraf": "^6.0.1",
"tar": "^7.4.3",
"typescript": "^5.9.2"
}
}