Skip to content

Commit

Permalink
📦 Convert htm and preact to peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
canterberry committed Dec 10, 2021
1 parent f0a5933 commit 80795b1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
22 changes: 13 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylish-preact",
"version": "0.1.0",
"version": "0.1.1",
"description": "Lightweight extensible styles and themes for Preact apps.",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.mjs",
Expand All @@ -23,9 +23,9 @@
"build": "sh scripts/build",
"lint": "sh scripts/lint"
},
"dependencies": {
"htm": "^3.1.0",
"preact": "^10.6.2"
"peerDependencies": {
"htm": ">=3",
"preact": ">=10"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
Expand Down

0 comments on commit 80795b1

Please sign in to comment.