UNPKG

3.12 kBJSONView Raw
1{
2 "name": "electron-rebuild",
3 "version": "2.3.2",
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": ">=10.12.0"
38 },
39 "dependencies": {
40 "@malept/cross-spawn-promise": "^1.1.0",
41 "colors": "^1.3.3",
42 "debug": "^4.1.1",
43 "detect-libc": "^1.0.3",
44 "fs-extra": "^9.0.1",
45 "got": "^11.7.0",
46 "lzma-native": "^6.0.1",
47 "node-abi": "^2.19.1",
48 "node-gyp": "^7.1.0",
49 "ora": "^5.1.0",
50 "tar": "^6.0.5",
51 "yargs": "^16.0.0"
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": "^8.0.3",
62 "@types/node": "^14.6.0",
63 "@types/tar": "^4.0.3",
64 "@types/yargs": "^15.0.5",
65 "@typescript-eslint/eslint-plugin": "^4.0.1",
66 "@typescript-eslint/parser": "^4.0.1",
67 "chai": "^4.2.0",
68 "chai-as-promised": "^7.1.1",
69 "codecov": "^3.7.2",
70 "cross-env": "^7.0.2",
71 "electron": "^10.0.0",
72 "eslint": "^7.7.0",
73 "eslint-plugin-mocha": "^8.0.0",
74 "mocha": "^8.1.1",
75 "nyc": "^15.1.0",
76 "semantic-release": "^17.1.1",
77 "ts-node": "^9.0.0",
78 "typescript": "^4.0.2"
79 },
80 "eslintConfig": {
81 "parser": "@typescript-eslint/parser",
82 "parserOptions": {
83 "ecmaVersion": "2018",
84 "sourceType": "module"
85 },
86 "plugins": [
87 "mocha",
88 "@typescript-eslint"
89 ],
90 "env": {
91 "es6": true,
92 "mocha": true,
93 "node": true
94 },
95 "extends": [
96 "eslint:recommended",
97 "plugin:@typescript-eslint/recommended"
98 ],
99 "rules": {
100 "mocha/no-exclusive-tests": "error",
101 "no-unused-vars": "off",
102 "@typescript-eslint/no-unused-vars": [
103 "error",
104 {
105 "args": "after-used",
106 "argsIgnorePattern": "^_",
107 "ignoreRestSiblings": true,
108 "vars": "all"
109 }
110 ]
111 }
112 },
113 "eslintIgnore": [
114 "*.d.ts",
115 "node_modules"
116 ],
117 "nyc": {
118 "extends": "@istanbuljs/nyc-config-typescript"
119 }
120}