108 строки
3.4 KiB
JSON
108 строки
3.4 KiB
JSON
{
|
|
"name": "electronjs",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"crowdin": "crowdin",
|
|
"i18n:upload": "crowdin upload sources",
|
|
"i18n:download": "crowdin download --verbose && ts-node scripts/prepare-i18n-content.ts",
|
|
"i18n:glossary": "ts-node scripts/update-crowdin-glossary.ts",
|
|
"i18n:build": "docusaurus build",
|
|
"docusaurus": "docusaurus",
|
|
"start": "docusaurus start",
|
|
"build": "docusaurus build --locale en",
|
|
"swizzle": "docusaurus swizzle",
|
|
"deploy": "docusaurus deploy",
|
|
"clear": "docusaurus clear",
|
|
"serve": "docusaurus serve",
|
|
"write-translations": "docusaurus write-translations",
|
|
"write-heading-ids": "docusaurus write-heading-ids",
|
|
"update-l10n-sources": "ts-node scripts/update-l10n-sources.ts",
|
|
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" \"scripts/**/*.{js,ts}\"",
|
|
"test": "yarn lint && jest",
|
|
"pre-build": "ts-node ./scripts/pre-build.ts",
|
|
"governance": "node ./scripts/governance.js",
|
|
"process-docs-changes": "ts-node ./scripts/process-docs-changes.ts",
|
|
"update-pinned-version": "ts-node ./scripts/update-pinned-version.ts"
|
|
},
|
|
"dependencies": {
|
|
"@docusaurus/core": "^2.2.0",
|
|
"@docusaurus/plugin-google-analytics": "^2.2.0",
|
|
"@docusaurus/preset-classic": "^2.2.0",
|
|
"@docusaurus/remark-plugin-npm2yarn": "^2.2.0",
|
|
"@mdx-js/react": "^1.6.21",
|
|
"@types/react": "^17.0.1",
|
|
"clsx": "^1.1.1",
|
|
"docusaurus-plugin-sass": "^0.2.1",
|
|
"dotenv": "^16.0.3",
|
|
"execa": "^5.0.0",
|
|
"node-fetch": "^2.6.7",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"react-markdown": "^6.0.3",
|
|
"react-useportal": "^1.0.14",
|
|
"sass": "^1.37.5"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.5%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "^1.2.7",
|
|
"@actions/github": "^4.0.0",
|
|
"@crowdin/cli": "^3.9.3",
|
|
"@crowdin/crowdin-api-client": "^1.21.1",
|
|
"@docusaurus/module-type-aliases": "^2.2.0",
|
|
"@docusaurus/types": "^2.1.0",
|
|
"@electron/docs-parser": "^1.0.1",
|
|
"@tsconfig/docusaurus": "^1.0.6",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/mdast": "^3.0.10",
|
|
"@types/node": "^18.11.10",
|
|
"@types/node-fetch": "^2.6.2",
|
|
"@types/semver": "^7.3.13",
|
|
"@types/tar-stream": "^2.2.2",
|
|
"@types/unist": "^2.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.46.1",
|
|
"@typescript-eslint/parser": "^5.46.1",
|
|
"del": "^6.0.0",
|
|
"esbuild-loader": "^2.15.1",
|
|
"eslint": "^8.29.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-react": "^7.28.0",
|
|
"fs-extra": "^9.1.0",
|
|
"globby": "^11.0.3",
|
|
"got": "^11.8.2",
|
|
"gray-matter": "^4.0.3",
|
|
"gunzip-maybe": "^1.4.2",
|
|
"jest": "^26.6.3",
|
|
"json5": "^2.2.2",
|
|
"latest-version": "^5.1.0",
|
|
"make-dir": "^3.1.0",
|
|
"mdast-util-to-string": "^2.0.0",
|
|
"prettier": "^2.8.0",
|
|
"remark": "^13.0.0",
|
|
"remark-gfm": "^1.0.0",
|
|
"tar-stream": "^2.2.0",
|
|
"ts-jest": "^v26.5.5",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.4",
|
|
"unist-util-visit-parents": "^3.1.1"
|
|
},
|
|
"resolutions": {
|
|
"**/latest-version/package-json": "7.0.0",
|
|
"**/@mdx-js/mdx/remark-parse/trim": "0.0.3"
|
|
}
|
|
}
|