-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
134 lines (134 loc) · 4.51 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
{
"name": "low-web",
"version": "0.0.13",
"description": "Reduce energy consumption and carbon footprint of your internet browsing.",
"author": "[email protected]",
"license": "MIT",
"scripts": {
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix",
"prettier": "prettier \"src/**/*.{js,vue}\"",
"prettier:fix": "npm run prettier -- --write",
"fix": "run-s lint:fix prettier:fix",
"build": "run-s build:chrome build:firefox build:opera",
"dev:chrome": "cross-env NODE_ENV=development TARGET_BROWSER=chrome webpack --watch --mode=development",
"dev:firefox": "cross-env NODE_ENV=development TARGET_BROWSER=firefox webpack --watch --mode=development",
"dev:opera": "cross-env NODE_ENV=development TARGET_BROWSER=opera webpack --watch --mode=development",
"build:chrome": "cross-env NODE_ENV=production TARGET_BROWSER=chrome webpack --mode=production --hide-modules",
"build:firefox": "cross-env NODE_ENV=production TARGET_BROWSER=firefox webpack --mode=production --hide-modules",
"build:opera": "cross-env NODE_ENV=production TARGET_BROWSER=opera webpack --mode=production --hide-modules",
"build:zip": "node src/utils/build-zip.js",
"build:report": "webpack-bundle-analyzer --port 4200 dist/stats.json",
"watch:nohmr": "npm run build -- --watch",
"start": "cross-env HMR=true npm run dev:firefox -- --watch",
"release": "run-s build test build:zip release:chrome release:firefox",
"release:firefox": "web-ext-submit --source-dir dist/firefox",
"release:chrome": "webstore upload --source=dist/chrome --auto-publish",
"test": "jest",
"test:src": "jest src",
"test:screenshot": "jest test/screenshots.test.js",
"pre:commit": "run-s fix",
"pre:push": "run-s test:src"
},
"jest": {
"verbose": true,
"moduleFileExtensions": [
"js",
"json",
"vue"
],
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.vue$": "vue-jest"
},
"setupFiles": [
"jest-webextension-mock",
"dotenv/config"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run pre:commit",
"pre-push": ""
}
},
"browserslist": [
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Edge versions"
],
"dependencies": {
"abp-filter-parser": "^0.2.0",
"chrome-webstore-upload-cli": "^1.2.0",
"content-scripts-register-polyfill": "^1.0.5",
"dompurify": "^2.1.1",
"dotenv": "^8.2.0",
"fs": "0.0.1-security",
"minimist": "^1.2.5",
"node-png": "^0.4.3",
"path": "^0.12.7",
"query-string": "^6.13.4",
"srcset": "^3.0",
"tiny-emitter": "^2.1.0",
"vue": "^2.6.12",
"vuex": "^3.5.1",
"vuex-webextensions": "^1.3.0",
"web-ext-submit": "^5.1.0",
"webextension-polyfill": "^0.7",
"wext-manifest": "^2.2.0"
},
"devDependencies": {
"@babel/core": "^7.12.0",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/preset-env": "^7.12.0",
"@babel/runtime-corejs3": "^7.11.2",
"@vue/test-utils": "^1.1.0",
"archiver": "^5.0.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.5.2",
"babel-loader": "^8.1.0",
"babel-preset-vue": "^2.0.2",
"copy-webpack-plugin": "^6.1.1",
"core-js": "^3.6.5",
"cross-env": "^7.0",
"css-loader": "^4.3",
"ejs": "^3.1.5",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-config-standard": "^14.1",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-node": "^11.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^7.0",
"file-loader": "^6.1.0",
"html-loader": "^1.3.1",
"husky": "^4.3.0",
"jest": "^26.5.3",
"jest-puppeteer": "^4.4.0",
"jest-transform-stub": "^2.0.0",
"jest-webextension-mock": "^3.7.0",
"mini-css-extract-plugin": "^0.11",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"pixelmatch": "^5.2.1",
"prettier": "^2.1.2",
"puppeteer": "^5.3.1",
"raw-loader": "^4.0",
"sass-loader": "^10.0.2",
"vue-jest": "^3.0.7",
"vue-loader": "^15.9.3",
"vue-template-compiler": "^2.6.12",
"web-ext-types": "^3.2",
"webpack": "^4.44.2",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.12",
"webpack-extension-reloader": "^1.1.4",
"write-webpack-plugin": "^1.1.0"
}
}