forked from NervJS/taro-docs
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
117 lines (117 loc) · 3.98 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
{
"name": "taro-docs",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"build": "npm run build:github",
"build:docs-api": "pnpm run tsx ./scripts/docs",
"build:github": "cross-env NODE_OPTIONS=--max-old-space-size=20480 BASE=taro docusaurus build --out-dir build/taro-docs",
"build:independent": "cross-env NODE_OPTIONS=--max-old-space-size=20480 docusaurus build --out-dir dist",
"build:zone": "cross-env NODE_OPTIONS=--max-old-space-size=20480 BASE=zone docusaurus build --out-dir dist",
"build:jd": "cross-env NODE_OPTIONS=--max-old-space-size=20480 BASE=jd docusaurus build --out-dir dist",
"clear": "docusaurus clear && rimraf node_modules/.cache",
"deploy": "docusaurus deploy",
"docusaurus": "docusaurus",
"lint": "eslint ./ --ext js,ts,tsx,md,mdx",
"lint:style": "stylelint ./**/*.{css,scss}",
"notion": "pnpm run tsx --files ./scripts/notion/sync",
"notion:update": "pnpm run tsx --files ./scripts/notion/update",
"serve": "docusaurus serve",
"start": "cross-env NODE_OPTIONS=--max-old-space-size=20480 BASE=taro docusaurus start",
"start:en": "cross-env NODE_OPTIONS=--max-old-space-size=20480 BASE=taro docusaurus start --locale en",
"swizzle": "docusaurus swizzle",
"trans:en": "docusaurus write-translations --locale en",
"tsx": "ts-node --skipIgnore --project ./scripts/tsconfig.json"
},
"dependencies": {
"@docusaurus/core": "^2.4.3",
"@docusaurus/plugin-pwa": "^2.4.3",
"@docusaurus/preset-classic": "^2.4.3",
"@mdx-js/react": "^1.6.22",
"@notionhq/client": "^2.2.2",
"@swc/core": "^1.2.174",
"classnames": "^2.3.2",
"clsx": "^1.1.1",
"lodash": "^4.17.21",
"miniapp-types": "^1.1.18",
"prism-react-renderer": "^1.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@algolia/client-search": "^4.13.0",
"@babel/core": "^7.19.1",
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@tarojs/components": "latest",
"@tarojs/runtime": "latest",
"@tsconfig/docusaurus": "^1.0.5",
"@tsconfig/node18": "^18.2.2",
"@types/lodash": "^4.14.182",
"@types/node": "^17.0.30",
"@types/react": "^17.0.44",
"@types/react-native": "^0.70.3",
"@types/webpack": "^4.41.32",
"@types/webpack-dev-server": "^3.11.6",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"babel-loader": "^8.2.5",
"cross-env": "^7.0.3",
"csstype": "^3.1.1",
"dotenv": "^16.0.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-standard": "^14.1.1",
"eslint-config-standard-jsx": "^8.1.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mdx": "^2.0.5",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-standard": "^4.1.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"node-fetch": "^2.6.7",
"postcss": "^8.4.19",
"postcss-scss": "^4.0.6",
"prettier": "^2.8.0",
"rimraf": "^3.0.2",
"search-insights": "^2.10.0",
"stylelint": "^14.16.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-order": "^5.0.0",
"swc-loader": "^0.1.16",
"ts-node": "^10.9.1",
"tsconfig-paths": "^3.14.1",
"typescript": "^5.3.3",
"unique-commit-id": "^1.0.0",
"vue": "^3.2.39",
"webpack": "^5.88.2",
"webpack-chain": "6.5.1",
"webpack-dev-server": "4.7.4"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,mdx}": [
"eslint --fix"
],
"*.json": [
"prettier --write"
]
}
}