forked from Strencher/BdBrowser
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
40 lines (40 loc) · 2.13 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
{
"name": "bdbrowser",
"description": "An unofficial BetterDiscord injector for the web-client",
"version": "0.0.0",
"author": "Strencher",
"license": "MIT",
"scripts": {
"build-backend": "pnpm --filter backend build",
"build-frontend": "pnpm --filter frontend build",
"build-preload": "pnpm --filter preload build",
"build-service": "pnpm --filter service build",
"copy-assets": "copyfiles -e \"assets/chrome/_locales/**\" -e \"assets/chrome/manifest.json\" -e \"assets/gh-readme/**\" \"assets/**\" \"dist/\"",
"copy-bd": "mkdirp \"dist/bd/\" && echo \"Put the betterdiscord.asar or BetterDiscord's renderer.js in this folder to use a local version that overrides the VFS.\" > \"dist/bd/README.txt\"",
"copy-licenses": "copyfiles -f \"LICENSE\" \"dist/\" && copyfiles \"licenses/**\" \"dist/\"",
"copy-locales": "copyfiles -u 2 \"assets/chrome/_locales/**\" \"dist/\"",
"copy-manifest": "copyfiles -f \"assets/chrome/manifest.json\" \"dist/\"",
"copy-to-dist": "pnpm run copy-assets && pnpm run copy-locales && pnpm run copy-manifest && pnpm run copy-bd && pnpm run copy-licenses",
"build": "pnpm run build-backend && pnpm run build-frontend && pnpm run build-preload && pnpm run build-service && pnpm run copy-to-dist",
"build-prod": "pnpm run lint && pnpm --filter backend build-prod && pnpm --filter frontend build-prod && pnpm --filter preload build-prod && pnpm --filter service build-prod && pnpm run copy-to-dist && echo Finished Build",
"lint": "eslint --ext .js common/ && pnpm --filter backend lint && pnpm --filter frontend lint && pnpm --filter preload lint && pnpm --filter service lint",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"copyfiles": "^2.4.1",
"eslint": "^8.57.1",
"mkdirp": "^3.0.1",
"webpack": "^5.97.1",
"webpack-cli": "^4.10.0"
},
"pnpm": {
"overrides": {
"braces@<3.0.3": ">=3.0.3",
"webpack@<5.94.0": ">=5.94.0",
"micromatch@<4.0.8": ">=4.0.8"
}
}
}