rebuild/package.json

129 строки
3.2 KiB
JSON
Исходник Обычный вид История

2015-05-04 10:01:56 +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",
"main": "lib/main.js",
"typings": "lib/main.d.ts",
2015-05-04 10:01:56 +03:00
"scripts": {
"codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
2017-03-29 01:36:29 +03:00
"compile": "tsc",
"coverage": "npm run prewarm-headers && nyc npm run spec",
"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"
2015-05-04 10:01:56 +03:00
},
2015-05-04 11:33:17 +03:00
"bin": {
"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",
"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": {
"url": "https://github.com/electron/rebuild/issues"
2015-05-04 10:01:56 +03:00
},
"homepage": "https://github.com/electron/rebuild",
2017-01-11 04:08:51 +03:00
"engines": {
"node": ">=12.13.0"
2017-01-11 04:08:51 +03:00
},
2015-05-04 10:01:56 +03:00
"dependencies": {
"@malept/cross-spawn-promise": "^2.0.0",
2022-01-09 19:42:03 +03:00
"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.1.4",
"node-gyp": "^9.0.0",
2020-09-07 05:56:08 +03:00
"ora": "^5.1.0",
"semver": "^7.3.5",
"tar": "^6.0.5",
"yargs": "^17.0.1"
2015-05-04 12:14:31 +03:00
},
"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": "^9.0.0",
"@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",
"codecov": "^3.7.2",
"cross-env": "^7.0.2",
"electron": "^22.0.0",
"eslint": "^7.7.0",
"eslint-plugin-mocha": "^9.0.0",
"mocha": "^9.0.1",
"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"
}
]
}
},
"eslintIgnore": [
"*.d.ts",
"node_modules"
],
"mocha": {
"extensions": [
"ts"
],
"require": "ts-node/register"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript"
}
2015-05-04 10:01:56 +03:00
}