forked from psidex/CustomBangSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 2.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
{
"name": "custombangsearch",
"version": "0.9.4",
"description": "A web extension that allows you to use DuckDuckGo-like custom bangs directly from the address bar",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"buildoptions": "tsc -noEmit && node ./esbuild.config.js -o",
"buildmain": "tsc -noEmit && node ./esbuild.config.js -m",
"buildcode": "tsc -noEmit && node ./esbuild.config.js -o -m",
"buildext": "npx web-ext build --overwrite-dest --ignore-files ./*.lock ./src/lib ./src/scripts/*.ts ./src/options/*.tsx ./src/options/components",
"buildall": "yarn buildcode && yarn buildext",
"runext": "npx web-ext run --browser-console --start-url about:addons"
},
"repository": {
"type": "git",
"url": "git+https://github.com/psidex/CustomBangSearch.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/psidex/CustomBangSearch/issues"
},
"homepage": "https://github.com/psidex/CustomBangSearch#readme",
"dependencies": {
"esbuild": "^0.13.6",
"nanoid": "^3.1.31",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hot-toast": "^2.1.1",
"typescript": "^4.4.4",
"web-ext": "^6.5.0",
"webextension-polyfill": "^0.8.0"
},
"devDependencies": {
"@types/react": "^17.0.30",
"@types/react-dom": "^17.0.9",
"@types/webextension-polyfill": "^0.8.0",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"eslint": "7.2.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-airbnb-typescript": "^14.0.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.21.5",
"eslint-plugin-react-hooks": "1.7.0"
},
"eslintConfig": {
"env": {
"browser": true,
"webextensions": true
},
"extends": [
"airbnb",
"airbnb-typescript",
"airbnb/hooks"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"no-restricted-syntax": "off",
"no-plusplus": "off",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/explicit-function-return-type": "error",
"max-len": "off"
}
}
}