-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
160 lines (160 loc) · 4.61 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "smeagol",
"version": "1.7.6-1",
"private": true,
"license": "AGPL-3.0-only",
"dependencies": {
"ces-theme": "https://github.com/cloudogu/ces-theme.git#v0.7.2",
"classnames": "^2.2.5",
"dayjs": "^1.11.10",
"highlight.js": "^10.4.1",
"history": "^4.7.2",
"i18next": "^10.3.0",
"i18next-browser-languagedetector": "^2.1.0",
"i18next-fetch-backend": "^0.1.0",
"i18next-resource-store-loader": "^0.1.2",
"object-assign": "4.1.1",
"promise": "8.0.1",
"query-string": "^5.0.1",
"react": "^17.0.1",
"react-bootstrap": "^0.32.1",
"react-dev-utils": "^5.0.3",
"react-dom": "^16.14.0",
"react-i18next": "^7.3.4",
"react-jss": "^8.2.1",
"react-markdown-heading": "^1.1.2",
"react-query": "^3.9.6",
"react-router": "4.2.0",
"react-router-dom": "^4.2.2",
"react-sticky-box": "^0.9.3",
"tui-editor": "^1.4.10",
"whatwg-fetch": "2.0.3"
},
"devDependencies": {
"@babel/core": "^7.13.1",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-optional-chaining": "^7.13.0",
"@babel/plugin-transform-runtime": "^7.13.7",
"@babel/preset-env": "^7.13.5",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.13.0",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/react-router": "~4.4.5",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"autoprefixer": "7.1.6",
"babel-eslint": "^10.1.0",
"babel-loader": "8.2.2",
"better-react-spinkit": "^2.0.4",
"case-sensitive-paths-webpack-plugin": "2.1.1",
"chalk": "1.1.3",
"cross-env": "^5.1.3",
"css-loader": "0.28.7",
"dotenv": "4.0.0",
"dotenv-expand": "4.0.1",
"eslint": "7.20.0",
"eslint-config-prettier": "^8.0.0",
"eslint-loader": "4.0.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "7.22.0",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "1.1.5",
"fs-extra": "3.0.1",
"html-webpack-plugin": "2.29.0",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
"jest-junit-reporter": "^1.1.0",
"postcss-flexbugs-fixes": "3.2.0",
"postcss-loader": "2.0.8",
"prettier": "^2.2.1",
"raf": "3.4.0",
"style-loader": "0.19.0",
"sw-precache-webpack-plugin": "0.11.4",
"terser-webpack-plugin-legacy": "^1.2.5",
"typescript": "^4.2.2",
"url-loader": "0.6.2",
"webpack": "3.8.1",
"webpack-dev-server": "2.9.4",
"webpack-manifest-plugin": "1.3.2"
},
"scripts": {
"start": "cross-env HOST=192.168.56.1 node src/main/scripts/start.js",
"build": "cross-env PUBLIC_URL=/smeagol node src/main/scripts/build.js",
"test": "node src/main/scripts/test.js --env=jsdom",
"test-mvn": "cross-env CI=true node src/main/scripts/test.js --env=jsdom"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,mjs,ts,tsx}"
],
"setupFiles": [
"<rootDir>/src/main/config/polyfills.js"
],
"testMatch": [
"<rootDir>/src/main/js/**/__tests__/**/*.{js,jsx,mjs,ts,tsx}",
"<rootDir>/src/main/js/**/?(*.)(spec|test).{js,jsx,mjs,ts,tsx}"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|mjs|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/src/main/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|ts|tsx|mjs|css|json)$)": "<rootDir>/src/main/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"web.js",
"mjs",
"js",
"json",
"web.jsx",
"jsx",
"node",
"ts",
"tsx"
]
},
"babel": {
"presets": [
"@babel/preset-react",
"@babel/preset-typescript",
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-transform-runtime"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"version": "detect"
}
},
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"rules": {
"react/prop-types": "off"
}
}
}