-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (41 loc) · 2.31 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
{
"name": "bakalari-extension",
"version": "1.3.0",
"description": "Average by subject, average overall, predictor, wide mode, big marks, stipendium...",
"scripts": {
"watch": "webpack --config webpack/webpack.ts --env=mode=development --env=browser=chrome --watch",
"watch-firefox": "webpack --config webpack/webpack.ts --env=mode=development --env=browser=firefox --watch",
"build": "webpack --config webpack/webpack.ts --env=mode=production --env=browser=chrome",
"build-dev": "webpack --config webpack/webpack.ts --env=mode=development --env=browser=chrome",
"build-firefox": "webpack --config webpack/webpack.ts --env=mode=production --env=browser=firefox",
"build-firefox-dev": "webpack --config webpack/webpack.ts --env=mode=development --env=browser=firefox",
"build-all": "webpack --config webpack/webpack.ts --env=mode=production --env=all && cp -r dist/_locales dist/js dist/content.css dist-firefox && python userscript-build.py",
"build-all-dev": "webpack --config webpack/webpack.ts --env=mode=development --env=all && cp -r dist/_locales dist/js dist/content.css dist-firefox && python userscript-build.py",
"style": "prettier --write \"src/**/*.{ts,tsx}\"",
"style-json": "prettier --write \"{.prettierrc, package.json, package-lock.json, tsconfig.json}\"",
"style-webpack": "prettier --write \"webpack/*.ts\"",
"lint": "eslint . --ext .ts",
"lint-fix": "eslint --fix . --ext .ts",
"clean": "rm -rf dist dist-firefox dist-userscript",
"clean-all": "rm -rf dist dist-firefox dist-userscript node_modules package-lock.json bun.lockb yarn.lock"
},
"author": "AdamJedl",
"license": "GPL-3.0",
"devDependencies": {
"@swc-node/register": "^1.9.1",
"@swc/core": "^1.5.3",
"@types/chrome": "^0.0.267",
"@types/node": "^20.12.10",
"@types/webpack": "^5.28.5",
"copy-webpack-plugin": "^12.0.2",
"css-minimizer-webpack-plugin": "^6.0.0",
"eslint-config-hardcore": "^45.6.0",
"json-minimizer-webpack-plugin": "^5.0.0",
"mini-css-extract-plugin": "^2.9.0",
"prettier": "^3.2.5",
"swc-loader": "^0.2.6",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
}
}