-
Notifications
You must be signed in to change notification settings - Fork 165
/
Copy pathpackage.json
119 lines (119 loc) · 2.51 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
{
"name": "porphyry_v7",
"version": "0.1.0",
"private": true,
"dependencies": {
"@lingui/react": "^3.13.3",
"@react-google-maps/api": "^1.13.0",
"bootstrap": "^4.6.0",
"compare-func": "^2.0.0",
"disqus-react": "^1.1.3",
"hypertopic": "^3.6.1",
"js-tree": "^2.0.2",
"json-groupby": "^1.0.2",
"mem": "^6.1.1",
"memoize-one": "^5.2.1",
"open-iconic": "^1.1.1",
"query-string": "^6.14.1",
"react": "^16.14.0",
"react-autosuggest": "^9.4.3",
"react-dom": "^16.14.0",
"react-helmet": "^6.1.0",
"react-router-dom": "^5.3.3",
"voll": "^1.2.6",
"yaml": "^1.10.2"
},
"devDependencies": {
"@lingui/cli": "^3.13.3",
"@lingui/macro": "^3.13.3"
},
"scripts": {
"extract": "lingui extract",
"start": "lingui compile && npx --yes cross-env EXTEND_ESLINT=true npx --yes react-scripts@4 start",
"clean": "npx --yes rimraf src/locales/*/messages.js && npx --yes rimraf build src/locales/_build",
"build": "lingui compile && npx --yes react-scripts@4 build",
"preprod": "npx --yes serve -s build -p 3000"
},
"lingui": {
"catalogs": [
{
"path": "src/locales/{locale}/messages",
"include": [
"src/"
]
}
],
"locales": [
"fr",
"en"
],
"format": "po",
"sourceLocale": "fr"
},
"eslintConfig": {
"rules": {
"object-shorthand": 2,
"brace-style": 2,
"jsx-quotes": 2,
"quotes": [
2,
"single"
],
"keyword-spacing": 2,
"no-else-return": 2,
"space-infix-ops": 2,
"comma-spacing": 2,
"key-spacing": 2,
"semi": [
2,
"always",
{
"omitLastInOneLineBlock": true
}
],
"operator-linebreak": [
2,
"before",
{
"overrides": {
"=": "after"
}
}
],
"no-multiple-empty-lines": [
2,
{
"max": 1
}
],
"no-multi-spaces": 2,
"no-trailing-spaces": 2,
"no-spaced-func": 2,
"space-before-blocks": 2,
"space-in-parens": [
2,
"never"
],
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"no-mixed-spaces-and-tabs": 2
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}