electron/package.json

119 lines
3.8 KiB
JSON
Raw Normal View History

2013-04-14 14:48:35 +00:00
{
2015-04-14 07:59:45 +00:00
"name": "electron",
2019-03-07 20:51:33 +00:00
"version": "6.0.0-nightly.20190307",
"repository": "https://github.com/electron/electron",
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
"devDependencies": {
"@octokit/rest": "^16.3.2",
"@types/node": "^10.12.21",
"@typescript-eslint/eslint-plugin": "^1.4.2",
"@typescript-eslint/parser": "^1.4.2",
"aliasify": "^2.1.0",
"asar": "^1.0.0",
"browserify": "^16.2.3",
"check-for-leaks": "^1.0.2",
"clang-format": "^1.2.3",
2017-08-09 17:49:31 +00:00
"colors": "^1.1.2",
"dotenv-safe": "^4.0.4",
"dugite": "^1.45.0",
"electron-docs-linter": "^3.0.0",
"electron-typescript-definitions": "^8.2.1",
"eslint": "^5.13.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-mocha": "^5.2.0",
"eslint-plugin-typescript": "^0.14.0",
"folder-hash": "^2.1.1",
"fs-extra": "^7.0.1",
"husky": "^0.14.3",
"klaw": "^3.0.0",
"lint": "^1.1.2",
"lint-staged": "^8.1.0",
"minimist": "^1.2.0",
"nugget": "^2.0.1",
"octicons": "^7.3.0",
"plist": "^3.0.1",
"pre-flight": "^1.1.0",
"remark-cli": "^4.0.0",
"remark-preset-lint-markdown-style-guide": "^2.1.1",
"request": "^2.88.0",
"semver": "^5.6.0",
"serve": "^6.5.8",
"shx": "^0.3.2",
2018-09-13 16:10:51 +00:00
"standard-markdown": "^5.0.0",
"sumchecker": "^2.0.2",
"temp": "^0.8.3",
"tsify": "^4.0.1",
"typescript": "~3.3.3333"
},
2013-04-14 14:48:35 +00:00
"private": true,
"scripts": {
2018-05-03 22:44:29 +00:00
"asar": "asar",
"browserify": "browserify",
"bump-version": "./script/bump-version.js",
"check-tls": "python ./script/tls.py",
2018-10-24 10:49:10 +00:00
"clang-format": "find atom/ chromium_src/ -iname *.h -o -iname *.cc -o -iname *.mm | xargs clang-format -i",
"lint": "node ./script/lint.js && npm run lint:clang-format && npm run lint:docs",
"lint:js": "node ./script/lint.js --js",
2018-10-24 10:49:10 +00:00
"lint:clang-format": "python script/run-clang-format.py -r -c atom/ chromium_src/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
"lint:cpp": "node ./script/lint.js --cc",
"lint:py": "node ./script/lint.js --py",
"lint:gn": "node ./script/lint.js --gn",
"lint:docs": "remark docs -qf && npm run lint:js-in-markdown && npm run create-typescript-definitions && npm run lint:docs-relative-links",
"lint:docs-relative-links": "python ./script/check-relative-doc-links.py",
"lint:js-in-markdown": "standard-markdown docs",
"create-api-json": "electron-docs-linter docs --outfile=electron-api.json",
"create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=electron-api.json --out=electron.d.ts && node spec/ts-smoke/runner.js",
"gn-typescript-definitions": "npm run create-typescript-definitions && shx cp electron.d.ts",
"pre-flight": "pre-flight",
"preinstall": "node -e 'process.exit(0)'",
"precommit": "lint-staged",
"prepack": "check-for-leaks",
"prepush": "check-for-leaks",
"repl": "node ./script/start.js --interactive",
"start": "node ./script/start.js",
"test": "node ./script/spec-runner.js electron/spec",
"tsc": "tsc"
},
"license": "MIT",
"author": "Electron Community",
"keywords": [
"electron"
],
"aliasify": {
"replacements": {
"@electron/internal/(.+)": "./lib/$1"
},
"appliesTo": {
"includeExtensions": [
".js",
".ts"
]
}
},
"lint-staged": {
"*.{js,ts}": [
"node script/lint.js --js --fix --only --",
"git add"
],
"*.{cc,mm,c,h}": [
"python script/run-clang-format.py -r -c --fix",
"git add"
],
"*.md": [
"remark -qf"
],
"*.{gn,gni}": [
"python script/run-gn-format.py",
"git add"
],
"*.py": [
"node script/lint.js --py --fix --only --",
"git add"
],
"docs/api/*.md": [
"node script/gen-filenames.js",
"git add filenames.auto.gni"
]
}
}