forked from apache/apisix-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.86 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
{
"name": "apisix-website",
"repository": "https://github.com/apache/apisix-website.git",
"license": "Apache-2.0",
"private": "true",
"workspaces": {
"packages": [
"website",
"scripts",
"blog",
"doc"
],
"nohoist": [
"doc/@docusaurus/**"
]
},
"scripts": {
"sync-docs": "yarn workspace scripts sync-docs",
"generate-repos-info": "yarn workspace scripts generate-repos-info",
"generate-picked-posts": "yarn workspace scripts generate-picked-posts",
"update-sitemap": "yarn workspace scripts update-sitemap",
"start:doc": "yarn workspace doc start",
"start:website": "yarn workspace website start",
"start:blog:zh": "yarn workspace blog start:zh",
"start:blog:en": "yarn workspace blog start:en",
"build": "yarn workspace scripts generate-website",
"build:website": "yarn workspace website build",
"build:doc": "yarn workspace doc build",
"build:blog:zh": "yarn workspace blog build:zh",
"build:blog:en": "yarn workspace blog build:en",
"build:preview": "cross-env preview=true yarn run build",
"build:website:preview": "cross-env preview=true yarn workspace website build",
"build:doc:preview": "cross-env preview=true yarn workspace doc build",
"build:blog:zh:preview": "cross-env preview=true yarn workspace blog build:zh",
"build:blog:en:preview": "cross-env preview=true yarn workspace blog build:en",
"serve": "yarn workspace website docusaurus serve",
"serve:website": "yarn workspace website docusaurus serve",
"serve:doc": "yarn workspace doc docusaurus serve",
"serve:blog:zh": "yarn workspace blog docusaurus serve zh",
"serve:blog:en": "yarn workspace blog docusaurus serve en",
"prepare": "husky install",
"prepare-data": "yarn sync-docs && yarn generate-repos-info && yarn generate-picked-posts"
},
"devDependencies": {
"@julian_cataldo/remark-lint-frontmatter-schema": "^3.6.2",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-yml": "^0.14.0",
"husky": ">=6",
"lint-staged": ">=10",
"remark": "^14.0.2",
"remark-cli": "^11.0.0",
"remark-frontmatter": "^4.0.1",
"remark-preset-lint-consistent": "^5.1.1",
"remark-preset-lint-markdown-style-guide": "^5.1.2",
"remark-preset-lint-recommended": "^6.1.2",
"stylelint": "^14.6.1",
"stylelint-config-standard": "^25.0.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --cache --fix",
"*.{yml,yaml}": "eslint --cache --fix",
"*.{scss,css}": "stylelint --cache --fix",
"*.{md}": "remark ./blog/{en,zh}/blog/**/*.md --quiet"
}
}