forked from Swetrix/swetrix-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 3.22 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
{
"private": true,
"scripts": {
"prebuild": "rm -rf dist .cache .parcel-cache",
"fix-assets": "mkdir -p distribution && rm -rf distribution/assets && cp -r assets distribution/assets",
"build": "parcel build manifest.json --no-content-hash --no-source-maps --dist-dir distribution --no-cache --detailed-report 0 && npm run fix-assets",
"lint-fix": "run-p 'lint:* -- --fix'",
"lint:js": "xo",
"test": "run-p lint:* build",
"watch": "npm run fix-assets && parcel watch manifest.json --dist-dir distribution --no-cache --no-hmr"
},
"browserslist": [
"last 1 Chrome version",
"last 1 Firefox version"
],
"xo": {
"semicolon": false,
"space": true,
"envs": [
"browser"
],
"extends": "xo-react",
"rules": {
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "browser"
}
],
"unicorn/prefer-module": "off",
"no-trailing-spaces": "warn",
"capitalized-comments": "off",
"unicorn/filename-case": "off",
"import/extensions": "off",
"node/file-extension-in-import": "off",
"object-curly-spacing": "off",
"generator-star-spacing": [
"error",
{
"before": false,
"after": true,
"anonymous": "neither",
"method": {
"before": true,
"after": true
}
}
],
"unicorn/numeric-separators-style": "off",
"react/jsx-tag-spacing": [
"error",
{
"beforeSelfClosing": "always"
}
],
"jsx-quotes": [
"error",
"prefer-single"
],
"arrow-parens": "off",
"unicorn/prevent-abbreviations": "off",
"default-param-last": "off",
"unicorn/no-abusive-eslint-disable": "off",
"react/boolean-prop-naming": "off",
"unicorn/prefer-export-from": "off",
"react/jsx-no-bind": [
"error",
{
"allowArrowFunctions": true,
"allowFunctions": true
}
],
"react/button-has-type": "off",
"max-params": [
"error",
5
]
}
},
"dependencies": {
"@headlessui/react": "^1.4.3",
"@heroicons/react": "^1.0.5",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"axios": "^0.25.0",
"clsx": "^1.1.1",
"dayjs": "^1.10.7",
"i18n-iso-countries": "^7.2.0",
"lodash": "^4.17.21",
"postcss": "^8.4.5",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-flagkit": "^2.0.4",
"react-redux": "^7.2.6",
"react-router-dom": "^5.3.0",
"redux": "^4.1.2",
"redux-auth-wrapper": "^3.0.0",
"redux-saga": "^1.1.3",
"tailwindcss": "^2.2.19",
"webext-options-sync": "^3.0.1",
"webextension-polyfill": "^0.8.0"
},
"devDependencies": {
"@babel/core": "^7.16.10",
"@parcel/config-webextension": "^2.2.1",
"@parcel/transformer-image": "^2.2.1",
"autoprefixer": "^10.4.2",
"eslint-config-xo-react": "^0.26.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"npm-run-all": "^4.1.5",
"parcel": "^2.2.1",
"postcss-import": "^14.0.2",
"xo": "^0.47.0"
},
"webExt": {
"sourceDir": "distribution"
}
}