UNPKG

3.19 kBJSONView Raw
1{
2 "name": "electron-rebuild",
3 "version": "3.1.0",
4 "description": "Electron supporting package to rebuild native node modules against the currently installed electron",
5 "main": "lib/src/main.js",
6 "typings": "lib/src/main.d.ts",
7 "scripts": {
8 "codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
9 "compile": "tsc",
10 "coverage": "nyc npm run mocha",
11 "watch": "tsc -w",
12 "prepare": "npm run compile",
13 "mocha": "cross-env TS_NODE_FILES=true mocha --require ts-node/register ./test/*.ts",
14 "lint": "eslint --ext .ts .",
15 "test": "npm run lint && npm run mocha"
16 },
17 "bin": {
18 "electron-rebuild": "lib/src/cli.js"
19 },
20 "files": [
21 "lib"
22 ],
23 "repository": {
24 "type": "git",
25 "url": "https://github.com/electron/electron-rebuild"
26 },
27 "keywords": [
28 "electron"
29 ],
30 "author": "Paul Betts <paul@paulbetts.org>",
31 "license": "MIT",
32 "bugs": {
33 "url": "https://github.com/electron/electron-rebuild/issues"
34 },
35 "homepage": "https://github.com/electron/electron-rebuild",
36 "engines": {
37 "node": ">=12.13.0"
38 },
39 "dependencies": {
40 "@malept/cross-spawn-promise": "^2.0.0",
41 "colors": "^1.3.3",
42 "debug": "^4.1.1",
43 "detect-libc": "^1.0.3",
44 "fs-extra": "^10.0.0",
45 "got": "^11.7.0",
46 "lzma-native": "^8.0.1",
47 "node-abi": "^2.19.2",
48 "node-gyp": "^8.1.0",
49 "ora": "^5.1.0",
50 "tar": "^6.0.5",
51 "yargs": "^17.0.1"
52 },
53 "devDependencies": {
54 "@continuous-auth/semantic-release-npm": "^2.0.0",
55 "@istanbuljs/nyc-config-typescript": "^1.0.1",
56 "@types/chai": "^4.2.12",
57 "@types/chai-as-promised": "^7.1.3",
58 "@types/debug": "^4.1.5",
59 "@types/fs-extra": "^9.0.1",
60 "@types/lzma-native": "^4.0.0",
61 "@types/mocha": "^9.0.0",
62 "@types/node": "^16.0.1",
63 "@types/node-abi": "^2.10.0",
64 "@types/tar": "^4.0.3",
65 "@types/yargs": "^17.0.2",
66 "@typescript-eslint/eslint-plugin": "^4.0.1",
67 "@typescript-eslint/parser": "^4.0.1",
68 "chai": "^4.2.0",
69 "chai-as-promised": "^7.1.1",
70 "codecov": "^3.7.2",
71 "cross-env": "^7.0.2",
72 "electron": "^12.0.2",
73 "eslint": "^7.7.0",
74 "eslint-plugin-mocha": "^9.0.0",
75 "mocha": "^9.0.1",
76 "node-api-version": "^0.1.3",
77 "nyc": "^15.1.0",
78 "semantic-release": "^17.1.1",
79 "ts-node": "^10.0.0",
80 "typescript": "^4.0.2"
81 },
82 "eslintConfig": {
83 "parser": "@typescript-eslint/parser",
84 "parserOptions": {
85 "ecmaVersion": 2019,
86 "sourceType": "module"
87 },
88 "plugins": [
89 "mocha",
90 "@typescript-eslint"
91 ],
92 "env": {
93 "es6": true,
94 "mocha": true,
95 "node": true
96 },
97 "extends": [
98 "eslint:recommended",
99 "plugin:@typescript-eslint/recommended"
100 ],
101 "rules": {
102 "mocha/no-exclusive-tests": "error",
103 "no-unused-vars": "off",
104 "@typescript-eslint/no-unused-vars": [
105 "error",
106 {
107 "args": "after-used",
108 "argsIgnorePattern": "^_",
109 "ignoreRestSiblings": true,
110 "vars": "all"
111 }
112 ]
113 }
114 },
115 "eslintIgnore": [
116 "*.d.ts",
117 "node_modules"
118 ],
119 "nyc": {
120 "extends": "@istanbuljs/nyc-config-typescript"
121 }
122}