2015-05-04 10:01:56 +03:00
|
|
|
{
|
2022-10-28 01:57:08 +03:00
|
|
|
"name": "@electron/rebuild",
|
2019-11-19 23:50:24 +03:00
|
|
|
"version": "0.0.0-development",
|
2015-05-04 10:01:56 +03:00
|
|
|
"description": "Electron supporting package to rebuild native node modules against the currently installed electron",
|
2023-04-13 02:18:19 +03:00
|
|
|
"main": "lib/main.js",
|
|
|
|
"typings": "lib/main.d.ts",
|
2015-05-04 10:01:56 +03:00
|
|
|
"scripts": {
|
2020-09-02 09:26:16 +03:00
|
|
|
"codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
2017-03-29 01:36:29 +03:00
|
|
|
"compile": "tsc",
|
2023-08-08 20:19:55 +03:00
|
|
|
"coverage": "npm run prewarm-headers && nyc npm run spec",
|
2017-06-14 10:38:53 +03:00
|
|
|
"watch": "tsc -w",
|
2019-02-06 04:06:36 +03:00
|
|
|
"prepare": "npm run compile",
|
2021-08-22 23:19:41 +03:00
|
|
|
"mocha": "cross-env TS_NODE_FILES=true mocha",
|
2019-12-10 09:36:22 +03:00
|
|
|
"lint": "eslint --ext .ts .",
|
2023-04-13 02:18:19 +03:00
|
|
|
"spec": "tsc && npm run mocha -- test/*.ts",
|
2023-08-08 20:19:55 +03:00
|
|
|
"test": "npm run prewarm-headers && npm run lint && npm run spec",
|
|
|
|
"prewarm-headers": "node-gyp install --ensure"
|
2015-05-04 10:01:56 +03:00
|
|
|
},
|
2015-05-04 11:33:17 +03:00
|
|
|
"bin": {
|
2023-04-13 11:05:38 +03:00
|
|
|
"electron-rebuild": "lib/cli.js"
|
2015-05-04 11:33:17 +03:00
|
|
|
},
|
2020-09-07 06:27:57 +03:00
|
|
|
"files": [
|
|
|
|
"lib"
|
|
|
|
],
|
2015-05-04 10:01:56 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-10-28 01:57:08 +03:00
|
|
|
"url": "https://github.com/electron/rebuild"
|
2015-05-04 10:01:56 +03:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"electron"
|
|
|
|
],
|
|
|
|
"author": "Paul Betts <paul@paulbetts.org>",
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
2022-10-28 01:57:08 +03:00
|
|
|
"url": "https://github.com/electron/rebuild/issues"
|
2015-05-04 10:01:56 +03:00
|
|
|
},
|
2022-10-28 01:57:08 +03:00
|
|
|
"homepage": "https://github.com/electron/rebuild",
|
2017-01-11 04:08:51 +03:00
|
|
|
"engines": {
|
2021-08-09 05:20:20 +03:00
|
|
|
"node": ">=12.13.0"
|
2017-01-11 04:08:51 +03:00
|
|
|
},
|
2015-05-04 10:01:56 +03:00
|
|
|
"dependencies": {
|
2021-07-12 06:01:16 +03:00
|
|
|
"@malept/cross-spawn-promise": "^2.0.0",
|
2022-01-09 19:42:03 +03:00
|
|
|
"chalk": "^4.0.0",
|
2019-02-05 22:18:10 +03:00
|
|
|
"debug": "^4.1.1",
|
2022-02-15 04:06:14 +03:00
|
|
|
"detect-libc": "^2.0.1",
|
2021-06-14 22:07:39 +03:00
|
|
|
"fs-extra": "^10.0.0",
|
2020-10-02 00:27:53 +03:00
|
|
|
"got": "^11.7.0",
|
2023-08-21 21:28:21 +03:00
|
|
|
"node-abi": "^3.45.0",
|
2021-08-10 04:16:54 +03:00
|
|
|
"node-api-version": "^0.1.4",
|
2022-03-04 03:19:36 +03:00
|
|
|
"node-gyp": "^9.0.0",
|
2020-09-07 05:56:08 +03:00
|
|
|
"ora": "^5.1.0",
|
2021-11-10 07:02:16 +03:00
|
|
|
"semver": "^7.3.5",
|
2020-10-02 00:27:53 +03:00
|
|
|
"tar": "^6.0.5",
|
2021-05-13 08:04:40 +03:00
|
|
|
"yargs": "^17.0.1"
|
2015-05-04 12:14:31 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-09-02 09:26:16 +03:00
|
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
2020-08-24 08:05:44 +03:00
|
|
|
"@types/chai": "^4.2.12",
|
|
|
|
"@types/chai-as-promised": "^7.1.3",
|
2019-12-10 09:41:01 +03:00
|
|
|
"@types/debug": "^4.1.5",
|
2020-08-24 08:05:44 +03:00
|
|
|
"@types/fs-extra": "^9.0.1",
|
2021-07-23 03:01:26 +03:00
|
|
|
"@types/mocha": "^9.0.0",
|
2022-01-09 20:13:55 +03:00
|
|
|
"@types/node": "^17.0.8",
|
2021-09-14 03:56:48 +03:00
|
|
|
"@types/node-abi": "^3.0.0",
|
2021-11-10 07:02:16 +03:00
|
|
|
"@types/semver": "^7.3.9",
|
2021-10-22 03:04:26 +03:00
|
|
|
"@types/tar": "^6.1.0",
|
2021-08-09 05:20:20 +03:00
|
|
|
"@types/yargs": "^17.0.2",
|
2020-09-02 10:19:54 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.0.1",
|
|
|
|
"@typescript-eslint/parser": "^4.0.1",
|
2019-02-05 22:18:10 +03:00
|
|
|
"chai": "^4.2.0",
|
|
|
|
"chai-as-promised": "^7.1.1",
|
2020-09-02 09:26:16 +03:00
|
|
|
"codecov": "^3.7.2",
|
2020-08-24 08:05:44 +03:00
|
|
|
"cross-env": "^7.0.2",
|
2022-12-06 02:17:26 +03:00
|
|
|
"electron": "^22.0.0",
|
2020-08-24 08:05:44 +03:00
|
|
|
"eslint": "^7.7.0",
|
2021-06-14 21:43:34 +03:00
|
|
|
"eslint-plugin-mocha": "^9.0.0",
|
2021-06-18 16:13:02 +03:00
|
|
|
"mocha": "^9.0.1",
|
2020-09-02 09:26:16 +03:00
|
|
|
"nyc": "^15.1.0",
|
2021-06-18 16:06:50 +03:00
|
|
|
"ts-node": "^10.0.0",
|
2020-08-24 08:05:44 +03:00
|
|
|
"typescript": "^4.0.2"
|
2019-12-10 09:36:22 +03:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
2021-08-09 05:20:20 +03:00
|
|
|
"ecmaVersion": 2019,
|
2019-12-10 09:36:22 +03:00
|
|
|
"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"
|
2020-09-02 09:26:16 +03:00
|
|
|
],
|
2021-08-22 23:21:26 +03:00
|
|
|
"mocha": {
|
2021-11-10 07:02:16 +03:00
|
|
|
"extensions": [
|
|
|
|
"ts"
|
|
|
|
],
|
2021-08-22 23:21:26 +03:00
|
|
|
"require": "ts-node/register"
|
|
|
|
},
|
2020-09-02 09:26:16 +03:00
|
|
|
"nyc": {
|
|
|
|
"extends": "@istanbuljs/nyc-config-typescript"
|
|
|
|
}
|
2015-05-04 10:01:56 +03:00
|
|
|
}
|