forked from electron/rebuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 1.94 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
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
{
"name": "@citizenfx/node-rebuild",
"version": "0.0.0-development",
"description": "Modified Electron rebuild package to rebuild native node modules against the currently installed FXServer.",
"main": "lib/main.js",
"typings": "lib/main.d.ts",
"scripts": {
"compile": "tsc",
"watch": "tsc -w",
"prepare": "npm run compile",
"lint": "eslint --ext .ts .",
"prewarm-headers": "node-gyp install --ensure"
},
"bin": {
"node-rebuild": "lib/cli.js"
},
"files": [
"lib"
],
"keywords": [
"citizenfx"
],
"author": "",
"license": "MIT",
"engines": {
"node": ">=12.13.0"
},
"dependencies": {
"@malept/cross-spawn-promise": "^2.0.0",
"chalk": "^4.0.0",
"debug": "^4.1.1",
"detect-libc": "^2.0.1",
"fs-extra": "^10.0.0",
"got": "^11.7.0",
"node-gyp": "^9.0.0",
"ora": "^5.1.0",
"tar": "^6.2.1",
"yargs": "^17.0.1"
},
"devDependencies": {
"@types/debug": "^4.1.5",
"@types/fs-extra": "^9.0.1",
"@types/node": "^22.5.5",
"@types/tar": "^6.1.0",
"@types/yargs": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"cross-env": "^7.0.2",
"eslint": "^7.7.0",
"ts-node": "^10.0.0",
"typescript": "^4.0.2"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"args": "after-used",
"argsIgnorePattern": "^_",
"ignoreRestSiblings": true,
"vars": "all"
}
]
}
},
"eslintIgnore": [
"*.d.ts",
"node_modules"
]
}