2013-04-14 22:48:35 +08:00
|
|
|
{
|
2015-04-14 15:59:45 +08:00
|
|
|
"name": "electron",
|
2016-10-06 15:03:01 +09:00
|
|
|
"version": "1.4.3",
|
2013-10-17 09:58:55 +08:00
|
|
|
"devDependencies": {
|
2016-04-06 18:15:17 -07:00
|
|
|
"asar": "^0.11.0",
|
2016-08-21 07:30:14 -03:00
|
|
|
"browserify": "^13.1.0",
|
2016-08-03 16:37:53 -07:00
|
|
|
"electabul": "~0.0.4",
|
2016-10-12 11:04:53 -07:00
|
|
|
"electron-docs-linter": "^1.8.2",
|
2016-03-24 12:59:11 -07:00
|
|
|
"request": "*",
|
2016-10-13 12:46:00 +11:00
|
|
|
"standard": "^8.4.0",
|
2016-10-05 14:30:33 -07:00
|
|
|
"standard-markdown": "^2.1.1"
|
2015-10-08 09:25:31 +08:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2015-09-27 14:44:28 +02:00
|
|
|
"runas": "^3.0.0"
|
2013-04-14 22:48:35 +08:00
|
|
|
},
|
2016-03-25 12:42:41 -07:00
|
|
|
"standard": {
|
2016-03-28 22:10:27 -07:00
|
|
|
"ignore": [
|
2016-03-30 14:07:16 -07:00
|
|
|
"/out",
|
|
|
|
"/spec",
|
2016-03-28 22:10:27 -07:00
|
|
|
"/vendor"
|
2016-03-30 14:56:30 -07:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"browser": true
|
|
|
|
}
|
2016-03-25 12:42:41 -07:00
|
|
|
},
|
2013-04-14 22:48:35 +08:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2016-02-10 09:43:29 -08:00
|
|
|
"bootstrap": "python ./script/bootstrap.py",
|
2016-08-21 07:30:14 -03:00
|
|
|
"browserify": "browserify",
|
2016-02-10 09:43:29 -08:00
|
|
|
"build": "python ./script/build.py -c D",
|
2016-08-10 15:45:07 -07:00
|
|
|
"clean": "python ./script/clean.py",
|
2016-08-03 14:12:05 -07:00
|
|
|
"coverage": "npm run instrument-code-coverage && npm test -- --use-instrumented-asar",
|
|
|
|
"instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar",
|
2016-07-14 16:35:40 -07:00
|
|
|
"lint": "npm run lint-js && npm run lint-cpp && npm run lint-py && npm run lint-api-docs-js && npm run lint-api-docs",
|
2016-06-29 09:13:23 -07:00
|
|
|
"lint-js": "standard && cd spec && standard",
|
2016-03-30 14:07:16 -07:00
|
|
|
"lint-cpp": "python ./script/cpplint.py",
|
2016-09-07 16:23:59 -07:00
|
|
|
"lint-py": "python ./script/pylint.py",
|
2016-10-03 14:35:20 -07:00
|
|
|
"lint-api-docs-js": "standard-markdown docs && standard-markdown docs-translations",
|
2016-09-06 16:53:27 -07:00
|
|
|
"lint-api-docs": "electron-docs-linter docs/api --version=$npm_package_version --outfile=out/electron-api.json",
|
2015-12-10 10:44:11 -08:00
|
|
|
"preinstall": "node -e 'process.exit(0)'",
|
2016-03-22 13:26:05 -07:00
|
|
|
"repl": "python ./script/start.py --interactive",
|
2016-01-16 12:31:09 -08:00
|
|
|
"start": "python ./script/start.py",
|
2016-02-10 09:43:29 -08:00
|
|
|
"test": "python ./script/test.py"
|
2013-04-14 22:48:35 +08:00
|
|
|
}
|
|
|
|
}
|