forked from getfider/fider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.09 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
{
"name": "fider",
"version": "0.0.0",
"repository": "https://github.com/getfider/fider",
"private": true,
"dependencies": {
"@lingui/react": "^3.13.3",
"dompurify": "^2.3.6",
"marked": "^4.0.15",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-textarea-autosize": "^8.3.3",
"react-toastify": "^9.0.1"
},
"devDependencies": {
"@babel/core": "7.17.10",
"@babel/preset-env": "7.17.10",
"@babel/preset-react": "7.16.7",
"@babel/preset-typescript": "7.16.7",
"@cucumber/cucumber": "8.2.0",
"@lingui/cli": "3.13.3",
"@lingui/loader": "3.13.3",
"@lingui/macro": "3.13.3",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "12.1.5",
"@types/debug": "4.1.7",
"@types/dompurify": "2.3.3",
"@types/jsdom": "16.2.14",
"@types/marked": "4.0.3",
"@types/node": "17.0.31",
"@types/react": "17.0.45",
"@types/react-dom": "17.0.16",
"@types/react-textarea-autosize": "4.3.6",
"@typescript-eslint/eslint-plugin": "5.22.0",
"@typescript-eslint/parser": "5.22.0",
"autoprefixer": "10.4.7",
"babel-jest": "28.1.0",
"babel-loader": "8.2.5",
"babel-plugin-macros": "3.1.0",
"css-loader": "6.7.1",
"esbuild": "0.14.38",
"esbuild-plugin-babel": "0.2.3",
"eslint": "8.15.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "4.5.0",
"fork-ts-checker-webpack-plugin": "7.2.11",
"isomorphic-fetch": "3.0.0",
"jest": "28.1.0",
"jest-environment-jsdom": "28.1.0",
"mini-css-extract-plugin": "2.6.0",
"playwright": "1.21.1",
"prettier": "2.6.2",
"purgecss-webpack-plugin": "4.1.3",
"sass": "1.51.0",
"sass-loader": "12.6.0",
"svg-sprite-loader": "6.0.11",
"svgo-loader": "3.0.0",
"typescript": "4.6.4",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2"
},
"lingui": {
"catalogs": [
{
"path": "<rootDir>/locale/{locale}/client",
"include": [
"<rootDir>"
]
}
],
"fallbackLocales": {
"default": "en"
},
"sourceLocale": "en",
"format": "minimal",
"locales": [
"pt-BR",
"es-ES",
"nl",
"sv-SE",
"fr",
"de",
"en",
"pl",
"ru",
"sk",
"tr"
]
},
"browserslist": ">1%, not dead",
"jest": {
"testEnvironment": "jsdom",
"transform": {
".+\\.(tsx|ts)?$": "babel-jest"
},
"setupFilesAfterEnv": [
"<rootDir>/public/jest.setup.tsx"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts|tsx|js|jsx)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
".*\\.(png|scss|svg)$": "<rootDir>/public/jest.assets.ts",
"@fider/(.*)": "<rootDir>/public/$1",
"@locale/(.*)": "<rootDir>/locale/$1"
}
},
"engines": {
"npm": "8.x",
"node": "16.x || 17.x"
},
"scripts": {
"heroku-postbuild": "make build-ssr && make build-ui"
}
}