-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
154 lines (154 loc) · 6.07 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "media-bias-fact-check",
"description": "Curate Facebook/Twitter with MBFC news categorizations",
"version": "3.0.7",
"author": "Mike Crowe <drmikecrowe@gmail.com>",
"browserslist": [
"last 2 versions",
"> 1%"
],
"engines": {
"node": "12.14.0"
},
"bugs": "https://github.com/drmikecrowe/mbfcext/issues",
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.1",
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-brands-svg-icons": "^5.15.1",
"@fortawesome/free-regular-svg-icons": "^5.15.1",
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"@fullhuman/postcss-purgecss": "^3.0.0",
"@spadin/webextension-storage": "^1.0.5",
"@tailwindcss/custom-forms": "^0.2.1",
"@types/autoprefixer": "^9.7.2",
"@types/chrome": "0.0.126",
"@types/copy-webpack-plugin": "^6.2.0",
"@types/cssnano": "^4.0.0",
"@types/debug": "^4.1.5",
"@types/eslint": "^7.2.4",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/friendly-errors-webpack-plugin": "~0.1.2",
"@types/generate-json-webpack-plugin": "^0.3.1",
"@types/google.analytics": "0.0.40",
"@types/lodash": "^4.14.165",
"@types/lodash-es": "^4.17.3",
"@types/mini-css-extract-plugin": "^1.2.1",
"@types/minimist": "^1.2.0",
"@types/node": "^14.14.6",
"@types/node-sass": "^4.11.1",
"@types/postcss-import": "^12.0.0",
"@types/prettier": "^2.1.5",
"@types/prop-types": "^15.7.3",
"@types/rimraf": "^3.0.0",
"@types/terser-webpack-plugin": "^5.0.2",
"@types/webpack": "^4.41.24",
"@types/webpack-bundle-analyzer": "^3.9.0",
"@types/webpack-dev-server": "^3.11.1",
"@types/webpack-env": "^1.15.3",
"@types/webpack-merge": "^4.1.5",
"@types/zip-webpack-plugin": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"autoprefixer": "10.0.1",
"axios": "^0.21.0",
"babel-loader": "^8.1.0",
"bestzip": "^2.1.7",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^6.3.0",
"cross-env": "^7.0.2",
"css-loader": "^5.0.1",
"cssnano": "^4.1.10",
"dayjs": "^1.9.5",
"debug": "^4.3.0",
"eslint": "^7.12.1",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-local": "github:drmikecrowe/eslint-plugin-local",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"filemanager-webpack-plugin": "^3.0.0-alpha.5",
"fontawesome-svg-sprite-generator": "^1.0.2",
"fork-ts-checker-webpack-plugin": "^5.2.1",
"friendly-errors-webpack-plugin": "~1.7",
"ga-lite": "^2.1.0",
"generate-json-webpack-plugin": "^2.0.0",
"html-loader": "^1.3.2",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"install": "^0.13.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.1",
"lodash": "^4.17.20",
"lodash-es": "^4.17.15",
"malevic": "~0.18.6",
"markdown-loader": "^6.0.0",
"mini-css-extract-plugin": "^1.2.1",
"minimist": "^1.2.5",
"neverthrow": "^2.7.1",
"node-sass": "^5.0.0",
"npm-git-install": "^0.3.0",
"ora": "^5.1.0",
"postcss": "8.1.6",
"postcss-import": "^13.0.0",
"postcss-loader": "^4.0.4",
"postcss-preset-env": "6.7.0",
"postcss-sass-loader": "^1.1.0",
"postcss-scss": "^3.0.4",
"prettier": "^2.1.2",
"prettier-eslint-cli": "5.0.0",
"rimraf": "^3.0.2",
"sass-loader": "~10.0",
"style-loader": "^2.0.0",
"tailwindcss": "^1.9.6",
"terser-webpack-plugin": "^5.0.3",
"ts-json-schema-generator": "^0.77.0",
"ts-loader": "^8.0.9",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"tslib": "^2.0.3",
"typescript": "~4.0.5",
"webext-options-sync": "^2.0.0",
"webext-storage-cache": "^4.1.1",
"webextension-polyfill-ts": "^0.21.0",
"webpack": "^5.4.0",
"webpack-bundle-analyzer": "^4",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^3.11.0",
"webpack-extension-reloader": "^1.1.4",
"webpack-merge": "^5.3.0",
"whatwg-fetch": "^3.4.1",
"write-file-webpack-plugin": "^4.5.1"
},
"homepage": "https://www.emailthis.me/extension-boilerplate",
"husky-save": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,tsx,jsx}": [
"pnpm run lint:fix",
"git add"
]
},
"repository": "EmailThis/extension-boilerplate",
"scripts": {
"build": "npm run lint && npm run chrome:prod && npm run firefox:prod && node compile/clean.js",
"chrome:dev": "cross-env TARGET=chrome npm run webpack:dev",
"chrome:prod": "cross-env NODE_ENV=production TARGET=chrome npm run webpack",
"firefox:dev": "cross-env TARGET=firefox npm run webpack:dev",
"firefox:prod": "cross-env NODE_ENV=production TARGET=firefox npm run webpack",
"lint": "eslint --cache --ext .ts,.tsx src/",
"lint:fix": "prettier-eslint \"$(pwd)/src/**/*.ts\" \"$(pwd)/src/**/*.tsx\" \"$(pwd)/src/**/*.scss\" \"$(pwd)/src/**/*.md\" \"$(pwd)/src/**/*.css\" --write",
"opera:dev": "cross-env TARGET=opera npm run webpack:dev",
"opera:prod": "cross-env NODE_ENV=production TARGET=opera npm run webpack",
"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('pnpm') === -1) { console.log('\u001b[31mPlease use pnpm for installing\u001b[0m'); process.exit(1); }\"",
"update-versions": "export VERSION=$(jq -r .version package.json) && jq \".version=\\\"$VERSION\\\"\" src/manifest.json | jq \".version_name=\\\"Release $VERSION\\\"\" > manifest.new && mv manifest.new src/manifest.json && git add src/manifest.json && git commit -m\"Release $VERSION\"; exit 0",
"webpack": "rimraf build/${TARGET} && node --trace-deprecation ./node_modules/webpack/bin/webpack.js --config compile/webpack.prod.js",
"webpack:dev": "node $NODE_DEBUG ./node_modules/webpack/bin/webpack.js --config compile/webpack.dev.js --watch",
"webpack:dev:dashboard": "webpack-dashboard -- npm run webpack:dev",
"format": "prettier --loglevel warn --write \"**/*.{ts,js,css,md}\"",
"posttest": "npm run format"
}
}