This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.36 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
{
"name": "git-pager",
"version": "1.0.0",
"private": true,
"author": "[email protected]",
"engines": {
"node": ">=18"
},
"dependencies": {
"@octokit/rest": "^20.0.2",
"browser-unhandled-rejection": "^1.0.2",
"classnames": "^2.3.2",
"core-js": "^3.33.0",
"hostname-is-private": "^2.0.8",
"koa": "^2.14.2",
"koa-logger": "^3.2.1",
"koa-mount": "^4.0.0",
"koa-route": "^3.2.0",
"koa-static": "^5.0.0",
"koajax": "^0.9.4",
"leancloud-storage": "^3.15.0",
"leanengine": "^3.8.0",
"markdown-ime": "^1.0.3",
"marked": "^9.1.0",
"mobx": "^5.15.7",
"mobx-react": "^6.3.1",
"node-fetch": "^2.7.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"turndown": "^7.1.2",
"turndown-plugin-gfm": "^1.0.2",
"web-utility": "^4.1.3",
"yaml": "^2.3.2"
},
"devDependencies": {
"@parcel/packager-raw-url": "~2.9.3",
"@parcel/transformer-less": "~2.9.3",
"@parcel/transformer-webmanifest": "~2.9.3",
"@types/classnames": "^2.3.1",
"@types/jest": "29.5.5",
"@types/node": "^18.18.4",
"@types/react": "^17.0.67",
"@types/react-dom": "^17.0.21",
"@types/turndown": "^5.0.2",
"@types/yaml": "^1.9.7",
"buffer": "^6.0.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"parcel": "~2.9.3",
"prettier": "^3.0.3",
"process": "^0.11.10",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "~5.2.2",
"workbox-cli": "^7.0.0"
},
"scripts": {
"prepare": "husky install",
"parcel": "rm -rf .parcel-cache/ dist/ && parcel",
"front": "npm run parcel -- public/index.html",
"pack": "npm run parcel -- build public/index.html --public-url . --no-source-maps && ts-node fix-bundle",
"build": "npm run pack && workbox generateSW",
"start": "node ./server ./dist LEANCLOUD_APP_PORT",
"dev": "npm run build && node --inspect ./server ./dist LEANCLOUD_APP_PORT",
"test": "lint-staged && jest",
"deploy": "npm run build && lean deploy"
},
"lint-staged": {
"*.{html,md,css,less,js,json,ts,jsx,tsx}": "prettier --write"
},
"eslintConfig": {
"extends": "react-app"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid"
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"jest": {
"preset": "ts-jest"
}
}