2013-04-14 14:48:35 +00:00
|
|
|
{
|
2015-04-14 07:59:45 +00:00
|
|
|
"name": "electron",
|
2017-05-26 18:13:38 +00:00
|
|
|
"version": "1.7.2",
|
2013-10-17 01:58:55 +00:00
|
|
|
"devDependencies": {
|
2016-04-07 01:15:17 +00:00
|
|
|
"asar": "^0.11.0",
|
2016-08-21 10:30:14 +00:00
|
|
|
"browserify": "^13.1.0",
|
2016-08-03 23:37:53 +00:00
|
|
|
"electabul": "~0.0.4",
|
2017-05-15 18:45:17 +00:00
|
|
|
"electron-docs-linter": "^2.3.3",
|
|
|
|
"electron-typescript-definitions": "^1.2.5",
|
2016-03-24 19:59:11 +00:00
|
|
|
"request": "*",
|
2016-10-13 01:46:00 +00:00
|
|
|
"standard": "^8.4.0",
|
2016-10-05 21:30:33 +00:00
|
|
|
"standard-markdown": "^2.1.1"
|
2015-10-08 01:25:31 +00:00
|
|
|
},
|
2016-03-25 19:42:41 +00:00
|
|
|
"standard": {
|
2016-03-29 05:10:27 +00:00
|
|
|
"ignore": [
|
2016-03-30 21:07:16 +00:00
|
|
|
"/out",
|
|
|
|
"/spec",
|
2016-03-29 05:10:27 +00:00
|
|
|
"/vendor"
|
2016-03-30 21:56:30 +00:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"browser": true
|
|
|
|
}
|
2016-03-25 19:42:41 +00:00
|
|
|
},
|
2013-04-14 14:48:35 +00:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2016-02-10 17:43:29 +00:00
|
|
|
"bootstrap": "python ./script/bootstrap.py",
|
2016-08-21 10:30:14 +00:00
|
|
|
"browserify": "browserify",
|
2016-10-19 02:40:40 +00:00
|
|
|
"bump-version": "./script/bump-version.py",
|
2016-02-10 17:43:29 +00:00
|
|
|
"build": "python ./script/build.py -c D",
|
2017-05-25 23:04:38 +00:00
|
|
|
"rebuild-test-modules": "python ./script/rebuild-test-modules.py",
|
2016-08-10 22:45:07 +00:00
|
|
|
"clean": "python ./script/clean.py",
|
2017-03-20 17:32:16 +00:00
|
|
|
"clean-build": "python ./script/clean.py --build",
|
2017-05-25 21:28:54 +00:00
|
|
|
"coverage": "npm run instrument-code-coverage && npm test -- --use_instrumented_asar",
|
2016-08-03 21:12:05 +00:00
|
|
|
"instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar",
|
2017-05-31 19:42:15 +00:00
|
|
|
"lint": "npm run lint-js && npm run lint-cpp && npm run lint-py && npm run lint-docs",
|
2016-06-29 16:13:23 +00:00
|
|
|
"lint-js": "standard && cd spec && standard",
|
2016-03-30 21:07:16 +00:00
|
|
|
"lint-cpp": "python ./script/cpplint.py",
|
2016-09-07 23:23:59 +00:00
|
|
|
"lint-py": "python ./script/pylint.py",
|
2017-05-31 19:42:15 +00:00
|
|
|
"lint-docs": "npm run lint-api-docs-js && npm run create-typescript-definitions",
|
2016-10-03 21:35:20 +00:00
|
|
|
"lint-api-docs-js": "standard-markdown docs && standard-markdown docs-translations",
|
2017-05-11 06:22:49 +00: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",
|
2015-12-10 18:44:11 +00:00
|
|
|
"preinstall": "node -e 'process.exit(0)'",
|
2016-10-18 04:41:57 +00:00
|
|
|
"release": "./script/upload.py -p",
|
2016-03-22 20:26:05 +00:00
|
|
|
"repl": "python ./script/start.py --interactive",
|
2016-01-16 20:31:09 +00:00
|
|
|
"start": "python ./script/start.py",
|
2016-02-10 17:43:29 +00:00
|
|
|
"test": "python ./script/test.py"
|
2013-04-14 14:48:35 +00:00
|
|
|
}
|
|
|
|
}
|