-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.38 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 3.38 KB
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
{
"private": true,
"scripts": {
"start": "npm-run-all start:ff start:chrome --parallel 'start:chrome --watch' 'start:ff --watch' start:ext",
"start:ff": "webpack --mode development --env target=firefox",
"start:chrome": "webpack --mode development --env target=chrome",
"start:ext": "run-p start:ext:*",
"start:ext:chrome": "web-ext run --source-dir ./dist/chrome --target chromium",
"start:ext:firefox": "web-ext run --source-dir ./dist/firefox",
"build": "npm-run-all --parallel build:ff build:chrome",
"build:ff": "webpack --mode production --env target=firefox && yarn build:ext:ff",
"build:chrome": "webpack --mode production --env target=chrome && yarn build:ext:chrome",
"build:ext:ff": "cd ./dist/firefox && zip -r ../extension.ff.zip . -x '*.DS_Store'",
"build:ext:chrome": "cd ./dist/chrome && zip -r ../extension.chrome.zip . -x '*.DS_Store'",
"test": "run-s test:*",
"test:jest": "jest",
"test:types": "tsc --noEmit",
"lint": "run-p lint:*",
"lint:css:fix": "yarn lint:css --fix",
"lint:ts": "eslint --ext .ts,.tsx --ignore-path ./.gitignore --max-warnings 0 '**/*.{ts,tsx}'",
"lint:ts:fix": "yarn lint:ts --fix",
"lint:ext": "web-ext lint --source-dir ./dist",
"format": "prettier --ignore-path ./.gitignore --list-different '**/*.{css,html,js,json,jsx,less,md,scss,ts,tsx,vue,yaml,yml}'",
"format:fix": "yarn format --write"
},
"dependencies": {
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.13",
"@types/react-redux": "^7.1.23",
"@types/redux-logger": "^3.0.9",
"i18next": "^21.6.14",
"minireset.css": "0.0.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.15.6",
"react-redux": "^7.2.6",
"redux": "^4.1.2",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.4.1",
"webext-base-css": "^1.4.0",
"webext-options-sync": "^3.0.1"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@svgr/webpack": "^6.2.1",
"@types/html-webpack-plugin": "^3.2.6",
"@types/jest": "^27.4.1",
"@types/webextension-polyfill": "^0.8.2",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"babel-loader": "^8.2.3",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.7.1",
"eslint": "^8.11.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.3",
"eslint-plugin-react-hooks": "^4.3.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^27.5.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"sass": "^1.49.9",
"sass-loader": "^12.6.0",
"style-loader": "^3.3.1",
"ts-node": "^10.7.0",
"typescript": "^4.6.2",
"web-ext": "^6.7.0",
"webextension-polyfill": "^0.8.0",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"browserslist": [
"last 3 Chrome versions",
"last 3 Firefox versions"
],
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript"
]
},
"eslintConfig": {
"root": true,
"env": {
"browser": true,
"webextensions": true,
"jest": true
},
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"./webpack.config.ts"
]
}
]
}
}
}