2013-04-14 14:48:35 +00:00
{
2015-04-14 07:59:45 +00:00
"name" : "electron" ,
2022-10-25 06:44:43 +00:00
"version" : "0.0.0-development" ,
2017-07-13 21:09:21 +00:00
"repository" : "https://github.com/electron/electron" ,
"description" : "Build cross platform desktop apps with JavaScript, HTML, and CSS" ,
2013-10-17 01:58:55 +00:00
"devDependencies" : {
2022-04-04 09:32:57 +00:00
"@azure/storage-blob" : "^12.9.0" ,
2022-10-19 20:39:31 +00:00
"@electron/asar" : "^3.2.1" ,
2023-10-31 20:36:41 +00:00
"@electron/docs-parser" : "^1.2.0" ,
2023-01-19 11:14:59 +00:00
"@electron/fiddle-core" : "^1.0.4" ,
2023-05-25 07:54:09 +00:00
"@electron/github-app-auth" : "^2.0.0" ,
2024-06-10 15:14:03 +00:00
"@electron/lint-roller" : "^2.2.0" ,
2023-12-05 08:53:52 +00:00
"@electron/typescript-definitions" : "^8.15.2" ,
2023-02-13 09:16:27 +00:00
"@octokit/rest" : "^19.0.7" ,
2020-07-10 01:12:18 +00:00
"@primer/octicons" : "^10.0.0" ,
2020-03-19 23:55:49 +00:00
"@types/basic-auth" : "^1.1.3" ,
2023-02-03 21:17:05 +00:00
"@types/busboy" : "^1.5.0" ,
2020-08-24 18:23:25 +00:00
"@types/chai" : "^4.2.12" ,
2020-07-09 17:57:50 +00:00
"@types/chai-as-promised" : "^7.1.3" ,
2020-03-19 23:55:49 +00:00
"@types/dirty-chai" : "^2.0.2" ,
2022-03-28 21:37:35 +00:00
"@types/express" : "^4.17.13" ,
2020-11-05 01:24:17 +00:00
"@types/minimist" : "^1.2.0" ,
2020-03-19 23:55:49 +00:00
"@types/mocha" : "^7.0.2" ,
2023-11-30 14:51:35 +00:00
"@types/node" : "^20.9.0" ,
2020-08-24 18:23:25 +00:00
"@types/semver" : "^7.3.3" ,
2019-08-27 21:55:19 +00:00
"@types/send" : "^0.14.5" ,
2019-03-10 22:38:44 +00:00
"@types/split" : "^1.0.0" ,
2020-11-05 01:24:17 +00:00
"@types/stream-json" : "^1.5.1" ,
2021-02-25 21:08:34 +00:00
"@types/temp" : "^0.8.34" ,
2020-02-20 23:19:06 +00:00
"@types/uuid" : "^3.4.6" ,
2023-06-05 07:26:26 +00:00
"@types/w3c-web-serial" : "^1.0.3" ,
2022-08-03 14:42:50 +00:00
"@types/webpack" : "^5.28.0" ,
"@types/webpack-env" : "^1.17.0" ,
2023-05-30 11:10:22 +00:00
"@typescript-eslint/eslint-plugin" : "^5.59.7" ,
"@typescript-eslint/parser" : "^5.59.7" ,
2022-08-03 14:42:50 +00:00
"buffer" : "^6.0.3" ,
2019-07-01 18:25:45 +00:00
"check-for-leaks" : "^1.2.1" ,
2022-01-11 19:24:54 +00:00
"colors" : "1.4.0" ,
2017-07-13 21:09:21 +00:00
"dotenv-safe" : "^4.0.4" ,
2023-01-31 21:58:39 +00:00
"dugite" : "^2.3.0" ,
2023-05-30 11:10:22 +00:00
"eslint" : "^8.41.0" ,
2020-07-09 17:18:49 +00:00
"eslint-config-standard" : "^14.1.1" ,
2023-05-30 11:10:22 +00:00
"eslint-plugin-import" : "^2.26.0" ,
2020-07-09 04:19:49 +00:00
"eslint-plugin-mocha" : "^7.0.1" ,
"eslint-plugin-node" : "^11.1.0" ,
2023-05-15 07:58:35 +00:00
"eslint-plugin-promise" : "^4.2.1" ,
2020-07-09 04:19:49 +00:00
"eslint-plugin-standard" : "^4.0.1" ,
2023-06-15 14:42:27 +00:00
"eslint-plugin-unicorn" : "^46.0.1" ,
2022-09-15 16:33:08 +00:00
"events" : "^3.2.0" ,
2024-03-28 23:12:14 +00:00
"express" : "^4.19.2" ,
2018-09-13 15:30:12 +00:00
"folder-hash" : "^2.1.1" ,
2022-06-28 09:18:47 +00:00
"got" : "^11.8.5" ,
2022-06-01 17:00:48 +00:00
"husky" : "^8.0.1" ,
2018-05-03 15:43:40 +00:00
"lint" : "^1.1.2" ,
2020-07-09 04:19:49 +00:00
"lint-staged" : "^10.2.11" ,
2024-05-15 18:44:46 +00:00
"markdownlint-cli2" : "^0.13.0" ,
2022-03-29 13:39:38 +00:00
"minimist" : "^1.2.6" ,
2020-06-01 14:13:47 +00:00
"null-loader" : "^4.0.0" ,
2019-02-14 22:28:41 +00:00
"pre-flight" : "^1.1.0" ,
2022-08-03 14:42:50 +00:00
"process" : "^0.11.10" ,
2021-08-11 18:13:33 +00:00
"remark-cli" : "^10.0.0" ,
"remark-preset-lint-markdown-style-guide" : "^4.0.0" ,
2023-06-23 20:17:43 +00:00
"semver" : "^7.5.2" ,
2019-03-08 20:52:28 +00:00
"shx" : "^0.3.2" ,
2020-11-05 01:24:17 +00:00
"stream-json" : "^1.7.1" ,
2019-07-23 20:00:02 +00:00
"tap-xunit" : "^2.4.1" ,
2019-02-06 18:27:20 +00:00
"temp" : "^0.8.3" ,
2019-06-02 20:03:03 +00:00
"timers-browserify" : "1.4.2" ,
2020-08-24 18:23:25 +00:00
"ts-loader" : "^8.0.2" ,
2020-07-09 08:05:16 +00:00
"ts-node" : "6.2.0" ,
2023-06-14 18:06:46 +00:00
"typescript" : "^5.1.2" ,
2023-04-18 14:54:16 +00:00
"url" : "^0.11.0" ,
2023-03-20 17:33:08 +00:00
"webpack" : "^5.76.0" ,
2022-08-03 14:42:50 +00:00
"webpack-cli" : "^4.10.0" ,
2022-08-05 16:21:00 +00:00
"wrapper-webpack-plugin" : "^2.2.0"
2015-10-08 01:25:31 +00:00
} ,
2013-04-14 14:48:35 +00:00
"private" : true ,
"scripts" : {
2018-05-03 22:44:29 +00:00
"asar" : "asar" ,
2019-06-19 21:31:55 +00:00
"generate-version-json" : "node script/generate-version-json.js" ,
2022-06-08 19:26:41 +00:00
"lint" : "node ./script/lint.js && npm run lint:docs" ,
2018-10-15 15:26:47 +00:00
"lint:js" : "node ./script/lint.js --js" ,
2022-04-11 23:05:21 +00:00
"lint:clang-format" : "python3 script/run-clang-format.py -r -c shell/ || (echo \"\\nCode not formatted correctly.\" && exit 1)" ,
2020-11-05 01:24:17 +00:00
"lint:clang-tidy" : "ts-node ./script/run-clang-tidy.ts" ,
2018-10-08 12:48:35 +00:00
"lint:cpp" : "node ./script/lint.js --cc" ,
2019-05-02 12:05:37 +00:00
"lint:objc" : "node ./script/lint.js --objc" ,
2018-10-08 12:48:35 +00:00
"lint:py" : "node ./script/lint.js --py" ,
"lint:gn" : "node ./script/lint.js --gn" ,
2023-11-21 07:50:08 +00:00
"lint:docs" : "remark docs -qf && npm run lint:js-in-markdown && npm run create-typescript-definitions && npm run lint:ts-check-js-in-markdown && npm run lint:docs-fiddles && npm run lint:docs-relative-links && npm run lint:markdown" ,
2023-04-05 13:42:20 +00:00
"lint:docs-fiddles" : "standard \"docs/fiddles/**/*.js\"" ,
2024-05-10 09:00:15 +00:00
"lint:docs-relative-links" : "lint-roller-markdown-links --root docs \"**/*.md\"" ,
2023-11-21 07:50:08 +00:00
"lint:markdown" : "node ./script/lint.js --md" ,
2024-05-10 09:00:15 +00:00
"lint:ts-check-js-in-markdown" : "lint-roller-markdown-ts-check --root docs \"**/*.md\" --ignore \"breaking-changes.md\"" ,
"lint:js-in-markdown" : "lint-roller-markdown-standard --root docs \"**/*.md\"" ,
2022-11-14 15:04:36 +00:00
"create-api-json" : "node script/create-api-json.js" ,
2019-05-06 15:29:01 +00:00
"create-typescript-definitions" : "npm run create-api-json && electron-typescript-definitions --api=electron-api.json && node spec/ts-smoke/runner.js" ,
2019-03-08 20:52:28 +00:00
"gn-typescript-definitions" : "npm run create-typescript-definitions && shx cp electron.d.ts" ,
2019-02-14 22:28:41 +00:00
"pre-flight" : "pre-flight" ,
2019-08-30 17:37:02 +00:00
"gn-check" : "node ./script/gn-check.js" ,
2022-06-08 19:26:41 +00:00
"gn-format" : "python3 script/run-gn-format.py" ,
2021-04-29 07:46:15 +00:00
"precommit" : "lint-staged" ,
2017-08-14 18:33:32 +00:00
"preinstall" : "node -e 'process.exit(0)'" ,
2023-05-08 09:30:06 +00:00
"pretest" : "npm run create-typescript-definitions" ,
2023-05-11 03:52:59 +00:00
"prepack" : "check-for-leaks" ,
2023-05-18 22:37:58 +00:00
"prepare" : "husky install" ,
2018-09-13 16:57:39 +00:00
"repl" : "node ./script/start.js --interactive" ,
"start" : "node ./script/start.js" ,
2019-03-10 22:38:44 +00:00
"test" : "node ./script/spec-runner.js" ,
2019-06-02 20:03:03 +00:00
"tsc" : "tsc" ,
2020-10-20 19:10:15 +00:00
"webpack" : "webpack"
2017-07-13 21:09:21 +00:00
} ,
"license" : "MIT" ,
"author" : "Electron Community" ,
"keywords" : [
"electron"
2018-09-20 03:43:26 +00:00
] ,
2019-01-21 22:46:32 +00:00
"lint-staged" : {
"*.{js,ts}" : [
2020-07-09 04:19:49 +00:00
"node script/lint.js --js --fix --only --"
2019-01-21 22:46:32 +00:00
] ,
2019-04-03 00:12:10 +00:00
"*.{js,ts,d.ts}" : [
2020-08-07 20:48:46 +00:00
"ts-node script/gen-filenames.ts"
2019-04-03 00:12:10 +00:00
] ,
2019-01-21 22:46:32 +00:00
"*.{cc,mm,c,h}" : [
2022-04-11 23:05:21 +00:00
"python3 script/run-clang-format.py -r -c --fix"
2019-01-21 22:46:32 +00:00
] ,
"*.md" : [
2020-03-04 17:43:57 +00:00
"npm run lint:docs"
2019-02-05 21:54:45 +00:00
] ,
"*.{gn,gni}" : [
2019-08-30 17:37:02 +00:00
"npm run gn-check" ,
2022-06-08 19:26:41 +00:00
"npm run gn-format"
2019-02-05 21:54:45 +00:00
] ,
"*.py" : [
2020-07-09 04:19:49 +00:00
"node script/lint.js --py --fix --only --"
2019-02-06 18:27:20 +00:00
] ,
2019-03-21 19:15:55 +00:00
"docs/api/**/*.md" : [
2020-08-07 20:48:46 +00:00
"ts-node script/gen-filenames.ts" ,
2024-05-15 18:44:46 +00:00
"markdownlint-cli2 --config .autofix.markdownlint-cli2.jsonc --fix" ,
2019-02-16 01:03:50 +00:00
"git add filenames.auto.gni"
2019-10-31 20:11:51 +00:00
] ,
2019-12-13 17:18:45 +00:00
"{*.patch,.patches}" : [
2020-06-05 00:43:28 +00:00
"node script/lint.js --patches --only --" ,
2020-08-07 20:48:46 +00:00
"ts-node script/check-patch-diff.ts"
2019-12-13 17:18:45 +00:00
] ,
2019-10-31 20:11:51 +00:00
"DEPS" : [
2023-01-11 16:59:03 +00:00
"node script/gen-hunspell-filenames.js" ,
"node script/gen-libc++-filenames.js"
2019-01-21 22:46:32 +00:00
]
2022-05-17 16:48:40 +00:00
} ,
"resolutions" : {
2023-09-20 13:37:10 +00:00
"nan" : "nodejs/nan#e14bdcd1f72d62bca1d541b66da43130384ec213"
2018-09-21 05:24:42 +00:00
}
2023-01-11 05:56:50 +00:00
}