mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-10-14 16:10:10 +00:00
Feature/webpack integration (#9)
* working webpack into template * removing package-lock.json * implementing source
This commit is contained in:
parent
2b9595746b
commit
69b5363c88
11 changed files with 208 additions and 501 deletions
18
package.json
18
package.json
|
@ -4,19 +4,24 @@
|
|||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"deploy-v3": "npm run build-tooling && npm run sync && node ./tools/deploy.js && npm run build-js && npm run build-css",
|
||||
"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": "tsc -p tsconfig.json",
|
||||
"build-js": "webpack --config ./webpack.config.cjs && webpack --config ./webpack.config.settings.cjs && webpack --config ./webpack.config.background.cjs",
|
||||
"build-css": "sass ./src/sass/:./dist/css/",
|
||||
"build-tooling": "tsc ./tools/v2.ts --target esnext --module esnext --lib ESNext && tsc ./tools/syncConfig.ts --target esnext --module esnext --lib ESNext && tsc ./tools/deploy.ts --target esnext --module esnext --lib ESNext",
|
||||
"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/node": "^18.7.4",
|
||||
"@types/chrome": "^0.0.206",
|
||||
"@types/node": "^18.11.18",
|
||||
"@webcomponents/webcomponentsjs": "^2.7.0",
|
||||
"sass": "^1.39.0",
|
||||
"typescript": "^4.2.4"
|
||||
"typescript": "^4.2.4",
|
||||
"ts-loader": "^9.4.2",
|
||||
"webpack": "^5.75.0",
|
||||
"webpack-cli": "^5.0.1"
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
|
@ -38,5 +43,8 @@
|
|||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/JosunLP/BrowserExtensionTemplate/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@webcomponents/custom-elements": "^1.5.1"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue