forked from Hypertopic/Porphyry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 2.59 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
{
"name": "porphyry_v7",
"version": "0.1.0",
"private": true,
"dependencies": {
"@lingui/react": "^3.10.2",
"@react-google-maps/api": "^1.13.0",
"bootstrap": "^4.6.0",
"compare-func": "^2.0.0",
"disqus-react": "^1.0.11",
"hypertopic": "^3.4.6",
"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.2.0",
"voll": "^1.2.6",
"yaml": "^1.10.2"
},
"devDependencies": {
"@lingui/cli": "^3.10.2",
"@lingui/macro": "^3.10.2",
"cross-env": "^7.0.3",
"react-scripts": "^4.0.3",
"rimraf": "^3.0.2",
"serve": "^13.0.2"
},
"scripts": {
"extract": "lingui extract",
"start": "lingui compile && cross-env EXTEND_ESLINT=true react-scripts start",
"clean": "rimraf src/locales/*/messages.js && rimraf build src/locales/_build",
"build": "lingui compile && react-scripts build",
"preprod": "serve -s build -p 3000"
},
"lingui": {
"catalogs": [
{
"path": "src/locales/{locale}/messages",
"include": [
"src/"
]
}
],
"locales": [
"fr",
"en"
],
"format": "po",
"sourceLocale": "fr"
},
"eslintConfig": {
"extends": [
"react-app"
],
"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"
]
}
}