2013-04-14 18:48:35 +04:00
{
2015-04-14 10:59:45 +03:00
"name" : "electron" ,
2022-10-25 09:44:43 +03:00
"version" : "0.0.0-development" ,
2017-07-14 00:09:21 +03:00
"repository" : "https://github.com/electron/electron" ,
"description" : "Build cross platform desktop apps with JavaScript, HTML, and CSS" ,
2013-10-17 05:58:55 +04:00
"devDependencies" : {
2024-09-26 10:12:11 +03:00
"@azure/storage-blob" : "^12.25.0" ,
"@electron/asar" : "^3.2.13" ,
2024-10-11 17:44:18 +03:00
"@electron/docs-parser" : "^2.0.0" ,
2024-09-26 10:12:11 +03:00
"@electron/fiddle-core" : "^1.3.4" ,
"@electron/github-app-auth" : "^2.2.1" ,
"@electron/lint-roller" : "^2.4.0" ,
2024-10-11 17:44:18 +03:00
"@electron/typescript-definitions" : "^9.0.0" ,
2024-09-26 10:12:11 +03:00
"@octokit/rest" : "^20.0.2" ,
2020-07-10 04:12:18 +03:00
"@primer/octicons" : "^10.0.0" ,
2024-09-26 10:12:11 +03:00
"@types/minimist" : "^1.2.5" ,
2024-11-04 21:41:56 +03:00
"@types/node" : "^22.7.7" ,
2024-09-26 10:12:11 +03:00
"@types/semver" : "^7.5.8" ,
"@types/stream-json" : "^1.7.7" ,
"@types/temp" : "^0.9.4" ,
"@types/webpack" : "^5.28.5" ,
"@types/webpack-env" : "^1.18.5" ,
"@typescript-eslint/eslint-plugin" : "^8.7.0" ,
"@typescript-eslint/parser" : "^8.7.0" ,
2022-08-03 17:42:50 +03:00
"buffer" : "^6.0.3" ,
2024-09-26 10:12:11 +03:00
"chalk" : "^4.1.0" ,
2019-07-01 21:25:45 +03:00
"check-for-leaks" : "^1.2.1" ,
2024-09-26 10:12:11 +03:00
"dugite" : "^2.7.1" ,
2024-09-24 09:31:47 +03:00
"eslint" : "^8.57.1" ,
2024-09-26 10:12:11 +03:00
"eslint-config-standard" : "^17.1.0" ,
"eslint-plugin-import" : "^2.30.0" ,
"eslint-plugin-mocha" : "^10.5.0" ,
"eslint-plugin-n" : "^16.6.2" ,
2020-07-09 07:19:49 +03:00
"eslint-plugin-node" : "^11.1.0" ,
2024-09-26 10:12:11 +03:00
"eslint-plugin-promise" : "^6.6.0" ,
"eslint-plugin-standard" : "^5.0.0" ,
"eslint-plugin-unicorn" : "^55.0.0" ,
2022-09-15 19:33:08 +03:00
"events" : "^3.2.0" ,
2018-09-13 18:30:12 +03:00
"folder-hash" : "^2.1.1" ,
2022-06-28 12:18:47 +03:00
"got" : "^11.8.5" ,
2022-06-01 20:00:48 +03:00
"husky" : "^8.0.1" ,
2020-07-09 07:19:49 +03:00
"lint-staged" : "^10.2.11" ,
2024-05-15 21:44:46 +03:00
"markdownlint-cli2" : "^0.13.0" ,
2024-09-26 10:12:11 +03:00
"minimist" : "^1.2.8" ,
2024-09-24 11:13:43 +03:00
"null-loader" : "^4.0.1" ,
2024-09-26 10:12:11 +03:00
"pre-flight" : "^2.0.0" ,
2022-08-03 17:42:50 +03:00
"process" : "^0.11.10" ,
2024-10-17 22:15:48 +03:00
"remark-cli" : "^12.0.1" ,
2021-08-11 21:13:33 +03:00
"remark-preset-lint-markdown-style-guide" : "^4.0.0" ,
2024-09-26 10:12:11 +03:00
"semver" : "^7.6.3" ,
"shx" : "^0.3.4" ,
"stream-json" : "^1.8.0" ,
2019-07-23 23:00:02 +03:00
"tap-xunit" : "^2.4.1" ,
2024-09-26 10:12:11 +03:00
"temp" : "^0.9.4" ,
2019-06-02 23:03:03 +03:00
"timers-browserify" : "1.4.2" ,
2020-08-24 21:23:25 +03:00
"ts-loader" : "^8.0.2" ,
2020-07-09 11:05:16 +03:00
"ts-node" : "6.2.0" ,
2024-10-01 03:55:27 +03:00
"typescript" : "^5.6.2" ,
2024-09-26 10:12:11 +03:00
"url" : "^0.11.4" ,
2024-10-20 11:40:03 +03:00
"webpack" : "^5.95.0" ,
2024-09-24 02:21:43 +03:00
"webpack-cli" : "^5.1.4" ,
2022-08-05 19:21:00 +03:00
"wrapper-webpack-plugin" : "^2.2.0"
2015-10-08 04:25:31 +03:00
} ,
2013-04-14 18:48:35 +04:00
"private" : true ,
"scripts" : {
2018-05-04 01:44:29 +03:00
"asar" : "asar" ,
2019-06-20 00:31:55 +03:00
"generate-version-json" : "node script/generate-version-json.js" ,
2022-06-08 22:26:41 +03:00
"lint" : "node ./script/lint.js && npm run lint:docs" ,
2018-10-15 18:26:47 +03:00
"lint:js" : "node ./script/lint.js --js" ,
2022-04-12 02:05:21 +03:00
"lint:clang-format" : "python3 script/run-clang-format.py -r -c shell/ || (echo \"\\nCode not formatted correctly.\" && exit 1)" ,
2020-11-05 04:24:17 +03:00
"lint:clang-tidy" : "ts-node ./script/run-clang-tidy.ts" ,
2018-10-08 15:48:35 +03:00
"lint:cpp" : "node ./script/lint.js --cc" ,
2019-05-02 15:05:37 +03:00
"lint:objc" : "node ./script/lint.js --objc" ,
2018-10-08 15:48:35 +03:00
"lint:py" : "node ./script/lint.js --py" ,
"lint:gn" : "node ./script/lint.js --gn" ,
2024-08-19 21:17:10 +03: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 && npm run lint:api-history" ,
2023-04-05 16:42:20 +03:00
"lint:docs-fiddles" : "standard \"docs/fiddles/**/*.js\"" ,
2024-05-10 12:00:15 +03:00
"lint:docs-relative-links" : "lint-roller-markdown-links --root docs \"**/*.md\"" ,
2023-11-21 10:50:08 +03:00
"lint:markdown" : "node ./script/lint.js --md" ,
2024-05-10 12:00:15 +03: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\"" ,
2024-08-19 21:17:10 +03:00
"lint:api-history" : "lint-roller-markdown-api-history --root \"./docs/api/\" --schema \"./docs/api-history.schema.json\" --breaking-changes-file \"./docs/breaking-changes.md\" --check-placement --check-strings \"*.md\"" ,
2024-10-11 17:44:18 +03:00
"create-api-json" : "node script/create-api-json.mjs" ,
2019-05-06 18:29:01 +03: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 23:52:28 +03:00
"gn-typescript-definitions" : "npm run create-typescript-definitions && shx cp electron.d.ts" ,
2019-02-15 01:28:41 +03:00
"pre-flight" : "pre-flight" ,
2019-08-30 20:37:02 +03:00
"gn-check" : "node ./script/gn-check.js" ,
2022-06-08 22:26:41 +03:00
"gn-format" : "python3 script/run-gn-format.py" ,
2021-04-29 10:46:15 +03:00
"precommit" : "lint-staged" ,
2017-08-14 21:33:32 +03:00
"preinstall" : "node -e 'process.exit(0)'" ,
2023-05-08 12:30:06 +03:00
"pretest" : "npm run create-typescript-definitions" ,
2023-05-11 06:52:59 +03:00
"prepack" : "check-for-leaks" ,
2023-05-19 01:37:58 +03:00
"prepare" : "husky install" ,
2018-09-13 19:57:39 +03:00
"repl" : "node ./script/start.js --interactive" ,
"start" : "node ./script/start.js" ,
2019-03-11 01:38:44 +03:00
"test" : "node ./script/spec-runner.js" ,
2019-06-02 23:03:03 +03:00
"tsc" : "tsc" ,
2020-10-20 22:10:15 +03:00
"webpack" : "webpack"
2017-07-14 00:09:21 +03:00
} ,
"license" : "MIT" ,
"author" : "Electron Community" ,
"keywords" : [
"electron"
2018-09-20 06:43:26 +03:00
] ,
2019-01-22 01:46:32 +03:00
"lint-staged" : {
"*.{js,ts}" : [
2020-07-09 07:19:49 +03:00
"node script/lint.js --js --fix --only --"
2019-01-22 01:46:32 +03:00
] ,
2019-04-03 03:12:10 +03:00
"*.{js,ts,d.ts}" : [
2020-08-07 23:48:46 +03:00
"ts-node script/gen-filenames.ts"
2019-04-03 03:12:10 +03:00
] ,
2019-01-22 01:46:32 +03:00
"*.{cc,mm,c,h}" : [
2022-04-12 02:05:21 +03:00
"python3 script/run-clang-format.py -r -c --fix"
2019-01-22 01:46:32 +03:00
] ,
"*.md" : [
2020-03-04 20:43:57 +03:00
"npm run lint:docs"
2019-02-06 00:54:45 +03:00
] ,
"*.{gn,gni}" : [
2019-08-30 20:37:02 +03:00
"npm run gn-check" ,
2022-06-08 22:26:41 +03:00
"npm run gn-format"
2019-02-06 00:54:45 +03:00
] ,
"*.py" : [
2020-07-09 07:19:49 +03:00
"node script/lint.js --py --fix --only --"
2019-02-06 21:27:20 +03:00
] ,
2019-03-21 22:15:55 +03:00
"docs/api/**/*.md" : [
2020-08-07 23:48:46 +03:00
"ts-node script/gen-filenames.ts" ,
2024-05-15 21:44:46 +03:00
"markdownlint-cli2 --config .autofix.markdownlint-cli2.jsonc --fix" ,
2019-02-16 04:03:50 +03:00
"git add filenames.auto.gni"
2019-10-31 23:11:51 +03:00
] ,
2019-12-13 20:18:45 +03:00
"{*.patch,.patches}" : [
2020-06-05 03:43:28 +03:00
"node script/lint.js --patches --only --" ,
2020-08-07 23:48:46 +03:00
"ts-node script/check-patch-diff.ts"
2019-12-13 20:18:45 +03:00
] ,
2019-10-31 23:11:51 +03:00
"DEPS" : [
2023-01-11 19:59:03 +03:00
"node script/gen-hunspell-filenames.js" ,
"node script/gen-libc++-filenames.js"
2019-01-22 01:46:32 +03:00
]
2022-05-17 19:48:40 +03:00
} ,
"resolutions" : {
2023-09-20 16:37:10 +03:00
"nan" : "nodejs/nan#e14bdcd1f72d62bca1d541b66da43130384ec213"
2018-09-21 08:24:42 +03:00
}
2023-01-11 08:56:50 +03:00
}