48 строки
1.5 KiB
JSON
48 строки
1.5 KiB
JSON
{
|
|
"name": "electron",
|
|
"version": "1.4.10",
|
|
"devDependencies": {
|
|
"asar": "^0.11.0",
|
|
"browserify": "^13.1.0",
|
|
"electabul": "~0.0.4",
|
|
"electron-docs-linter": "^1.16.1",
|
|
"request": "*",
|
|
"standard": "^8.4.0",
|
|
"standard-markdown": "^2.1.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"runas": "^3.0.0"
|
|
},
|
|
"standard": {
|
|
"ignore": [
|
|
"/out",
|
|
"/spec",
|
|
"/vendor"
|
|
],
|
|
"env": {
|
|
"browser": true
|
|
}
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"bootstrap": "python ./script/bootstrap.py",
|
|
"browserify": "browserify",
|
|
"bump-version": "./script/bump-version.py",
|
|
"build": "python ./script/build.py -c D",
|
|
"clean": "python ./script/clean.py",
|
|
"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",
|
|
"lint": "npm run lint-js && npm run lint-cpp && npm run lint-py && npm run lint-api-docs-js && npm run lint-api-docs",
|
|
"lint-js": "standard && cd spec && standard",
|
|
"lint-cpp": "python ./script/cpplint.py",
|
|
"lint-py": "python ./script/pylint.py",
|
|
"lint-api-docs-js": "standard-markdown docs && standard-markdown docs-translations",
|
|
"lint-api-docs": "electron-docs-linter --outfile=out/electron-api.json",
|
|
"preinstall": "node -e 'process.exit(0)'",
|
|
"release": "./script/upload.py -p",
|
|
"repl": "python ./script/start.py --interactive",
|
|
"start": "python ./script/start.py",
|
|
"test": "python ./script/test.py"
|
|
}
|
|
}
|