forked from y-scope/yscope-log-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 3.72 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
127
128
129
130
131
{
"name": "yscope-log-viewer",
"version": "0.1.0",
"description": "A tool tailored for viewing logs, including log formats designed by YScope.",
"main": "src/index.tsx",
"scripts": {
"analyze:size": "webpack --config webpack.prod.js --profile --json=bundle-stats.json && webpack-bundle-analyzer bundle-stats.json dist/",
"build": "webpack --config webpack.prod.js",
"lint": "npm run lint:check",
"lint:check": "npm-run-all --sequential --continue-on-error lint:check:*",
"lint:check:css": "stylelint src/**/*.css",
"lint:check:js": "eslint . --max-warnings 0",
"lint:fix": "npm-run-all --parallel --continue-on-error \"lint:check:* -- --fix\"",
"start": "webpack serve --open --config webpack.dev.js",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/y-scope/yscope-log-viewer.git"
},
"author": "YScope Inc. <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/y-scope/yscope-log-viewer/issues"
},
"homepage": "https://github.com/y-scope/yscope-log-viewer#readme",
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^6.1.0",
"@mui/joy": "^5.0.0-beta.48",
"axios": "^1.7.2",
"clp-ffi-js": "^0.3.0",
"dayjs": "^1.11.11",
"monaco-editor": "^0.50.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"babel-loader": "^9.1.3",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"eslint-config-yscope": "latest",
"eslint-import-resolver-typescript": "^3.6.1",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"mini-css-extract-plugin": "^2.9.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"react-refresh": "^0.14.2",
"style-loader": "^4.0.0",
"stylelint": "^16.9.0",
"stylelint-config-clean-order": "^6.1.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-prettier": "^5.0.2",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"webpack": "^5.92.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-merge": "^5.10.0"
},
"eslintConfig": {
"root": true,
"extends": [
"yscope/react"
],
"ignorePatterns": [
"dist/",
"node_modules/"
],
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"extends": [
"yscope/typescript"
]
},
{
"files": [
"test/**/*"
],
"env": {
"jest": true
},
"rules": {
"no-magic-numbers": "off"
}
}
],
"rules": {
"no-restricted-imports": [
"error",
{
"paths": [
{
"message": "Please use path imports and name your imports with postfix \"Icon\" to avoid confusions.",
"name": "@mui/icons-material"
}
],
"patterns": [
{
"group": [
"@mui/joy/*",
"!@mui/joy/styles"
],
"message": "Please use the default import from \"@mui/joy\" instead."
}
]
}
]
}
}
}