generated from fregante/browser-extension-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
100 lines (100 loc) · 3.25 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
{
"private": true,
"scripts": {
"watch:firefox": "parcel watch source/mv2/manifest.json --dist-dir build/firefox --no-cache --no-content-hash --no-hmr",
"watch:chrome": "parcel watch source/mv3/manifest.json --dist-dir build/chrome --no-cache --no-content-hash --no-hmr",
"build:chrome": "parcel build source/mv3/manifest.json --no-scope-hoist --no-content-hash --no-source-maps --dist-dir build/chrome --no-cache --detailed-report 0",
"build:firefox": "parcel build source/mv2/manifest.json --no-content-hash --no-source-maps --dist-dir build/firefox --no-cache --detailed-report 0",
"clean:chrome": "rm -rf build/chrome",
"clean:firefox": "rm -rf build/firefox",
"package:firefox": "web-ext build --overwrite-dest --source-dir build/firefox --filename firefox.zip",
"package:chrome": "web-ext build --overwrite-dest --source-dir build/chrome --filename chrome.zip",
"prepare-for-publishing": "run-s clean:* build:* package:*",
"lint": "run-p lint:*",
"lint-fix": "run-p 'lint:* -- --fix'",
"lint:css": "stylelint --config .stylelintrc.yml source/**/*.css",
"lint:js": "eslint \"{source/**/*,*}.{js,ts,jsx,tsx}\"",
"test": "run-p lint:* build:*"
},
"browserslist": [
"last 1 Chrome version",
"last 1 Firefox version"
],
"xo": {
"envs": [
"browser"
],
"rules": {
"unicorn/no-array-for-each": "off",
"capitalized-comments": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/prefer-query-selector": "off",
"no-unused-vars": "off",
"operator-linebreak": [
"error",
"after"
],
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "none"
}
}
]
},
"semicolon": false
},
"stylelint": {
"extends": "stylelint-config-xo"
},
"dependencies": {
"@emotion/react": "^11.9.3",
"@types/webextension-polyfill": "^0.8.3",
"link-summoner": "^1.3.0",
"lodash.throttle": "^4.1.1",
"notyf": "^3.10.0",
"react": "^17.0.2",
"react-burger-menu": "^3.0.8",
"react-dom": "^17.0.2",
"text-fragments-polyfill": "^5.3.0",
"tippy.js": "^6.3.7",
"webext-options-sync": "^3.1.0",
"webextension-polyfill": "^0.9.0"
},
"devDependencies": {
"@emotion/babel-plugin": "^11.9.2",
"@parcel/config-webextension": "^2.5.0",
"@parcel/transformer-image": "^2.5.0",
"@parcel/transformer-inline-string": "^2.5.0",
"@parcel/transformer-svg-react": "2.5.0",
"@parcel/validator-typescript": "^2.5.0",
"@types/lodash.throttle": "^4.1.7",
"@types/react": "^17.0.41",
"@types/react-burger-menu": "^2.8.3",
"@types/react-dom": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"eslint": "^8.13.0",
"eslint-config-xo": "^0.40.0",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-ava": "^13.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-no-use-extend-native": "^0.5.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-unicorn": "^42.0.0",
"npm-run-all": "^4.1.5",
"parcel": "^2.5.0",
"stylelint": "^13.13.1",
"stylelint-config-xo": "^0.20.0",
"typescript": "^4.6.2",
"xo": "^0.44.0"
},
"@parcel/bundler-default": {
"minBundles": 10000000,
"minBundleSize": 3000,
"maxParallelRequests": 20
}
}