BrowserExtensionTemplate/package.json
Jonas Pfalzgraf 693a8da648 adding vite
2024-06-01 00:57:25 +02:00

51 lines
No EOL
1.7 KiB
JSON

{
"name": "browser_extension_template",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"deploy-v3": "npm run build-tooling && node ./tools/deploy.js && npm run sync && npm run build-js && npm run build-css && node ./tools/clean.js",
"deploy-v2": "npm run deploy-v3 && node ./tools/v2.js",
"build-js": "vite build --config ./vite.config.js && vite build --config ./vite.config.settings.js && vite build --config ./vite.config.background.js",
"build-css": "sass ./src/sass/:./dist/css/",
"build-tooling": "tsc --project ./tooling.tsconfig.json",
"watch-ts": "tsc -w -p tsconfig.json",
"watch-sass": "sass --watch ./src/sass/:./dist/css/",
"sync": "npm run build-tooling && node ./tools/syncConfig.js"
},
"devDependencies": {
"@types/chrome": "^0.0.268",
"@types/node": "^20.13.0",
"@webcomponents/webcomponentsjs": "^2.8.0",
"sass": "^1.77.4",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"vite": "^5.2.12",
"vite-tsconfig-paths": "^4.3.2"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"authors": [
{
"name": "Jonas Pfalzgraf",
"email": "info@josunlp.de"
}
],
"description": "A basic template based on SASS and TypeScript to create browser extensions without directly relying on a larger framework.",
"homepage": "https://github.com/JosunLP/BrowserExtensionTemplate",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:JosunLP/BrowserExtensionTemplate.git"
},
"bugs": {
"url": "https://github.com/JosunLP/BrowserExtensionTemplate/issues"
},
"dependencies": {
"@webcomponents/custom-elements": "^1.6.0",
"bootstrap": "^5.3.3"
}
}