-
Notifications
You must be signed in to change notification settings - Fork 176
/
Copy pathpackage.json
137 lines (137 loc) · 3.48 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "@electron/rebuild",
"version": "0.0.0-development",
"description": "Electron supporting package to rebuild native node modules against the currently installed electron",
"main": "lib/main.js",
"typings": "lib/main.d.ts",
"scripts": {
"compile": "tsc",
"coverage": "npm run prewarm-headers && nyc npm run spec",
"coverage:report": "nyc report --reporter=text-lcov > coverage.lcov",
"watch": "tsc -w",
"prepare": "npm run compile",
"mocha": "cross-env TS_NODE_FILES=true mocha",
"lint": "eslint --ext .ts .",
"spec": "tsc && npm run mocha -- test/*.ts",
"test": "npm run prewarm-headers && npm run lint && npm run spec",
"prewarm-headers": "node-gyp install --ensure"
},
"bin": {
"electron-rebuild": "lib/cli.js"
},
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/electron/rebuild.git"
},
"keywords": [
"electron"
],
"authors": [
"Ani Betts <[email protected]>",
"Electron Community"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/electron/rebuild/issues"
},
"homepage": "https://github.com/electron/rebuild",
"engines": {
"node": ">=12.13.0"
},
"publishConfig": {
"provenance": true
},
"dependencies": {
"@electron/node-gyp": "https://github.com/electron/node-gyp#06b29aafb7708acef8b3669835c8a7857ebc92d2",
"@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-abi": "^3.45.0",
"node-api-version": "^0.2.0",
"ora": "^5.1.0",
"read-binary-file-arch": "^1.0.6",
"semver": "^7.3.5",
"tar": "^6.0.5",
"yargs": "^17.0.1"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.12",
"@types/chai-as-promised": "^7.1.3",
"@types/debug": "^4.1.5",
"@types/fs-extra": "^9.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^17.0.8",
"@types/node-abi": "^3.0.0",
"@types/semver": "^7.3.9",
"@types/tar": "^6.1.0",
"@types/yargs": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.2",
"electron": "^22.0.0",
"eslint": "^7.7.0",
"eslint-plugin-mocha": "^9.0.0",
"mocha": "^10.8.2",
"nyc": "^15.1.0",
"ts-node": "^10.0.0",
"typescript": "^4.0.2"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"plugins": [
"mocha",
"@typescript-eslint"
],
"env": {
"es6": true,
"mocha": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"mocha/no-exclusive-tests": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"args": "after-used",
"argsIgnorePattern": "^_",
"ignoreRestSiblings": true,
"vars": "all"
}
],
"semi": "off",
"@typescript-eslint/semi": "error",
"no-unexpected-multiline": "error"
}
},
"eslintIgnore": [
"*.d.ts",
"node_modules"
],
"mocha": {
"extensions": [
"ts"
],
"require": "ts-node/register"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript"
}
}