-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
152 lines (152 loc) · 3.57 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
{
"name": "kanji-sudoku-cra-styled-components",
"version": "1.0.0",
"description": "Kanji Sudoku redone using styled components",
"type": "module",
"repository": "[email protected]:dimaqq/kanji-sudoku-cra-styled-components.git",
"author": "Dima Tisnek <[email protected]>",
"license": "MIT",
"homepage": "/kanji-sudoku-cra-styled-components/build/",
"babel": {
"plugins": [
"babel-plugin-macros"
],
"presets": [
[
"@babel/preset-env",
{
"loose": true,
"useBuiltIns": false,
"shippedProposals": true,
"debug": false
}
]
]
},
"babelMacros": {
"styledComponents": {
"pure": true
}
},
"dependencies": {
"chokidar": "^3.4.0",
"croquis.js": "^0.0.3",
"immer": "^9.0.6",
"in-browser-language": "^1.0.3",
"paths.macro": "^3.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet-async": "^1.0.6",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"styled-components": "^5.1.1",
"tiny-invariant": "^1.1.0",
"ttag": "^1.7.22",
"ulog": "^2.0.0-beta.7"
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"babel-plugin-macros": "^3.1.0",
"eslint": "^7.4.0",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"react-app-rewired": "^2.1.6",
"react-dev-utils": "^11.0.4",
"react-scripts": "^4.0.3",
"styled-reset": "^4.2.0",
"stylelint": "^15.10.1",
"stylelint-config-recommended": "^5.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"ttag-cli": "^1.8.3",
"webpack-bundle-analyzer": "^4.4.2"
},
"scripts": {
"start": "react-app-rewired start",
"build": "env GIT_SHA=$(git rev-parse HEAD) react-app-rewired build",
"stats": "react-app-rewired build --stats",
"lint:css": "stylelint './src/**/*.js'",
"ttag-update": "for PO in int/*.po; do yarn run ttag update $PO src; done",
"ttag-json": "for PO in int/*.po; do X=${PO/#int/src/int}; DEST=${X/%po/json}; yarn run --silent ttag po2json --pretty $PO > tmp.json; mv tmp.json $DEST; done"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"react",
"react-hooks"
],
"rules": {
"indent": [
"warn",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"warn",
"double",
{
"allowTemplateLiterals": true
}
],
"semi": [
"error",
"always"
],
"comma-dangle": [
"warn",
"always-multiline"
],
"react-hooks/rules-of-hooks": "error",
"max-len": [
"warn",
120
],
"no-mixed-operators": "off",
"object-curly-spacing": [
"warn",
"never"
],
"template-curly-spacing": [
"warn",
"always"
],
"no-template-curly-in-string": "warn"
},
"settings": {
"react": {
"version": "detect"
}
}
},
"resolutions": {
"chokidar": "^3.4.0",
"kind-of": ">=6.0.3"
},
"browserslist": [
"last 1 Chrome versions",
"last 1 Safari versions",
"last 1 Firefox versions"
],
"sideEffects": [
"./src/index.js"
]
}