Skip to content

Commit

Permalink
build: build using unbuild, update dependencies, support vite 5 (#134)
Browse files Browse the repository at this point in the history
* build: build using unbuild, update dependencies, support vite 5

* test: update snapshots, add sass for tests
  • Loading branch information
samrum authored Dec 12, 2023
1 parent aede4fa commit f5bd278
Show file tree
Hide file tree
Showing 40 changed files with 2,105 additions and 6,689 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./types/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./types/index.d.ts",
Expand All @@ -29,8 +30,8 @@
"types"
],
"scripts": {
"build": "tsc --noEmit && rollup -c",
"dev": "rollup -c -w",
"build": "unbuild",
"dev": "unbuild --stub",
"lint": "prettier --write --loglevel warn .",
"lint:check": "prettier --check .",
"test": "vitest",
Expand Down Expand Up @@ -68,21 +69,20 @@
},
"homepage": "https://github.com/samrum/vite-plugin-web-extension#readme",
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.0",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.16.1",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.10.4",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"lint-staged": "^15.2.0",
"prettier": "2.8.8",
"rollup": "^3.21.0",
"sass": "^1.62.1",
"rollup": "^4.8.0",
"sass": "^1.69.5",
"standard-version": "^9.5.0",
"tslib": "^2.5.0",
"typescript": "^5.0.4",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
"vitest": "^0.30.1"
},
"peerDependencies": {
"vite": "^4.0.3"
"vite": "^4.0.3 || ^5.0.0"
},
"lint-staged": {
"*": [
Expand All @@ -91,11 +91,11 @@
},
"dependencies": {
"@types/chrome": "^0.0.233",
"@types/etag": "^1.8.1",
"@types/etag": "^1.8.3",
"content-security-policy-parser": "^0.4.1",
"etag": "^1.8.1",
"fs-extra": "^11.1.1",
"magic-string": "^0.30.0",
"vite": "^4.3.2"
"fs-extra": "^11.2.0",
"magic-string": "^0.30.5",
"vite": "^5.0.7"
}
}
Loading

0 comments on commit f5bd278

Please sign in to comment.