Setup workspace
This commit is contained in:
parent
e6ad6f773f
commit
99e4f14b06
4 changed files with 62 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
node_modules
|
||||||
|
build
|
||||||
|
*.js
|
25
package.json
Normal file
25
package.json
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"name": "youtube_customizer",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Changes layout of YouTube and adds QoL features.",
|
||||||
|
"author": "Ryze",
|
||||||
|
"license": "GPL-3.0-only",
|
||||||
|
"homepage": "https://github.com/ryze312/youtube-customizer",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/ryze312/youtube-customizer/issues"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/firefox-webext-browser": "^111.0.4"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"clean": "rm -rf build",
|
||||||
|
"build": "pnpm run clean && mkdir build && cp -r extension build/target && tsc && web-ext build"
|
||||||
|
},
|
||||||
|
"webExt": {
|
||||||
|
"sourceDir": "build/target",
|
||||||
|
"artifactsDir": "build/dist",
|
||||||
|
"build": {
|
||||||
|
"overwriteDest": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
16
pnpm-lock.yaml
Normal file
16
pnpm-lock.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
lockfileVersion: '6.0'
|
||||||
|
|
||||||
|
settings:
|
||||||
|
autoInstallPeers: true
|
||||||
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
|
devDependencies:
|
||||||
|
'@types/firefox-webext-browser':
|
||||||
|
specifier: ^111.0.4
|
||||||
|
version: 111.0.4
|
||||||
|
|
||||||
|
packages:
|
||||||
|
|
||||||
|
/@types/firefox-webext-browser@111.0.4:
|
||||||
|
resolution: {integrity: sha512-2XGCwr6xa2ltUys6LWRNjoU+4b0+uY/jJdjXw6sMeZPyh9yIuD49fC8lSQPMm+0wVLJXbwu+ZRPD/EK17jNoRg==}
|
||||||
|
dev: true
|
18
tsconfig.json
Normal file
18
tsconfig.json
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2022",
|
||||||
|
"strict": true,
|
||||||
|
"exactOptionalPropertyTypes": true,
|
||||||
|
"noImplicitReturns": true,
|
||||||
|
"noImplicitOverride": true,
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true,
|
||||||
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
"noUncheckedIndexedAccess": true,
|
||||||
|
"noPropertyAccessFromIndexSignature": true,
|
||||||
|
"removeComments": true,
|
||||||
|
"outDir": "build/target",
|
||||||
|
},
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
}
|
Loading…
Reference in a new issue