129 строки
4.0 KiB
JSON
129 строки
4.0 KiB
JSON
{
|
|
"name": "electronjs",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": "20"
|
|
},
|
|
"scripts": {
|
|
"crowdin": "crowdin",
|
|
"i18n:upload": "crowdin upload sources --delete-obsolete",
|
|
"i18n:download": "crowdin download --verbose && npx tsx scripts/prepare-i18n-content.ts",
|
|
"i18n:glossary": "npx tsx 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": "npx tsx scripts/update-l10n-sources.ts",
|
|
"lint:eslint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" \"scripts/**/*.{js,ts}\"",
|
|
"lint:markdown": "markdownlint-cli2 \"**/*.md\"",
|
|
"lint": "npx tsc --noEmit && prettier . --check && npm run lint:eslint && npm run lint:markdown",
|
|
"lint:fix": "prettier . --write && npm run lint:eslint --fix && npm run lint:markdown --fix",
|
|
"pre-build": "npx tsx ./scripts/pre-build.ts",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@docusaurus/core": "3.5.1",
|
|
"@docusaurus/plugin-google-analytics": "3.5.1",
|
|
"@docusaurus/preset-classic": "3.5.1",
|
|
"@docusaurus/remark-plugin-npm2yarn": "3.5.1",
|
|
"@docusaurus/theme-mermaid": "3.5.1",
|
|
"@electron/fiddle-core": "^1.3.3",
|
|
"@mdx-js/react": "^3.0.0",
|
|
"adm-zip": "^0.5.14",
|
|
"ajv": "^8.16.0",
|
|
"clsx": "^1.1.1",
|
|
"docusaurus-plugin-sass": "^0.2.1",
|
|
"prism-react-renderer": "^2.3.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-markdown": "^9.0.1",
|
|
"react-useportal": "^1.0.14",
|
|
"sass": "^1.37.5",
|
|
"semver": "^7.5.4",
|
|
"yaml": "^2.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@crowdin/cli": "^3.9.3",
|
|
"@crowdin/crowdin-api-client": "^1.21.1",
|
|
"@docusaurus/module-type-aliases": "3.5.1",
|
|
"@docusaurus/tsconfig": "3.5.1",
|
|
"@docusaurus/types": "3.5.1",
|
|
"@electron/docs-parser": "^1.0.1",
|
|
"@electron/lint-roller": "^2.3.0",
|
|
"@tsconfig/docusaurus": "^2.0.3",
|
|
"@types/adm-zip": "^0.5.5",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/mdast": "^4.0.4",
|
|
"@types/node": "^18.11.10",
|
|
"@types/react": "^18.3.1",
|
|
"@types/semver": "^7.3.13",
|
|
"@types/tar-stream": "^2.2.2",
|
|
"@types/unist": "^3.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"dotenv": "^16.0.3",
|
|
"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",
|
|
"execa": "^5.0.0",
|
|
"fs-extra": "^9.1.0",
|
|
"globby": "^11.0.3",
|
|
"gray-matter": "^4.0.3",
|
|
"gunzip-maybe": "^1.4.2",
|
|
"hast-util-from-html": "^2.0.1",
|
|
"husky": "^8.0.0",
|
|
"image-minimizer-webpack-plugin": "^4.0.2",
|
|
"imagemin": "^9.0.0",
|
|
"imagemin-pngquant": "^10.0.0",
|
|
"json5": "^2.2.2",
|
|
"latest-version": "^5.1.0",
|
|
"lint-staged": "^13.2.0",
|
|
"markdownlint-cli2": "^0.13.0",
|
|
"mdast-util-from-markdown": "^2.0.1",
|
|
"mdast-util-frontmatter": "^2.0.1",
|
|
"mdast-util-mdx": "^3.0.0",
|
|
"mdast-util-to-string": "^2.0.0",
|
|
"prettier": "^2.8.0",
|
|
"remark": "^15.0.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"tar-stream": "^2.2.0",
|
|
"tsx": "^4.11.2",
|
|
"typescript": "5.3.2",
|
|
"unist-util-visit-parents": "^6.0.1"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.5%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.{html,json,md,yml}": "prettier --write",
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
}
|
|
}
|