forked from electron/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 3.94 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"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": "eslint \"src/**/*.{js,jsx,ts,tsx}\" \"scripts/**/*.{js,ts}\"",
"lint:markdown": "electron-markdownlint \"**/*.md\"",
"lint": "prettier . --check && npm run lint:eslint && npm run lint:markdown",
"lint:fix": "prettier . --write && npm run lint:eslint --fix && npm run lint:markdown --fix",
"test": "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",
"prepare": "husky install"
},
"dependencies": {
"@docusaurus/core": "^2.4.1",
"@docusaurus/plugin-google-analytics": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.1",
"@docusaurus/remark-plugin-npm2yarn": "^2.4.1",
"@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"
]
},
"lint-staged": {
"*.{html,json,md,yml}": "prettier --write",
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"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",
"@electron/lint-roller": "^1.5.0",
"@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",
"husky": "^8.0.0",
"jest": "^26.6.3",
"json5": "^2.2.2",
"latest-version": "^5.1.0",
"lint-staged": "^13.2.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"
}
}