forked from tjfontaine/node-libclang
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 1.76 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "@ffi-packager/libclang",
"version": "2.0.2",
"main": "index.js",
"description": "Node.js module for libclang, used for parsing C language family (C, C++, Objective C/C++, OpenCL, CUDA, and RenderScript) files from javascript.",
"homepage": "https://github.com/node-ffi-packager/node-libclang",
"keywords": [
"libclang",
"ffi",
"bindings"
],
"author": "Timothy J Fontaine <tjfontaine@gmail.com>",
"contributors": [
{
"name": "Joel Purra",
"email": "code+npm@joelpurra.com",
"url": "https://joelpurra.com/"
}
],
"license": "MIT",
"engines": {
"node": "^12.0.0 || ^14.0.0 || ^16.0.0"
},
"dependencies": {
"engine-check": "^1.0.1",
"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"
},
"devDependencies": {
"eslint-config-joelpurra": "github:joelpurra/eslint-config-joelpurra#semver:^5.1.1",
"husky": "^4.3.8",
"prettier": "^2.3.1",
"xo": "^0.39.1"
},
"scripts": {
"test": "npm run --silent lint",
"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"
}
}
}