157 lines
5.6 KiB
JSON
157 lines
5.6 KiB
JSON
{
|
|
"name": "electron",
|
|
"version": "0.0.0-development",
|
|
"repository": "https://github.com/electron/electron",
|
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
"devDependencies": {
|
|
"@azure/storage-blob": "^12.9.0",
|
|
"@electron/asar": "^3.2.1",
|
|
"@electron/docs-parser": "^1.1.1",
|
|
"@electron/fiddle-core": "^1.0.4",
|
|
"@electron/github-app-auth": "^2.0.0",
|
|
"@electron/lint-roller": "^1.9.0",
|
|
"@electron/typescript-definitions": "^8.14.5",
|
|
"@octokit/rest": "^19.0.7",
|
|
"@primer/octicons": "^10.0.0",
|
|
"@types/basic-auth": "^1.1.3",
|
|
"@types/busboy": "^1.5.0",
|
|
"@types/chai": "^4.2.12",
|
|
"@types/chai-as-promised": "^7.1.3",
|
|
"@types/dirty-chai": "^2.0.2",
|
|
"@types/express": "^4.17.13",
|
|
"@types/fs-extra": "^9.0.1",
|
|
"@types/klaw": "^3.0.1",
|
|
"@types/minimist": "^1.2.0",
|
|
"@types/mocha": "^7.0.2",
|
|
"@types/node": "^18.11.18",
|
|
"@types/semver": "^7.3.3",
|
|
"@types/send": "^0.14.5",
|
|
"@types/split": "^1.0.0",
|
|
"@types/stream-json": "^1.5.1",
|
|
"@types/temp": "^0.8.34",
|
|
"@types/uuid": "^3.4.6",
|
|
"@types/w3c-web-serial": "^1.0.3",
|
|
"@types/webpack": "^5.28.0",
|
|
"@types/webpack-env": "^1.17.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.7",
|
|
"@typescript-eslint/parser": "^5.59.7",
|
|
"buffer": "^6.0.3",
|
|
"check-for-leaks": "^1.2.1",
|
|
"colors": "1.4.0",
|
|
"dotenv-safe": "^4.0.4",
|
|
"dugite": "^2.3.0",
|
|
"eslint": "^8.41.0",
|
|
"eslint-config-standard": "^14.1.1",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-mocha": "^7.0.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-standard": "^4.0.1",
|
|
"eslint-plugin-unicorn": "^46.0.1",
|
|
"events": "^3.2.0",
|
|
"express": "^4.16.4",
|
|
"folder-hash": "^2.1.1",
|
|
"fs-extra": "^9.0.1",
|
|
"got": "^11.8.5",
|
|
"husky": "^8.0.1",
|
|
"klaw": "^3.0.0",
|
|
"lint": "^1.1.2",
|
|
"lint-staged": "^10.2.11",
|
|
"minimist": "^1.2.6",
|
|
"null-loader": "^4.0.0",
|
|
"pre-flight": "^1.1.0",
|
|
"process": "^0.11.10",
|
|
"remark-cli": "^10.0.0",
|
|
"remark-preset-lint-markdown-style-guide": "^4.0.0",
|
|
"semver": "^7.5.2",
|
|
"shx": "^0.3.2",
|
|
"stream-json": "^1.7.1",
|
|
"tap-xunit": "^2.4.1",
|
|
"temp": "^0.8.3",
|
|
"timers-browserify": "1.4.2",
|
|
"ts-loader": "^8.0.2",
|
|
"ts-node": "6.2.0",
|
|
"typescript": "^5.1.2",
|
|
"url": "^0.11.0",
|
|
"webpack": "^5.76.0",
|
|
"webpack-cli": "^4.10.0",
|
|
"wrapper-webpack-plugin": "^2.2.0"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"asar": "asar",
|
|
"generate-version-json": "node script/generate-version-json.js",
|
|
"lint": "node ./script/lint.js && npm run lint:docs",
|
|
"lint:js": "node ./script/lint.js --js",
|
|
"lint:clang-format": "python3 script/run-clang-format.py -r -c shell/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
|
|
"lint:clang-tidy": "ts-node ./script/run-clang-tidy.ts",
|
|
"lint:cpp": "node ./script/lint.js --cc",
|
|
"lint:objc": "node ./script/lint.js --objc",
|
|
"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:ts-check-js-in-markdown && npm run lint:docs-fiddles && npm run lint:docs-relative-links && npm run lint:markdownlint",
|
|
"lint:docs-fiddles": "standard \"docs/fiddles/**/*.js\"",
|
|
"lint:docs-relative-links": "electron-lint-markdown-links --root docs \"**/*.md\"",
|
|
"lint:markdownlint": "electron-markdownlint \"*.md\" \"docs/**/*.md\"",
|
|
"lint:ts-check-js-in-markdown": "electron-lint-markdown-ts-check --root docs \"**/*.md\" --ignore \"breaking-changes.md\"",
|
|
"lint:js-in-markdown": "electron-lint-markdown-standard --root docs \"**/*.md\"",
|
|
"create-api-json": "node script/create-api-json.js",
|
|
"create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --api=electron-api.json && node spec/ts-smoke/runner.js",
|
|
"gn-typescript-definitions": "npm run create-typescript-definitions && shx cp electron.d.ts",
|
|
"pre-flight": "pre-flight",
|
|
"gn-check": "node ./script/gn-check.js",
|
|
"gn-format": "python3 script/run-gn-format.py",
|
|
"precommit": "lint-staged",
|
|
"preinstall": "node -e 'process.exit(0)'",
|
|
"pretest": "npm run create-typescript-definitions",
|
|
"prepack": "check-for-leaks",
|
|
"prepare": "husky install",
|
|
"repl": "node ./script/start.js --interactive",
|
|
"start": "node ./script/start.js",
|
|
"test": "node ./script/spec-runner.js",
|
|
"tsc": "tsc",
|
|
"webpack": "webpack"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Electron Community",
|
|
"keywords": [
|
|
"electron"
|
|
],
|
|
"lint-staged": {
|
|
"*.{js,ts}": [
|
|
"node script/lint.js --js --fix --only --"
|
|
],
|
|
"*.{js,ts,d.ts}": [
|
|
"ts-node script/gen-filenames.ts"
|
|
],
|
|
"*.{cc,mm,c,h}": [
|
|
"python3 script/run-clang-format.py -r -c --fix"
|
|
],
|
|
"*.md": [
|
|
"npm run lint:docs"
|
|
],
|
|
"*.{gn,gni}": [
|
|
"npm run gn-check",
|
|
"npm run gn-format"
|
|
],
|
|
"*.py": [
|
|
"node script/lint.js --py --fix --only --"
|
|
],
|
|
"docs/api/**/*.md": [
|
|
"ts-node script/gen-filenames.ts",
|
|
"electron-markdownlint --config .markdownlint.autofix.json --fix",
|
|
"git add filenames.auto.gni"
|
|
],
|
|
"{*.patch,.patches}": [
|
|
"node script/lint.js --patches --only --",
|
|
"ts-node script/check-patch-diff.ts"
|
|
],
|
|
"DEPS": [
|
|
"node script/gen-hunspell-filenames.js",
|
|
"node script/gen-libc++-filenames.js"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"nan": "nodejs/nan#e14bdcd1f72d62bca1d541b66da43130384ec213"
|
|
}
|
|
}
|