-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (58 loc) · 1.66 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
{
"name": "betterlibrarything",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/mocha": "^10.0.0",
"@types/node": "^18.8.3",
"@types/webextension-polyfill": "^0.9.1",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"chai": "^4.3.6",
"concurrently": "^7.5.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"husky": ">=6",
"lint-staged": "^13.0.3",
"mocha": "^10.1.0",
"mv3-hot-reload": "^0.2.7",
"prettier": "^2.7.1",
"sass": "^1.55.0",
"sass-loader": "^13.1.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.3",
"webextension-polyfill": "^0.10.0",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"scripts": {
"watch": "concurrently yarn:watch:*",
"_watch:webpack": "webpack --watch --mode development",
"watch:mv3": "mv3-hot-reload",
"watch:webpack:v2": "MANIFEST_VERSION=v2 yarn _watch:webpack",
"watch:webpack:v3": "MANIFEST_VERSION=v3 yarn _watch:webpack",
"_build": "webpack --mode production",
"build:v2": "MANIFEST_VERSION=v2 yarn _build",
"build:v3": "MANIFEST_VERSION=v3 yarn _build",
"build": "yarn build:v2 && yarn build:v3",
"lint": "eslint .",
"fix": "yarn lint --fix",
"pretty": "yarn prettier --write .",
"test": "mocha --require ts-node/register --extension .spec.ts --recursive test",
"prepare": "husky install"
},
"lint-staged": {
"*.{yml,md,json,ts,js,html}": "prettier --write"
},
"prettier": {
"useTabs": true,
"printWidth": 120,
"bracketSpacing": false
}
}