This repository was archived by the owner on Oct 16, 2025. It is now read-only.
forked from tjfontaine/node-ffi-generate
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.92 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 2.92 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@ffi-packager/ffi-generate",
"version": "2.0.2",
"description": "A tool to generate Node.js Foreign Function Interface (FFI) bindings for a given C/C++ header file. Based on node-libclang.",
"homepage": "https://github.com/node-ffi-packager/node-ffi-generate",
"keywords": [
"libclang",
"ffi",
"bindings"
],
"author": "Timothy J Fontaine <tjfontaine@gmail.com>",
"contributors": [
{
"name": "Joel Purra",
"email": "code+npm@joelpurra.com",
"url": "https://joelpurra.com/"
}
],
"main": "index.js",
"license": "MIT",
"engines": {
"node": "^12.0.0 || ^14.0.0 || ^16.0.0"
},
"bin": {
"ffi-generate": "bin/ffi-generate.js"
},
"dependencies": {
"@ffi-packager/libclang": "github:node-ffi-packager/node-libclang#semver:^v2.0.1",
"bluebird": "^3.7.2",
"debug": "^4.3.1",
"engine-check": "^1.0.1",
"execa": "^5.1.1",
"hasha": "^5.2.2",
"hogan.js": ">= 2.0.0",
"lodash": "^4.17.21",
"prettier": "^2.3.1",
"segfault-handler": "^1.3.0",
"yargs": "^17.0.1"
},
"devDependencies": {
"ava": "^3.15.0",
"eslint-config-joelpurra": "github:joelpurra/eslint-config-joelpurra#semver:^5.1.1",
"ffi-napi": "^4.0.3",
"get-bin-path": "^5.1.0",
"husky": "^4.3.8",
"ndb": "^1.1.5",
"nyc": "^15.1.0",
"ref-array-di": "^1.2.2",
"ref-napi": "^3.0.3",
"ref-struct-di": "^1.1.1",
"ref-union-di": "^1.0.1",
"semver": "^7.3.5",
"xo": "^0.39.1"
},
"peerDependencies": {
"ffi-napi": "^4.0.3",
"ref-array-di": "^1.2.2",
"ref-napi": "^3.0.3",
"ref-struct-di": "^1.1.1",
"ref-union-di": "^1.0.1"
},
"scripts": {
"generate": "node bin/ffi-generate.js",
"generate:debug": "ndb npm run --silent generate --",
"test": "npm run --silent test:ava && npm run --silent lint && npm run --silent test:nyc",
"test:watch": "npm run --silent test:ava:watch",
"test:ava": "ava",
"test:ava:watch": "ava --watch",
"test:nyc": "nyc ava",
"lint": "npm run --silent lint:xo && npm run --silent lint:prettier",
"lint:fix": "npm run --silent lint:xo:fix && npm run --silent lint:prettier:fix",
"lint:prettier": "prettier --list-different \"**/*.json\" \"**/*.md\" || { echo \"Prettier needs to format the above files. Try 'npm run --silent lint:fix'.\" && exit 1; }",
"lint:prettier:fix": "prettier --write \"**/*.json\" \"**/*.md\"",
"lint:xo": "xo",
"lint:xo:fix": "xo --fix",
"prepublishOnly": "git diff-index --exit-code master && npm run --silent rebuild && npm run --silent test"
},
"husky": {
"hooks": {
"pre-commit": "npm run --silent test",
"pre-push": "npm run --silent test"
}
},
"ava": {
"files": [
"test/**/*",
"!test/**/*.expected.*",
"!test/**/*.output.*",
"!test/helper/**/*"
],
"ignoredByWatcher": [
"test/**/*.expected.*",
"test/**/*.output.*",
"test/helper/**/*"
]
}
}