You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 3.2KB

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