-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.55 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 2.55 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "baja-lite-xlsx",
"version": "1.0.15",
"description": "A native Node.js module for reading Excel files and extracting images using xlnt library",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"install": "prebuild-install --runtime napi || node-gyp rebuild",
"postinstall": "node scripts/postinstall.js",
"prebuild": "npm run prebuild:create && npm run prebuild:pack-dlls",
"prebuild:create": "npm run prebuild:napi && npm run prebuild:electron",
"prebuild:napi": "prebuild --runtime napi --target 8 --strip",
"prebuild:electron": "prebuild --runtime electron --target 34.0.0 --strip",
"prebuild:pack-dlls": "node scripts/pack-dlls-into-prebuild.js",
"build": "node-gyp rebuild",
"build:dev": "node-gyp rebuild && npm run copy-dlls:dev",
"copy-dlls": "node scripts/package-dlls.js",
"copy-dlls:dev": "node -e \"const fs=require('fs'); const path=require('path'); const src='E:/vcpkg/installed/x64-windows/bin'; const dest='./build/Release'; if(fs.existsSync(src) && fs.existsSync(dest)){fs.readdirSync(src).filter(f=>f.endsWith('.dll')).forEach(f=>fs.copyFileSync(path.join(src,f),path.join(dest,f)));console.log('✓ DLLs copied');}\"",
"clean": "node-gyp clean",
"test": "node test/test.js",
"test:prebuild": "node scripts/test-prebuild-package.js",
"example": "node examples/basic.js",
"example:json": "node examples/json-api.js",
"example:advanced": "node examples/advanced.js"
},
"binary": {
"napi_versions": [
8
],
"module_name": "baja_xlsx",
"module_path": "./build/Release/",
"files": [
"*.node",
"*.dll"
],
"host": "https://github.com/void-soul/baja-lite-xlsx/releases/download/",
"remote_path": "v{version}",
"package_name": "{name}-v{version}-napi-v{abi}-{platform}-{arch}.tar.gz"
},
"keywords": [
"excel",
"xlsx",
"native",
"addon",
"xlnt",
"image",
"extraction",
"spreadsheet",
"workbook",
"node-addon-api"
],
"author": "DEDEDE",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/void-soul/baja-lite-xlsx.git"
},
"bugs": {
"url": "https://github.com/void-soul/baja-lite-xlsx/issues"
},
"homepage": "https://github.com/void-soul/baja-lite-xlsx#readme",
"gypfile": true,
"dependencies": {
"node-addon-api": "^8.0.0",
"prebuild-install": "^7.1.3"
},
"devDependencies": {
"node-gyp": "^10.0.0",
"prebuild": "^13.0.1"
},
"engines": {
"node": ">=16.0.0"
},
"os": [
"win32",
"linux",
"darwin"
]
}