2013-04-14 22:48:35 +08:00
{
2015-04-14 15:59:45 +08:00
"name" : "electron" ,
2021-05-20 06:03:58 -07:00
"version" : "14.0.0-nightly.20210520" ,
2017-07-13 17:09:21 -04:00
"repository" : "https://github.com/electron/electron" ,
"description" : "Build cross platform desktop apps with JavaScript, HTML, and CSS" ,
2013-10-17 09:58:55 +08:00
"devDependencies" : {
2021-04-19 11:44:58 -07:00
"@electron/docs-parser" : "^0.11.0" ,
"@electron/typescript-definitions" : "^8.9.0" ,
2020-10-29 11:21:23 -07:00
"@octokit/auth-app" : "^2.10.0" ,
2020-08-05 08:59:52 -07:00
"@octokit/rest" : "^18.0.3" ,
2020-07-09 18:12:18 -07:00
"@primer/octicons" : "^10.0.0" ,
2020-03-19 16:55:49 -07:00
"@types/basic-auth" : "^1.1.3" ,
2020-04-22 15:53:12 -07:00
"@types/busboy" : "^0.2.3" ,
2020-08-24 11:23:25 -07:00
"@types/chai" : "^4.2.12" ,
2020-07-09 10:57:50 -07:00
"@types/chai-as-promised" : "^7.1.3" ,
2020-03-19 16:55:49 -07:00
"@types/dirty-chai" : "^2.0.2" ,
2020-07-09 10:57:50 -07:00
"@types/express" : "^4.17.7" ,
"@types/fs-extra" : "^9.0.1" ,
2020-11-04 17:24:17 -08:00
"@types/klaw" : "^3.0.1" ,
"@types/minimist" : "^1.2.0" ,
2020-03-19 16:55:49 -07:00
"@types/mocha" : "^7.0.2" ,
2020-09-17 16:08:57 -06:00
"@types/node" : "^14.6.2" ,
2020-08-24 11:23:25 -07:00
"@types/semver" : "^7.3.3" ,
2019-08-27 14:55:19 -07:00
"@types/send" : "^0.14.5" ,
2019-03-10 15:38:44 -07:00
"@types/split" : "^1.0.0" ,
2020-11-04 17:24:17 -08:00
"@types/stream-json" : "^1.5.1" ,
2021-02-25 13:08:34 -08:00
"@types/temp" : "^0.8.34" ,
2020-02-20 15:19:06 -08:00
"@types/uuid" : "^3.4.6" ,
2020-07-09 01:05:16 -07:00
"@types/webpack" : "^4.41.21" ,
"@types/webpack-env" : "^1.15.2" ,
2020-10-25 19:59:35 -07:00
"@typescript-eslint/eslint-plugin" : "^4.4.1" ,
"@typescript-eslint/parser" : "^4.4.1" ,
2020-07-09 16:32:21 -07:00
"asar" : "^3.0.3" ,
2021-02-25 13:08:34 -08:00
"aws-sdk" : "^2.727.1" ,
2019-07-01 11:25:45 -07:00
"check-for-leaks" : "^1.2.1" ,
2020-07-09 16:32:21 -07:00
"colors" : "^1.4.0" ,
2017-07-13 17:09:21 -04:00
"dotenv-safe" : "^4.0.4" ,
2017-10-23 11:02:50 -04:00
"dugite" : "^1.45.0" ,
2020-07-08 21:19:49 -07:00
"eslint" : "^7.4.0" ,
2020-07-09 10:18:49 -07:00
"eslint-config-standard" : "^14.1.1" ,
2020-07-08 21:19:49 -07:00
"eslint-plugin-import" : "^2.22.0" ,
"eslint-plugin-mocha" : "^7.0.1" ,
"eslint-plugin-node" : "^11.1.0" ,
"eslint-plugin-standard" : "^4.0.1" ,
2019-02-06 10:27:20 -08:00
"eslint-plugin-typescript" : "^0.14.0" ,
2019-03-29 17:32:52 -07:00
"express" : "^4.16.4" ,
2018-09-14 01:30:12 +10:00
"folder-hash" : "^2.1.1" ,
2020-07-09 10:57:50 -07:00
"fs-extra" : "^9.0.1" ,
2020-09-28 21:10:28 -04:00
"got" : "^6.3.0" ,
2021-04-29 16:46:15 +09:00
"husky" : "^6.0.0" ,
2019-02-25 18:25:00 -08:00
"klaw" : "^3.0.0" ,
2018-05-03 10:43:40 -05:00
"lint" : "^1.1.2" ,
2020-07-08 21:19:49 -07:00
"lint-staged" : "^10.2.11" ,
2021-01-14 00:31:26 -08:00
"markdownlint" : "^0.21.1" ,
"markdownlint-cli" : "^0.25.0" ,
2020-07-09 16:32:21 -07:00
"minimist" : "^1.2.5" ,
2017-10-23 11:02:50 -04:00
"nugget" : "^2.0.1" ,
2020-06-01 16:13:47 +02:00
"null-loader" : "^4.0.0" ,
2019-02-14 14:28:41 -08:00
"pre-flight" : "^1.1.0" ,
2017-11-20 14:05:47 +08:00
"remark-cli" : "^4.0.0" ,
"remark-preset-lint-markdown-style-guide" : "^2.1.1" ,
2020-07-09 16:32:21 -07:00
"request" : "^2.88.2" ,
2018-12-06 11:00:10 -08:00
"semver" : "^5.6.0" ,
2019-03-08 12:52:28 -08:00
"shx" : "^0.3.2" ,
2020-07-09 10:18:49 -07:00
"standard-markdown" : "^6.0.0" ,
2020-11-04 17:24:17 -08:00
"stream-json" : "^1.7.1" ,
2019-07-23 13:00:02 -07:00
"tap-xunit" : "^2.4.1" ,
2019-02-06 10:27:20 -08:00
"temp" : "^0.8.3" ,
2019-06-02 13:03:03 -07:00
"timers-browserify" : "1.4.2" ,
2020-08-24 11:23:25 -07:00
"ts-loader" : "^8.0.2" ,
2020-07-09 01:05:16 -07:00
"ts-node" : "6.2.0" ,
2021-01-22 20:25:47 +01:00
"typescript" : "^4.1.3" ,
2020-07-09 01:05:16 -07:00
"webpack" : "^4.43.0" ,
2020-10-20 21:10:15 +02:00
"webpack-cli" : "^3.3.12" ,
"wrapper-webpack-plugin" : "^2.1.0"
2015-10-08 09:25:31 +08:00
} ,
2013-04-14 22:48:35 +08:00
"private" : true ,
"scripts" : {
2018-05-03 15:44:29 -07:00
"asar" : "asar" ,
2019-06-19 14:31:55 -07:00
"generate-version-json" : "node script/generate-version-json.js" ,
2018-10-08 14:48:35 +02:00
"lint" : "node ./script/lint.js && npm run lint:clang-format && npm run lint:docs" ,
2018-10-15 08:26:47 -07:00
"lint:js" : "node ./script/lint.js --js" ,
2020-09-30 10:58:45 -05:00
"lint:clang-format" : "python script/run-clang-format.py -r -c chromium_src/ shell/ || (echo \"\\nCode not formatted correctly.\" && exit 1)" ,
2020-11-04 17:24:17 -08:00
"lint:clang-tidy" : "ts-node ./script/run-clang-tidy.ts" ,
2018-10-08 14:48:35 +02:00
"lint:cpp" : "node ./script/lint.js --cc" ,
2019-05-02 14:05:37 +02:00
"lint:objc" : "node ./script/lint.js --objc" ,
2018-10-08 14:48:35 +02:00
"lint:py" : "node ./script/lint.js --py" ,
"lint:gn" : "node ./script/lint.js --gn" ,
2021-01-14 00:31:26 -08:00
"lint:docs" : "remark docs -qf && npm run lint:js-in-markdown && npm run create-typescript-definitions && npm run lint:docs-relative-links && npm run lint:markdownlint" ,
2018-08-13 08:20:55 -07:00
"lint:docs-relative-links" : "python ./script/check-relative-doc-links.py" ,
2021-01-14 00:31:26 -08:00
"lint:markdownlint" : "markdownlint \"*.md\" \"docs/**/*.md\"" ,
2018-08-13 08:20:55 -07:00
"lint:js-in-markdown" : "standard-markdown docs" ,
2019-05-06 08:29:01 -07:00
"create-api-json" : "electron-docs-parser --dir=./" ,
"create-typescript-definitions" : "npm run create-api-json && electron-typescript-definitions --api=electron-api.json && node spec/ts-smoke/runner.js" ,
2019-03-08 12:52:28 -08:00
"gn-typescript-definitions" : "npm run create-typescript-definitions && shx cp electron.d.ts" ,
2019-02-14 14:28:41 -08:00
"pre-flight" : "pre-flight" ,
2019-08-30 10:37:02 -07:00
"gn-check" : "node ./script/gn-check.js" ,
2021-04-29 16:46:15 +09:00
"precommit" : "lint-staged" ,
2017-08-14 11:33:32 -07:00
"preinstall" : "node -e 'process.exit(0)'" ,
2017-07-12 10:18:40 -07:00
"prepack" : "check-for-leaks" ,
2021-04-29 16:46:15 +09:00
"prepare" : "husky install" ,
2018-09-14 02:57:39 +10:00
"repl" : "node ./script/start.js --interactive" ,
"start" : "node ./script/start.js" ,
2019-03-10 15:38:44 -07:00
"test" : "node ./script/spec-runner.js" ,
2019-06-02 13:03:03 -07:00
"tsc" : "tsc" ,
2020-10-20 21:10:15 +02:00
"webpack" : "webpack"
2017-07-13 17:09:21 -04:00
} ,
"license" : "MIT" ,
"author" : "Electron Community" ,
"keywords" : [
"electron"
2018-09-20 13:43:26 +10:00
] ,
2019-01-21 14:46:32 -08:00
"lint-staged" : {
"*.{js,ts}" : [
2020-07-08 21:19:49 -07:00
"node script/lint.js --js --fix --only --"
2019-01-21 14:46:32 -08:00
] ,
2019-04-02 17:12:10 -07:00
"*.{js,ts,d.ts}" : [
2020-08-07 13:48:46 -07:00
"ts-node script/gen-filenames.ts"
2019-04-02 17:12:10 -07:00
] ,
2019-01-21 14:46:32 -08:00
"*.{cc,mm,c,h}" : [
2020-07-08 21:19:49 -07:00
"python script/run-clang-format.py -r -c --fix"
2019-01-21 14:46:32 -08:00
] ,
"*.md" : [
2020-03-04 09:43:57 -08:00
"npm run lint:docs"
2019-02-05 13:54:45 -08:00
] ,
"*.{gn,gni}" : [
2019-08-30 10:37:02 -07:00
"npm run gn-check" ,
2020-07-08 21:19:49 -07:00
"python script/run-gn-format.py"
2019-02-05 13:54:45 -08:00
] ,
"*.py" : [
2020-07-08 21:19:49 -07:00
"node script/lint.js --py --fix --only --"
2019-02-06 10:27:20 -08:00
] ,
2019-03-21 12:15:55 -07:00
"docs/api/**/*.md" : [
2020-08-07 13:48:46 -07:00
"ts-node script/gen-filenames.ts" ,
2021-02-08 09:14:46 -08:00
"markdownlint --config .markdownlint.autofix.json --fix" ,
2019-02-15 17:03:50 -08:00
"git add filenames.auto.gni"
2019-10-31 13:11:51 -07:00
] ,
2019-12-13 09:18:45 -08:00
"{*.patch,.patches}" : [
2020-06-04 17:43:28 -07:00
"node script/lint.js --patches --only --" ,
2020-08-07 13:48:46 -07:00
"ts-node script/check-patch-diff.ts"
2019-12-13 09:18:45 -08:00
] ,
2019-10-31 13:11:51 -07:00
"DEPS" : [
"node script/gen-hunspell-filenames.js"
2019-01-21 14:46:32 -08:00
]
2018-09-21 15:24:42 +10:00
}
2021-04-20 07:33:25 -07:00
}