electron/package.json
2017-07-17 12:45:30 -07:00

49 lines
1.9 KiB
JSON

{
"name": "electron",
"version": "1.7.5",
"devDependencies": {
"asar": "^0.11.0",
"browserify": "^13.1.0",
"electabul": "~0.0.4",
"electron-docs-linter": "^2.3.3",
"electron-typescript-definitions": "^1.2.7",
"request": "^2.68.0",
"standard": "^8.4.0",
"standard-markdown": "^4.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",
"rebuild-test-modules": "python ./script/rebuild-test-modules.py",
"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-docs",
"lint-js": "standard && cd spec && standard",
"lint-cpp": "python ./script/cpplint.py",
"lint-py": "python ./script/pylint.py",
"lint-docs": "npm run lint-api-docs-js && npm run create-typescript-definitions",
"lint-api-docs-js": "standard-markdown docs && standard-markdown docs-translations",
"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"
}
}