122 lines
3.1 KiB
JSON
122 lines
3.1 KiB
JSON
{
|
|
"name": "electron-rebuild",
|
|
"version": "2.3.5",
|
|
"description": "Electron supporting package to rebuild native node modules against the currently installed electron",
|
|
"main": "lib/src/main.js",
|
|
"typings": "lib/src/main.d.ts",
|
|
"scripts": {
|
|
"codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
|
"compile": "tsc",
|
|
"coverage": "nyc npm run mocha",
|
|
"watch": "tsc -w",
|
|
"prepare": "npm run compile",
|
|
"mocha": "cross-env TS_NODE_FILES=true mocha --require ts-node/register ./test/*.ts",
|
|
"lint": "eslint --ext .ts .",
|
|
"test": "npm run lint && npm run mocha"
|
|
},
|
|
"bin": {
|
|
"electron-rebuild": "lib/src/cli.js"
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/electron/electron-rebuild"
|
|
},
|
|
"keywords": [
|
|
"electron"
|
|
],
|
|
"author": "Paul Betts <paul@paulbetts.org>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/electron/electron-rebuild/issues"
|
|
},
|
|
"homepage": "https://github.com/electron/electron-rebuild",
|
|
"engines": {
|
|
"node": ">=10.12.0"
|
|
},
|
|
"dependencies": {
|
|
"@malept/cross-spawn-promise": "^1.1.1",
|
|
"colors": "^1.3.3",
|
|
"debug": "^4.1.1",
|
|
"detect-libc": "^1.0.3",
|
|
"fs-extra": "^9.0.1",
|
|
"got": "^11.7.0",
|
|
"lzma-native": "^6.0.1",
|
|
"node-abi": "^2.19.2",
|
|
"node-gyp": "^7.1.0",
|
|
"ora": "^5.1.0",
|
|
"tar": "^6.0.5",
|
|
"yargs": "^16.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@continuous-auth/semantic-release-npm": "^2.0.0",
|
|
"@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/lzma-native": "^4.0.0",
|
|
"@types/mocha": "^8.0.3",
|
|
"@types/node": "^14.6.0",
|
|
"@types/node-abi": "^2.10.0",
|
|
"@types/tar": "^4.0.3",
|
|
"@types/yargs": "^15.0.5",
|
|
"@typescript-eslint/eslint-plugin": "^4.0.1",
|
|
"@typescript-eslint/parser": "^4.0.1",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"codecov": "^3.7.2",
|
|
"cross-env": "^7.0.2",
|
|
"electron": "^11.0.2",
|
|
"eslint": "^7.7.0",
|
|
"eslint-plugin-mocha": "^8.0.0",
|
|
"mocha": "^8.1.1",
|
|
"nyc": "^15.1.0",
|
|
"semantic-release": "^17.1.1",
|
|
"ts-node": "^9.0.0",
|
|
"typescript": "^4.0.2"
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"*.d.ts",
|
|
"node_modules"
|
|
],
|
|
"nyc": {
|
|
"extends": "@istanbuljs/nyc-config-typescript"
|
|
}
|
|
}
|