7402648ee3
* build: update ts defs and docs parser * build: update dig
143 lines
5.3 KiB
JSON
143 lines
5.3 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.25.0",
|
|
"@electron/asar": "^3.2.13",
|
|
"@electron/docs-parser": "^2.0.0",
|
|
"@electron/fiddle-core": "^1.3.4",
|
|
"@electron/github-app-auth": "^2.2.1",
|
|
"@electron/lint-roller": "^2.4.0",
|
|
"@electron/typescript-definitions": "^9.0.0",
|
|
"@octokit/rest": "^20.0.2",
|
|
"@primer/octicons": "^10.0.0",
|
|
"@types/minimist": "^1.2.5",
|
|
"@types/node": "^20.9.0",
|
|
"@types/semver": "^7.5.8",
|
|
"@types/stream-json": "^1.7.7",
|
|
"@types/temp": "^0.9.4",
|
|
"@types/webpack": "^5.28.5",
|
|
"@types/webpack-env": "^1.18.5",
|
|
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
"@typescript-eslint/parser": "^8.7.0",
|
|
"buffer": "^6.0.3",
|
|
"chalk": "^4.1.0",
|
|
"check-for-leaks": "^1.2.1",
|
|
"dugite": "^2.7.1",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-plugin-import": "^2.30.0",
|
|
"eslint-plugin-mocha": "^10.5.0",
|
|
"eslint-plugin-n": "^16.6.2",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^6.6.0",
|
|
"eslint-plugin-standard": "^5.0.0",
|
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
"events": "^3.2.0",
|
|
"folder-hash": "^2.1.1",
|
|
"got": "^11.8.5",
|
|
"husky": "^8.0.1",
|
|
"lint": "^1.1.2",
|
|
"lint-staged": "^10.2.11",
|
|
"markdownlint-cli2": "^0.13.0",
|
|
"minimist": "^1.2.8",
|
|
"null-loader": "^4.0.1",
|
|
"pre-flight": "^2.0.0",
|
|
"process": "^0.11.10",
|
|
"remark-cli": "^10.0.0",
|
|
"remark-preset-lint-markdown-style-guide": "^4.0.0",
|
|
"semver": "^7.6.3",
|
|
"shx": "^0.3.4",
|
|
"stream-json": "^1.8.0",
|
|
"tap-xunit": "^2.4.1",
|
|
"temp": "^0.9.4",
|
|
"timers-browserify": "1.4.2",
|
|
"ts-loader": "^8.0.2",
|
|
"ts-node": "6.2.0",
|
|
"typescript": "^5.6.2",
|
|
"url": "^0.11.4",
|
|
"webpack": "^5.94.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"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:markdown && npm run lint:api-history",
|
|
"lint:docs-fiddles": "standard \"docs/fiddles/**/*.js\"",
|
|
"lint:docs-relative-links": "lint-roller-markdown-links --root docs \"**/*.md\"",
|
|
"lint:markdown": "node ./script/lint.js --md",
|
|
"lint:ts-check-js-in-markdown": "lint-roller-markdown-ts-check --root docs \"**/*.md\" --ignore \"breaking-changes.md\"",
|
|
"lint:js-in-markdown": "lint-roller-markdown-standard --root docs \"**/*.md\"",
|
|
"lint:api-history": "lint-roller-markdown-api-history --root \"./docs/api/\" --schema \"./docs/api-history.schema.json\" --breaking-changes-file \"./docs/breaking-changes.md\" --check-placement --check-strings \"*.md\"",
|
|
"create-api-json": "node script/create-api-json.mjs",
|
|
"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",
|
|
"markdownlint-cli2 --config .autofix.markdownlint-cli2.jsonc --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"
|
|
}
|
|
}
|