зеркало из https://github.com/electron/electron.git
144 строки
4.7 KiB
JSON
144 строки
4.7 KiB
JSON
{
|
|
"name": "electron",
|
|
"version": "10.0.0-nightly.20200206",
|
|
"repository": "https://github.com/electron/electron",
|
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
"devDependencies": {
|
|
"@electron/docs-parser": "^0.4.2",
|
|
"@electron/typescript-definitions": "^8.6.4",
|
|
"@octokit/rest": "^16.3.2",
|
|
"@primer/octicons": "^9.1.1",
|
|
"@types/basic-auth": "^1.1.2",
|
|
"@types/chai": "^4.1.7",
|
|
"@types/chai-as-promised": "^7.1.0",
|
|
"@types/dirty-chai": "^2.0.0",
|
|
"@types/express": "^4.16.1",
|
|
"@types/fs-extra": "^5.0.5",
|
|
"@types/mocha": "^5.2.6",
|
|
"@types/node": "^12.0.10",
|
|
"@types/semver": "^6.0.1",
|
|
"@types/send": "^0.14.5",
|
|
"@types/split": "^1.0.0",
|
|
"@types/webpack": "^4.4.32",
|
|
"@types/webpack-env": "^1.13.9",
|
|
"@typescript-eslint/eslint-plugin": "^2.6.0",
|
|
"@typescript-eslint/parser": "^2.6.0",
|
|
"asar": "^1.0.0",
|
|
"check-for-leaks": "^1.2.1",
|
|
"colors": "^1.1.2",
|
|
"dotenv-safe": "^4.0.4",
|
|
"dugite": "^1.45.0",
|
|
"eslint": "^5.13.0",
|
|
"eslint-config-standard": "^12.0.0",
|
|
"eslint-plugin-import": "^2.17.2",
|
|
"eslint-plugin-mocha": "^5.2.0",
|
|
"eslint-plugin-node": "^8.0.1",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"eslint-plugin-typescript": "^0.14.0",
|
|
"express": "^4.16.4",
|
|
"folder-hash": "^2.1.1",
|
|
"fs-extra": "^7.0.1",
|
|
"husky": "^2.2.0",
|
|
"klaw": "^3.0.0",
|
|
"lint": "^1.1.2",
|
|
"lint-staged": "^8.1.0",
|
|
"minimist": "^1.2.0",
|
|
"nugget": "^2.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",
|
|
"shx": "^0.3.2",
|
|
"standard-markdown": "^5.0.0",
|
|
"sumchecker": "^2.0.2",
|
|
"tap-xunit": "^2.4.1",
|
|
"temp": "^0.8.3",
|
|
"timers-browserify": "1.4.2",
|
|
"ts-loader": "^6.0.2",
|
|
"ts-node": "^6.0.3",
|
|
"typescript": "^3.5.2",
|
|
"webpack": "^4.32.2",
|
|
"webpack-cli": "^3.3.2"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"asar": "asar",
|
|
"generate-version-json": "node script/generate-version-json.js",
|
|
"lint": "node ./script/lint.js && npm run lint:clang-format && npm run lint:docs",
|
|
"lint:js": "node ./script/lint.js --js",
|
|
"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: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:docs-relative-links && npm run lint:check-trailing-whitespace",
|
|
"lint:docs-relative-links": "python ./script/check-relative-doc-links.py",
|
|
"lint:check-trailing-whitespace": "python ./script/check-trailing-whitespace.py",
|
|
"lint:js-in-markdown": "standard-markdown docs",
|
|
"create-api-json": "electron-docs-parser --dir=./",
|
|
"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",
|
|
"preinstall": "node -e 'process.exit(0)'",
|
|
"prepack": "check-for-leaks",
|
|
"repl": "node ./script/start.js --interactive",
|
|
"start": "node ./script/start.js",
|
|
"test": "node ./script/spec-runner.js",
|
|
"tsc": "tsc",
|
|
"webpack": "node build/webpack/run-compiler"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Electron Community",
|
|
"keywords": [
|
|
"electron"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "check-for-leaks"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts}": [
|
|
"node script/lint.js --js --fix --only --",
|
|
"git add"
|
|
],
|
|
"*.{js,ts,d.ts}": [
|
|
"node script/gen-filenames.js",
|
|
"git add"
|
|
],
|
|
"*.{cc,mm,c,h}": [
|
|
"python script/run-clang-format.py -r -c --fix",
|
|
"git add"
|
|
],
|
|
"*.md": [
|
|
"remark -qf"
|
|
],
|
|
"*.{gn,gni}": [
|
|
"npm run gn-check",
|
|
"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",
|
|
"python script/check-trailing-whitespace.py --fix",
|
|
"git add filenames.auto.gni"
|
|
],
|
|
"{*.patch,.patches}": [
|
|
"node script/lint.js --patches --only --"
|
|
],
|
|
"DEPS": [
|
|
"node script/gen-hunspell-filenames.js"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@types/multiparty": "^0.0.32",
|
|
"@types/temp": "^0.8.34"
|
|
}
|
|
} |