зеркало из https://github.com/electron/electron.git
52 строки
1.9 KiB
JSON
52 строки
1.9 KiB
JSON
{
|
|
"name": "electron",
|
|
"version": "1.7.1",
|
|
"devDependencies": {
|
|
"asar": "^0.11.0",
|
|
"browserify": "^13.1.0",
|
|
"electabul": "~0.0.4",
|
|
"electron-docs-linter": "^2.3.3",
|
|
"electron-typescript-definitions": "^1.2.5",
|
|
"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",
|
|
"clean-build": "python ./script/clean.py --build",
|
|
"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",
|
|
"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",
|
|
"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"
|
|
}
|
|
}
|