-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
95 lines (95 loc) · 2.89 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
{
"name": "@kaiyuanshe/ows",
"version": "3.0.0-rc",
"description": "React project scaffold based on TypeScript, Next.js & Bootstrap.",
"private": true,
"engines": {
"node": ">=18"
},
"dependencies": {
"@authing/guard": "^5.3.4",
"@giscus/react": "^3.0.0",
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@next/mdx": "^14.1.4",
"@sentry/nextjs": "^7.109.0",
"array-unique-proposal": "^0.3.4",
"classnames": "^2.5.1",
"copy-webpack-plugin": "^12.0.2",
"echarts-jsx": "^0.5.4",
"file-type": "^19.0.0",
"idea-react": "^2.0.0-rc.2",
"koajax": "^1.0.0",
"leaflet": "^1.9.4",
"leaflet.chinatmsproviders": "^3.0.6",
"less": "^4.2.0",
"less-loader": "^12.2.0",
"lodash": "^4.17.21",
"marked": "^12.0.1",
"mobx": "^6.12.3",
"mobx-i18n": "^0.5.0",
"mobx-lark": "^2.0.0-rc.1",
"mobx-react": "^9.1.1",
"mobx-react-helper": "^0.3.1",
"mobx-restful": "^0.7.0-rc.0",
"mobx-restful-table": "^2.0.0-rc.0",
"next": "^14.1.4",
"next-pwa": "^5.6.0",
"next-ssr-middleware": "^0.7.0",
"next-with-less": "^3.0.1",
"nextjs-google-analytics": "^2.3.3",
"open-react-map": "^0.8.0",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react-bootstrap": "^2.10.2",
"react-dom": "^18.2.0",
"react-icalendar-link": "^3.0.2",
"react-leaflet": "^4.2.1",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.0",
"remark-mdx-frontmatter": "^4.0.0",
"web-utility": "^4.3.0",
"webpack": "^5.91.0"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.24.1",
"@babel/plugin-transform-typescript": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@kaiyuanshe/kys-service": "^0.7.0",
"@octokit/openapi-types": "^21.2.0",
"@types/leaflet": "^1.9.9",
"@types/lodash": "^4.17.0",
"@types/mdx": "^2.0.12",
"@types/node": "^18.19.29",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"eslint": "^8.57.0",
"eslint-config-next": "^14.1.4",
"eslint-plugin-simple-import-sort": "^12.0.0",
"get-git-folder": "^0.1.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"typescript": "~5.4.3"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid"
},
"lint-staged": {
"*.{html,md,less,json,yml,js,mjs,ts,tsx}": "prettier --write",
"*.{js,mjs,jsx,ts,tsx}": "eslint --fix"
},
"scripts": {
"prepare": "husky",
"install": "get-git-folder https://github.com/kaiyuanshe/service-configuration main kaiyuanshe.github.io || true",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "lint-staged && npm run lint",
"pack-image": "docker build -t kys-ows:latest .",
"container": "docker rm -f kys-ows && docker run --name kys-ows -p 3000:3000 -d kys-ows:latest"
}
}