From cd3c0b34b053694ddfca179187dd3830dd55e595 Mon Sep 17 00:00:00 2001 From: pablof7z
Date: Thu, 17 Aug 2023 12:31:20 +0300 Subject: [PATCH] prettify --- package.json | 166 +++++++++++------------ src/stories/events/kinds/1063.stories.ts | 3 +- src/stories/events/kinds/9802.stories.ts | 3 +- src/stories/user/Nip05.stories.ts | 3 +- 4 files changed, 86 insertions(+), 89 deletions(-) diff --git a/package.json b/package.json index 3a03ab3..b2ee05d 100644 --- a/package.json +++ b/package.json @@ -1,86 +1,86 @@ { - "name": "@nostr-dev-kit/ndk-svelte-components", - "version": "0.8.17-2", - "scripts": { - "dev": "vite dev", - "build": "vite build && npm run package", - "preview": "vite preview", - "package": "svelte-kit sync && svelte-package && publint", - "prepublishOnly": "npm run package", - "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "lint": "prettier --plugin-search-dir . --check . && eslint .", - "format": "prettier --write .", - "storybook": "storybook dev -p 6006", - "build-storybook": "storybook build", - "prettify": "prettier --write ." - }, - "exports": { - ".": { - "types": "./dist/index.d.ts", - "svelte": "./dist/index.js" + "name": "@nostr-dev-kit/ndk-svelte-components", + "version": "0.8.17-2", + "scripts": { + "dev": "vite dev", + "build": "vite build && npm run package", + "preview": "vite preview", + "package": "svelte-kit sync && svelte-package && publint", + "prepublishOnly": "npm run package", + "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", + "lint": "prettier --plugin-search-dir . --check . && eslint .", + "format": "prettier --write .", + "storybook": "storybook dev -p 6006", + "build-storybook": "storybook build", + "prettify": "prettier --write ." + }, + "exports": { + ".": { + "types": "./dist/index.d.ts", + "svelte": "./dist/index.js" + } + }, + "files": [ + "dist", + "!dist/**/*.test.*", + "!dist/**/*.spec.*" + ], + "peerDependencies": { + "svelte": "^4.1" + }, + "devDependencies": { + "@storybook/addon-essentials": "^7.3.1", + "@storybook/addon-interactions": "^7.3.1", + "@storybook/addon-links": "^7.3.1", + "@storybook/blocks": "^7.3.1", + "@storybook/manager-api": "^7.3.1", + "@storybook/svelte": "^7.3.1", + "@storybook/sveltekit": "^7.3.1", + "@storybook/testing-library": "^0.2.0", + "@storybook/theming": "^7.3.1", + "@sveltejs/adapter-auto": "^2.1.0", + "@sveltejs/kit": "^1.22.6", + "@sveltejs/package": "^2.2.1", + "@types/ramda": "^0.29.3", + "@typescript-eslint/eslint-plugin": "^6.4.0", + "@typescript-eslint/parser": "^6.4.0", + "autoprefixer": "^10.4.15", + "eslint": "^8.47.0", + "eslint-config-prettier": "^8.10.0", + "eslint-plugin-storybook": "^0.6.13", + "eslint-plugin-svelte": "^2.32.4", + "mdsvex": "^0.11.0", + "postcss": "^8.4.28", + "prettier": "^3.0.2", + "prettier-plugin-svelte": "^3.0.3", + "publint": "^0.2.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "storybook": "^7.3.1", + "svelte": "^4.2.0", + "svelte-check": "^3.5.0", + "tailwindcss": "^3.3.3", + "tslib": "^2.6.1", + "typescript": "^5.1.6", + "vite": "^4.4.9" + }, + "svelte": "./dist/index.js", + "types": "./dist/index.d.ts", + "type": "module", + "dependencies": { + "@nostr-dev-kit/ndk": "^0.8.17", + "@trivago/prettier-plugin-sort-imports": "^4.2.0", + "classnames": "^2.3.2", + "hurdak": "github:ConsignCloud/hurdak", + "isomorphic-dompurify": "^1.8.0", + "marked": "^7.0.3", + "marked-gfm-heading-id": "^3.0.6", + "marked-mangle": "^1.1.2", + "nostr-tools": "^1.14.0", + "ramda": "^0.29.0", + "rehype-autolink-headings": "^6.1.1", + "rehype-slug": "^5.1.0", + "svelte-preprocess": "^5.0.4" } - }, - "files": [ - "dist", - "!dist/**/*.test.*", - "!dist/**/*.spec.*" - ], - "peerDependencies": { - "svelte": "^4.1" - }, - "devDependencies": { - "@storybook/addon-essentials": "^7.2.0", - "@storybook/addon-interactions": "^7.2.0", - "@storybook/addon-links": "^7.2.0", - "@storybook/blocks": "^7.2.0", - "@storybook/manager-api": "^7.2.0", - "@storybook/svelte": "^7.2.0", - "@storybook/sveltekit": "^7.2.0", - "@storybook/testing-library": "^0.2.0", - "@storybook/theming": "^7.2.0", - "@sveltejs/adapter-auto": "^2.1.0", - "@sveltejs/kit": "^1.22.4", - "@sveltejs/package": "^2.2.0", - "@types/ramda": "^0.29.3", - "@typescript-eslint/eslint-plugin": "^6.2.1", - "@typescript-eslint/parser": "^6.2.1", - "autoprefixer": "^10.4.14", - "eslint": "^8.46.0", - "eslint-config-prettier": "^8.10.0", - "eslint-plugin-storybook": "^0.6.13", - "eslint-plugin-svelte": "^2.32.4", - "mdsvex": "^0.11.0", - "postcss": "^8.4.27", - "prettier": "^3.0.1", - "prettier-plugin-svelte": "^3.0.3", - "publint": "^0.2.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "storybook": "^7.2.3", - "svelte": "^4.1.2", - "svelte-check": "^3.4.6", - "tailwindcss": "^3.3.3", - "tslib": "^2.6.1", - "typescript": "^5.1.6", - "vite": "^4.4.8" - }, - "svelte": "./dist/index.js", - "types": "./dist/index.d.ts", - "type": "module", - "dependencies": { - "@nostr-dev-kit/ndk": "^0.8.17", - "@trivago/prettier-plugin-sort-imports": "^4.2.0", - "classnames": "^2.3.2", - "hurdak": "github:ConsignCloud/hurdak", - "isomorphic-dompurify": "^1.8.0", - "marked": "^7.0.1", - "marked-gfm-heading-id": "^3.0.6", - "marked-mangle": "^1.1.2", - "nostr-tools": "^1.14.0", - "ramda": "^0.29.0", - "rehype-autolink-headings": "^6.1.1", - "rehype-slug": "^5.1.0", - "svelte-preprocess": "^5.0.4" - } } diff --git a/src/stories/events/kinds/1063.stories.ts b/src/stories/events/kinds/1063.stories.ts index f765139..4391cb6 100644 --- a/src/stories/events/kinds/1063.stories.ts +++ b/src/stories/events/kinds/1063.stories.ts @@ -1,6 +1,5 @@ -import type { Meta, StoryObj } from "@storybook/svelte"; import NDK from "@nostr-dev-kit/ndk"; - +import type { Meta, StoryObj } from "@storybook/svelte"; import Kind1063Component from "../../../lib/event/content/Kind1063.svelte"; /** diff --git a/src/stories/events/kinds/9802.stories.ts b/src/stories/events/kinds/9802.stories.ts index a3457c0..20637c7 100644 --- a/src/stories/events/kinds/9802.stories.ts +++ b/src/stories/events/kinds/9802.stories.ts @@ -1,6 +1,5 @@ -import type { Meta, StoryObj } from "@storybook/svelte"; import NDK from "@nostr-dev-kit/ndk"; - +import type { Meta, StoryObj } from "@storybook/svelte"; import Kind9802Component from "../../../lib/event/content/Kind9802.svelte"; /** diff --git a/src/stories/user/Nip05.stories.ts b/src/stories/user/Nip05.stories.ts index 7581320..dbb4ea4 100644 --- a/src/stories/user/Nip05.stories.ts +++ b/src/stories/user/Nip05.stories.ts @@ -1,6 +1,5 @@ -import type { Meta, StoryObj } from "@storybook/svelte"; import NDK from "@nostr-dev-kit/ndk"; - +import type { Meta, StoryObj } from "@storybook/svelte"; import Nip05 from "../../lib/user/Nip05.svelte"; /**