2013-04-14 18:48:35 +04:00
|
|
|
{
|
2015-04-14 10:59:45 +03:00
|
|
|
"name": "electron",
|
2018-02-16 20:16:30 +03:00
|
|
|
"version": "0.0.0-dev",
|
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": {
|
2016-04-07 04:15:17 +03:00
|
|
|
"asar": "^0.11.0",
|
2016-08-21 13:30:14 +03:00
|
|
|
"browserify": "^13.1.0",
|
2017-07-12 20:18:40 +03:00
|
|
|
"check-for-leaks": "^1.0.2",
|
2018-04-27 20:01:12 +03:00
|
|
|
"clang-format": "^1.2.3",
|
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",
|
2016-08-04 02:37:53 +03:00
|
|
|
"electabul": "~0.0.4",
|
2017-11-20 19:24:39 +03:00
|
|
|
"electron-docs-linter": "^2.3.4",
|
2018-05-12 11:12:28 +03:00
|
|
|
"electron-typescript-definitions": "^1.3.3",
|
2017-07-14 00:09:21 +03:00
|
|
|
"github": "^9.2.0",
|
2017-07-12 20:18:40 +03:00
|
|
|
"husky": "^0.14.3",
|
2018-05-03 18:43:40 +03:00
|
|
|
"lint": "^1.1.2",
|
2017-10-23 18:02:50 +03:00
|
|
|
"minimist": "^1.2.0",
|
|
|
|
"nugget": "^2.0.1",
|
2017-11-20 09:05:47 +03:00
|
|
|
"remark-cli": "^4.0.0",
|
|
|
|
"remark-preset-lint-markdown-style-guide": "^2.1.1",
|
2017-06-04 20:49:59 +03:00
|
|
|
"request": "^2.68.0",
|
2018-03-14 06:59:18 +03:00
|
|
|
"serve": "^6.5.3",
|
2017-11-24 00:41:14 +03:00
|
|
|
"standard": "^10.0.0",
|
2017-07-14 00:09:21 +03:00
|
|
|
"standard-markdown": "^4.0.0",
|
2017-10-23 18:02:50 +03:00
|
|
|
"sumchecker": "^2.0.2",
|
2017-07-14 00:09:21 +03:00
|
|
|
"temp": "^0.8.3"
|
2015-10-08 04:25:31 +03:00
|
|
|
},
|
2016-03-25 22:42:41 +03:00
|
|
|
"standard": {
|
2016-03-29 08:10:27 +03:00
|
|
|
"ignore": [
|
2016-03-31 00:07:16 +03:00
|
|
|
"/out",
|
|
|
|
"/spec",
|
2016-03-29 08:10:27 +03:00
|
|
|
"/vendor"
|
2016-03-31 00:56:30 +03:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"browser": true
|
|
|
|
}
|
2016-03-25 22:42:41 +03:00
|
|
|
},
|
2013-04-14 18:48:35 +04:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2016-02-10 20:43:29 +03:00
|
|
|
"bootstrap": "python ./script/bootstrap.py",
|
2016-08-21 13:30:14 +03:00
|
|
|
"browserify": "browserify",
|
2016-10-19 05:40:40 +03:00
|
|
|
"bump-version": "./script/bump-version.py",
|
2016-02-10 20:43:29 +03:00
|
|
|
"build": "python ./script/build.py -c D",
|
2017-05-26 02:04:38 +03:00
|
|
|
"rebuild-test-modules": "python ./script/rebuild-test-modules.py",
|
2016-08-11 01:45:07 +03:00
|
|
|
"clean": "python ./script/clean.py",
|
2017-03-20 20:32:16 +03:00
|
|
|
"clean-build": "python ./script/clean.py --build",
|
2018-04-27 20:01:12 +03:00
|
|
|
"clang-format": "find atom/ brightray/ chromium_src/ -iname *.h -o -iname *.cc -o -iname *.mm | xargs clang-format -i",
|
2017-05-26 00:28:54 +03:00
|
|
|
"coverage": "npm run instrument-code-coverage && npm test -- --use_instrumented_asar",
|
2016-08-04 00:12:05 +03:00
|
|
|
"instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar",
|
2018-04-27 20:01:12 +03:00
|
|
|
"lint": "npm run lint-js && npm run lint-cpp && npm run lint-clang-format && npm run lint-py && npm run lint-docs",
|
2016-06-29 19:13:23 +03:00
|
|
|
"lint-js": "standard && cd spec && standard",
|
2018-04-27 20:01:12 +03:00
|
|
|
"lint-clang-format": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
|
2016-03-31 00:07:16 +03:00
|
|
|
"lint-cpp": "python ./script/cpplint.py",
|
2016-09-08 02:23:59 +03:00
|
|
|
"lint-py": "python ./script/pylint.py",
|
2017-12-14 01:39:13 +03: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",
|
2017-11-09 06:06:18 +03:00
|
|
|
"lint-js-in-markdown": "standard-markdown docs",
|
2017-05-11 09:22:49 +03:00
|
|
|
"create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version",
|
|
|
|
"create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts",
|
2017-11-03 09:51:40 +03:00
|
|
|
"mock-release": "node ./script/ci-release-build.js",
|
2017-08-14 21:33:32 +03:00
|
|
|
"preinstall": "node -e 'process.exit(0)'",
|
2017-07-14 00:09:21 +03:00
|
|
|
"publish-to-npm": "node ./script/publish-to-npm.js",
|
2018-04-27 20:01:12 +03:00
|
|
|
"precommit": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ || (echo \"Code not formatted correctly.\" && exit 1)",
|
2017-07-12 20:18:40 +03:00
|
|
|
"prepack": "check-for-leaks",
|
|
|
|
"prepush": "check-for-leaks",
|
2017-10-23 18:02:50 +03:00
|
|
|
"prepare-release": "node ./script/prepare-release.js",
|
|
|
|
"prerelease": "python ./script/bootstrap.py -v --dev && npm run build",
|
|
|
|
"release": "node ./script/release.js",
|
2016-03-22 23:26:05 +03:00
|
|
|
"repl": "python ./script/start.py --interactive",
|
2016-01-16 23:31:09 +03:00
|
|
|
"start": "python ./script/start.py",
|
2016-02-10 20:43:29 +03:00
|
|
|
"test": "python ./script/test.py"
|
2017-07-14 00:09:21 +03:00
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"author": "Electron Community",
|
|
|
|
"keywords": [
|
|
|
|
"electron"
|
2018-05-03 18:43:40 +03:00
|
|
|
]
|
2013-04-14 18:48:35 +04:00
|
|
|
}
|