-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
30 lines (30 loc) · 1.92 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
{
"name": "shorts-deflector",
"description": "Seamlessly play YouTube Shorts with the normal desktop interface.",
"license": "MIT",
"author": "Evan F <[email protected]>",
"devDependencies": {
"@tsconfig/strictest": "^2.0.5",
"@types/chrome": "^0.0.270",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4",
"web-ext": "^8.2.0"
},
"scripts": {
"build": "npm run clear && npm run tailwindcss && npm run typescript && npm run copy && npm run zip",
"clear": "bash -c \"echo './dist ./src/vendors/chromium/_locales ./src/vendors/chromium/assets ./src/vendors/chromium/index.html ./src/vendors/chromium/netRequestRule.json ./src/vendors/chromium/resources ./src/vendors/chromium/scripts ./src/vendors/common/resources ./src/vendors/common/scripts ./src/vendors/firefox/_locales ./src/vendors/firefox/assets ./src/vendors/firefox/index.html ./src/vendors/firefox/netRequestRule.json ./src/vendors/firefox/resources ./src/vendors/firefox/scripts' | xargs rm -rf\"",
"copy": "bash -c \"cp -r ./src/vendors/common/* src/vendors/chromium && cp -r ./src/vendors/common/* src/vendors/firefox/\"",
"firefox": "web-ext run --source-dir ./src/vendors/firefox",
"format": "prettier --write \"**/*.ts\" && eslint --fix \"**/*.ts\"",
"tailwindcss": "npx tailwindcss -i src/resources/source.css -o src/vendors/common/resources/tailwind.css",
"typescript": "tsc --outDir src/vendors/common/scripts",
"zip": "7z a -tzip ./dist/chromium.zip ./src/vendors/chromium/* && 7z a -tzip ./dist/firefox.zip ./src/vendors/firefox/*"
}
}