2013-04-14 18:48:35 +04:00
{
2015-04-14 10:59:45 +03:00
"name" : "electron" ,
2019-07-24 18:33:49 +03:00
"version" : "7.0.0-nightly.20190724" ,
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" : {
2019-06-28 10:25:30 +03:00
"@electron/docs-parser" : "^0.3.0" ,
2019-07-22 18:20:43 +03:00
"@electron/typescript-definitions" : "^8.3.5" ,
2019-01-22 01:46:32 +03:00
"@octokit/rest" : "^16.3.2" ,
2019-07-01 21:25:45 +03:00
"@primer/octicons" : "^9.1.1" ,
2019-03-11 01:38:44 +03:00
"@types/chai" : "^4.1.7" ,
"@types/chai-as-promised" : "^7.1.0" ,
2019-03-30 03:32:52 +03:00
"@types/express" : "^4.16.1" ,
"@types/fs-extra" : "^5.0.5" ,
2019-03-11 01:38:44 +03:00
"@types/mocha" : "^5.2.6" ,
2019-07-01 21:25:45 +03:00
"@types/node" : "^12.0.10" ,
2019-03-11 01:38:44 +03:00
"@types/split" : "^1.0.0" ,
2019-06-02 23:03:03 +03:00
"@types/webpack" : "^4.4.32" ,
"@types/webpack-env" : "^1.13.9" ,
2019-03-07 23:56:02 +03:00
"@typescript-eslint/eslint-plugin" : "^1.4.2" ,
"@typescript-eslint/parser" : "^1.4.2" ,
2019-02-26 05:25:00 +03:00
"asar" : "^1.0.0" ,
2019-07-01 21:25:45 +03:00
"check-for-leaks" : "^1.2.1" ,
2017-08-09 20:49:31 +03:00
"colors" : "^1.1.2" ,
2017-07-14 00:09:21 +03:00
"dotenv-safe" : "^4.0.4" ,
2017-10-23 18:02:50 +03:00
"dugite" : "^1.45.0" ,
2019-02-06 21:27:20 +03:00
"eslint" : "^5.13.0" ,
2018-09-15 20:51:23 +03:00
"eslint-config-standard" : "^12.0.0" ,
2019-04-30 23:59:47 +03:00
"eslint-plugin-import" : "^2.17.2" ,
2018-09-15 20:51:23 +03:00
"eslint-plugin-mocha" : "^5.2.0" ,
2019-04-30 23:59:47 +03:00
"eslint-plugin-node" : "^8.0.1" ,
"eslint-plugin-standard" : "^4.0.0" ,
2019-02-06 21:27:20 +03:00
"eslint-plugin-typescript" : "^0.14.0" ,
2019-03-30 03:32:52 +03:00
"express" : "^4.16.4" ,
2018-09-13 18:30:12 +03:00
"folder-hash" : "^2.1.1" ,
2019-02-26 05:25:00 +03:00
"fs-extra" : "^7.0.1" ,
2019-05-23 00:03:06 +03:00
"husky" : "^2.2.0" ,
2019-02-26 05:25:00 +03:00
"klaw" : "^3.0.0" ,
2018-05-03 18:43:40 +03:00
"lint" : "^1.1.2" ,
2019-01-22 01:46:32 +03:00
"lint-staged" : "^8.1.0" ,
2017-10-23 18:02:50 +03:00
"minimist" : "^1.2.0" ,
"nugget" : "^2.0.1" ,
2019-02-15 01:28:41 +03:00
"pre-flight" : "^1.1.0" ,
2017-11-20 09:05:47 +03:00
"remark-cli" : "^4.0.0" ,
"remark-preset-lint-markdown-style-guide" : "^2.1.1" ,
2018-09-13 18:35:18 +03:00
"request" : "^2.88.0" ,
2018-12-06 22:00:10 +03:00
"semver" : "^5.6.0" ,
2019-03-08 23:52:28 +03:00
"shx" : "^0.3.2" ,
2018-09-13 19:10:51 +03:00
"standard-markdown" : "^5.0.0" ,
2017-10-23 18:02:50 +03:00
"sumchecker" : "^2.0.2" ,
2019-02-06 21:27:20 +03:00
"temp" : "^0.8.3" ,
2019-06-02 23:03:03 +03:00
"timers-browserify" : "1.4.2" ,
"ts-loader" : "^6.0.2" ,
2019-03-11 01:38:44 +03:00
"ts-node" : "^6.0.3" ,
2019-07-09 14:44:46 +03:00
"typescript" : "^3.5.2" ,
2019-06-02 23:03:03 +03:00
"webpack" : "^4.32.2" ,
"webpack-cli" : "^3.3.2"
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" ,
2018-10-08 15:48:35 +03:00
"lint" : "node ./script/lint.js && npm run lint:clang-format && npm run lint:docs" ,
2018-10-15 18:26:47 +03:00
"lint:js" : "node ./script/lint.js --js" ,
2018-10-24 13:49:10 +03:00
"lint:clang-format" : "python script/run-clang-format.py -r -c atom/ chromium_src/ || (echo \"\\nCode not formatted correctly.\" && exit 1)" ,
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" ,
2019-03-20 23:12:47 +03: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:check-trailing-whitespace" ,
2018-08-13 18:20:55 +03:00
"lint:docs-relative-links" : "python ./script/check-relative-doc-links.py" ,
2019-03-20 23:12:47 +03:00
"lint:check-trailing-whitespace" : "python ./script/check-trailing-whitespace.py" ,
2018-08-13 18:20:55 +03:00
"lint:js-in-markdown" : "standard-markdown docs" ,
2019-05-06 18:29:01 +03: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 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" ,
2017-08-14 21:33:32 +03:00
"preinstall" : "node -e 'process.exit(0)'" ,
2017-07-12 20:18:40 +03:00
"prepack" : "check-for-leaks" ,
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" ,
"webpack" : "node build/webpack/run-compiler"
2017-07-14 00:09:21 +03:00
} ,
"license" : "MIT" ,
"author" : "Electron Community" ,
"keywords" : [
"electron"
2018-09-20 06:43:26 +03:00
] ,
2019-05-23 00:03:06 +03:00
"husky" : {
"hooks" : {
"pre-commit" : "lint-staged" ,
"pre-push" : "check-for-leaks"
}
} ,
2019-01-22 01:46:32 +03:00
"lint-staged" : {
"*.{js,ts}" : [
"node script/lint.js --js --fix --only --" ,
"git add"
] ,
2019-04-03 03:12:10 +03:00
"*.{js,ts,d.ts}" : [
"node script/gen-filenames.js" ,
"git add"
] ,
2019-01-22 01:46:32 +03:00
"*.{cc,mm,c,h}" : [
"python script/run-clang-format.py -r -c --fix" ,
"git add"
] ,
"*.md" : [
"remark -qf"
2019-02-06 00:54:45 +03:00
] ,
"*.{gn,gni}" : [
"python script/run-gn-format.py" ,
"git add"
] ,
"*.py" : [
"node script/lint.js --py --fix --only --" ,
"git add"
2019-02-06 21:27:20 +03:00
] ,
2019-03-21 22:15:55 +03:00
"docs/api/**/*.md" : [
2019-02-06 21:27:20 +03:00
"node script/gen-filenames.js" ,
2019-03-21 22:15:55 +03:00
"python script/check-trailing-whitespace.py --fix" ,
2019-02-16 04:03:50 +03:00
"git add filenames.auto.gni"
2019-01-22 01:46:32 +03:00
]
2018-09-21 08:24:42 +03:00
}
2019-07-22 18:31:37 +03:00
}