chore: set up docs

- BREAKING CHANGE: set peerDependencies for Svelte 3 minimum versino to 3.30.0 to support `SvelteComponent` type
- Us ESM style for docs script
This commit is contained in:
Enrico Sacchetti 2023-06-27 21:11:56 -04:00
commit 0ac2faa8bc
No known key found for this signature in database
GPG key ID: 3374B89ECA60D796
2 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@
"typescript": "^5.0.0"
},
"peerDependencies": {
"svelte": "^3.20.0 || ^4.0.0"
"svelte": "^3.30.0 || ^4.0.0"
},
"standard-version": {
"skip": {

View file

@ -1,7 +1,7 @@
const fs = require("fs");
const glob = require("glob");
const { sveld } = require("sveld");
const pkg = require("../package.json");
import fs from "node:fs";
import glob from "glob";
import { sveld } from "sveld";
import pkg from "../package.json" assert { type: "json" };
sveld({
glob: true,