-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
147 lines (147 loc) · 4.23 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
{
"private": true,
"name": "ctf",
"version": "0.1.0",
"scripts": {
"test": "jest --watch",
"start": "npm-run-all --print-label --parallel firefox chromium",
"firefox": "yarn workspace firefox start",
"chromium": "yarn workspace chromium start",
"pre-commit": "lint-staged",
"prepare": "husky install"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"@hot-loader/react-dom": "^17.0.2",
"buffer": "^6.0.3",
"country-flag-emoji-json": "^2.0.0",
"maxmind": "^4.3.20",
"node-libs-browser": "^2.2.1",
"react": "^18.1.0",
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@babel/preset-env": "^7.16.7",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@types/enzyme": "^3.10.12",
"@types/jest": "^27.5.2",
"@types/node-fetch": "^2",
"@types/react": "^17.0.43",
"@types/react-dom": "^18.0.2",
"@types/webextension-polyfill": "^0.10.7",
"@types/webpack-env": "^1.16.4",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.5",
"babel-plugin-rewire-exports": "^2.3.0",
"babel-preset-react-app": "^10.0.0",
"bundlewatch": "^0.3.3",
"chrome-types": "^0.1.286",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.0.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"fork-ts-checker-webpack-plugin": "^7.2.3",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"i18n-iso-countries": "^7.11.2",
"jest": "^27.5.1",
"lint-staged": "12.5.0",
"mini-css-extract-plugin": "^2.6.0",
"node-fetch": "^2",
"npm-run-all": "^4.1.5",
"null-loader": "^4.0.1",
"prettier": "^2.6.2",
"react-dom": "^18.1.0",
"react-hot-loader": "^4.13.0",
"style-loader": "^3.3.1",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-manifest-plugin": "^5.0.0",
"webpack-merge": "^5.10.0"
},
"keywords": [],
"author": "Yaroslav Ilin",
"license": "MPL-2.0",
"lint-staged": {
"*.{ts,tsx,js,jsx,cjs,mjs}": "eslint --cache",
"*.{ts,tsx,js,jsx,cjs,mjs,css,md}": "prettier --check"
},
"jest": {
"verbose": true,
"testEnvironment": "jsdom",
"collectCoverageFrom": [
"packages/**/*.{js,jsx,ts,tsx}",
"!packages/landing/build/**/*.{js,jsx,ts,tsx}",
"!packages/bundler/**/*.{js,jsx,ts,tsx}",
"!packages/bundler/*.{js,jsx,ts,tsx}",
"!packages/**/bundle/*.{js,jsx,ts,tsx}",
"bin/**/*.{js,jsx,ts,tsx}",
"!bin/*.{js,jsx,ts,tsx}",
"!<rootDir>/**/__test__/**/*.{js,jsx,ts,tsx}"
],
"coverageThreshold": {
"global": {
"lines": 84,
"statements": 83
}
},
"setupFiles": [
"<rootDir>/packages/runtime/__test__/enzyme.js",
"<rootDir>/packages/runtime/__test__/globals.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/packages/runtime/__test__/fileMock.js",
"\\.(css|less)$": "<rootDir>/packages/runtime/__test__/styleMock.js"
},
"snapshotResolver": "<rootDir>/packages/runtime/__test__/snapshotResolver.cjs",
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"prettier": {
"singleQuote": true
},
"bundlewatch": {
"files": [
{
"path": "./packages/**/bundle/**/*.html"
},
{
"path": "./packages/**/bundle/**/*.js"
},
{
"path": "./packages/**/bundle/**/*.json"
},
{
"path": "./packages/**/bundle/**/*.svg"
},
{
"path": "./packages/**/bundle/**/*.woff"
},
{
"path": "./packages/**/bundle/**/*.mmdb"
}
],
"trackBranches": [
"main"
],
"repoBranchBase": "main"
}
}