Repo setup and build step configuration

This commit is contained in:
mrjvs
2023-12-24 00:37:41 +01:00
parent 9c8750e793
commit 286f3e3115
28 changed files with 993 additions and 0 deletions

29
package.json Normal file
View File

@@ -0,0 +1,29 @@
{
"name": "extension",
"version": "1.0.0",
"description": "movie-web extension, allows providers to work without proxy",
"main": "index.js",
"type": "module",
"scripts": {
"build": "vite build",
"build:firefox": "vite build",
"build:chrome": "vite build",
"test": "vitest run",
"lint": "eslint --ext .tsx,.ts src",
"lint:fix": "eslint --fix --ext .tsx,.ts src",
"lint:report": "eslint --ext .tsx,.ts --output-file eslint_report.json --format json src",
"preinstall": "npx -y only-allow pnpm"
},
"keywords": [],
"author": "movie-web",
"license": "MIT",
"dependencies": {
"vite": "^5.0.10"
},
"devDependencies": {
"@types/lodash.merge": "^4.6.9",
"@types/node": "^20.10.5",
"lodash.merge": "^4.6.2",
"vite-plugin-static-copy": "^1.0.0"
}
}