2013-04-14 14:48:35 +00:00
|
|
|
{
|
2015-04-14 07:59:45 +00:00
|
|
|
"name": "electron",
|
2019-01-22 16:55:08 +00:00
|
|
|
"version": "5.0.0-nightly.20190122",
|
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": {
|
2019-01-21 22:46:32 +00:00
|
|
|
"@octokit/rest": "^16.3.2",
|
2018-09-20 03:43:26 +00:00
|
|
|
"aliasify": "^2.1.0",
|
2016-04-07 01:15:17 +00:00
|
|
|
"asar": "^0.11.0",
|
2016-08-21 10:30:14 +00:00
|
|
|
"browserify": "^13.1.0",
|
2017-07-12 17:18:40 +00:00
|
|
|
"check-for-leaks": "^1.0.2",
|
2018-04-27 17:01:12 +00:00
|
|
|
"clang-format": "^1.2.3",
|
2017-08-09 17:49:31 +00:00
|
|
|
"colors": "^1.1.2",
|
2017-07-13 21:09:21 +00:00
|
|
|
"dotenv-safe": "^4.0.4",
|
2017-10-23 15:02:50 +00:00
|
|
|
"dugite": "^1.45.0",
|
2018-09-20 12:37:56 +00:00
|
|
|
"electron-docs-linter": "^2.4.0",
|
2019-01-21 07:40:27 +00:00
|
|
|
"electron-typescript-definitions": "^4.0.0",
|
2018-09-15 17:51:23 +00:00
|
|
|
"eslint": "^5.6.0",
|
|
|
|
"eslint-config-standard": "^12.0.0",
|
|
|
|
"eslint-plugin-mocha": "^5.2.0",
|
2018-09-13 15:30:12 +00:00
|
|
|
"folder-hash": "^2.1.1",
|
2017-07-12 17:18:40 +00:00
|
|
|
"husky": "^0.14.3",
|
2018-05-03 15:43:40 +00:00
|
|
|
"lint": "^1.1.2",
|
2019-01-21 22:46:32 +00:00
|
|
|
"lint-staged": "^8.1.0",
|
2017-10-23 15:02:50 +00:00
|
|
|
"minimist": "^1.2.0",
|
|
|
|
"nugget": "^2.0.1",
|
2018-07-17 00:26:58 +00:00
|
|
|
"octicons": "^7.3.0",
|
2018-12-06 19:00:10 +00:00
|
|
|
"plist": "^3.0.1",
|
2017-11-20 06:05:47 +00:00
|
|
|
"remark-cli": "^4.0.0",
|
|
|
|
"remark-preset-lint-markdown-style-guide": "^2.1.1",
|
2018-09-13 15:35:18 +00:00
|
|
|
"request": "^2.88.0",
|
2018-12-06 19:00:10 +00:00
|
|
|
"semver": "^5.6.0",
|
2018-08-17 16:48:01 +00:00
|
|
|
"serve": "^6.5.8",
|
2018-09-13 16:10:51 +00:00
|
|
|
"standard-markdown": "^5.0.0",
|
2017-10-23 15:02:50 +00:00
|
|
|
"sumchecker": "^2.0.2",
|
2017-07-13 21:09:21 +00:00
|
|
|
"temp": "^0.8.3"
|
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",
|
2016-08-21 10:30:14 +00:00
|
|
|
"browserify": "browserify",
|
2019-01-08 04:37:44 +00:00
|
|
|
"bump-version": "./script/bump-version.js",
|
2018-08-12 21:01:46 +00:00
|
|
|
"check-tls": "python ./script/tls.py",
|
2018-10-24 10:49:10 +00:00
|
|
|
"clang-format": "find atom/ chromium_src/ -iname *.h -o -iname *.cc -o -iname *.mm | xargs clang-format -i",
|
2018-10-08 12:48:35 +00:00
|
|
|
"lint": "node ./script/lint.js && npm run lint:clang-format && npm run lint:docs",
|
2018-10-15 15:26:47 +00:00
|
|
|
"lint:js": "node ./script/lint.js --js",
|
2018-10-24 10:49:10 +00: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 12:48:35 +00:00
|
|
|
"lint:cpp": "node ./script/lint.js --cc",
|
|
|
|
"lint:py": "node ./script/lint.js --py",
|
|
|
|
"lint:gn": "node ./script/lint.js --gn",
|
2018-08-13 15:20:55 +00:00
|
|
|
"lint:docs": "remark docs -qf && npm run lint:js-in-markdown && npm run create-typescript-definitions && npm run lint:docs-relative-links",
|
|
|
|
"lint:docs-relative-links": "python ./script/check-relative-doc-links.py",
|
|
|
|
"lint:js-in-markdown": "standard-markdown docs",
|
2018-09-15 15:40:20 +00:00
|
|
|
"create-api-json": "electron-docs-linter docs --outfile=electron-api.json",
|
2018-09-13 13:08:08 +00:00
|
|
|
"create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=electron-api.json --out=electron.d.ts",
|
2017-08-14 18:33:32 +00:00
|
|
|
"preinstall": "node -e 'process.exit(0)'",
|
2019-01-21 22:46:32 +00:00
|
|
|
"precommit": "lint-staged",
|
2017-07-12 17:18:40 +00:00
|
|
|
"prepack": "check-for-leaks",
|
|
|
|
"prepush": "check-for-leaks",
|
2018-09-13 16:57:39 +00:00
|
|
|
"repl": "node ./script/start.js --interactive",
|
|
|
|
"start": "node ./script/start.js",
|
2018-09-13 15:30:12 +00:00
|
|
|
"test": "node ./script/spec-runner.js electron/spec"
|
2017-07-13 21:09:21 +00:00
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"author": "Electron Community",
|
|
|
|
"keywords": [
|
|
|
|
"electron"
|
2018-09-20 03:43:26 +00:00
|
|
|
],
|
|
|
|
"aliasify": {
|
|
|
|
"replacements": {
|
|
|
|
"@electron/internal/(.+)": "./lib/$1"
|
|
|
|
}
|
2019-01-21 22:46:32 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,ts}": [
|
|
|
|
"node script/lint.js --js --fix --only --",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.{cc,mm,c,h}": [
|
|
|
|
"python script/run-clang-format.py -r -c --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.md": [
|
|
|
|
"remark -qf"
|
|
|
|
]
|
2018-09-21 05:24:42 +00:00
|
|
|
}
|
2019-01-22 16:55:08 +00:00
|
|
|
}
|