@zerodevx/svelte-toast
Advanced tools
Comparing version 0.9.0 to 0.9.1
{ | ||
"name": "@zerodevx/svelte-toast", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Simple elegant toast notifications", | ||
"author": "Jason Lee <jason@zerodevx.com>", | ||
"scripts": { | ||
"dev": "vite dev", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"package": "svelte-package -o package && vite build -c vite.dist.config.js && publint", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", | ||
"lint": "prettier --plugin-search-dir . --check . && eslint .", | ||
"format": "prettier --plugin-search-dir . --write .", | ||
"test": "playwright test", | ||
"qc": "npm run format && npm run lint && npm run check", | ||
"publish": "npm run qc && npm run package && npm publish --access public", | ||
"deploy": "npm run qc && npm run build && gh-pages -d build -t -f" | ||
}, | ||
"peerDependencies": { | ||
@@ -36,3 +22,2 @@ "svelte": "^3.55.1" | ||
"eslint-plugin-svelte3": "^4.0.0", | ||
"gh-pages": "^5.0.0", | ||
"is-port-reachable": "^4.0.0", | ||
@@ -44,3 +29,2 @@ "postcss": "^8.4.21", | ||
"prismjs": "^1.29.0", | ||
"publint": "^0.1.9", | ||
"svelte-check": "^3.0.4", | ||
@@ -57,15 +41,14 @@ "svelte-preprocess": "^5.0.1", | ||
".": { | ||
"types": "./package/index.d.ts", | ||
"svelte": "./package/index.js" | ||
"types": "./index.d.ts", | ||
"svelte": "./index.js" | ||
}, | ||
"./dist": { | ||
"import": "./package/dist/index.es.js", | ||
"require": "./package/dist/index.umd.js" | ||
"import": "./dist/index.es.js", | ||
"require": "./dist/index.umd.cjs" | ||
} | ||
}, | ||
"svelte": "./package/index.js", | ||
"types": "./package/index.d.ts", | ||
"jsdelivr": "./package/dist/index.umd.js", | ||
"svelte": "./index.js", | ||
"jsdelivr": "./dist/index.umd.cjs", | ||
"files": [ | ||
"package" | ||
"**/*" | ||
], | ||
@@ -72,0 +55,0 @@ "license": "ISC", |
[![npm (scoped)](https://img.shields.io/npm/v/@zerodevx/svelte-toast/latest)](https://www.npmjs.com/package/@zerodevx/svelte-toast) | ||
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) | ||
[![Lines of code](https://img.shields.io/tokei/lines/github/zerodevx/svelte-toast?label=lines%20of%20code)](https://github.com/XAMPPRocky/tokei) | ||
[![Size minified](https://img.shields.io/bundlephobia/min/@zerodevx/svelte-toast?label=minified)](https://bundlephobia.com/) | ||
[![Size gzipped](https://img.shields.io/bundlephobia/minzip/@zerodevx/svelte-toast?label=gzipped)](https://bundlephobia.com/) | ||
![Lines of code](https://img.shields.io/endpoint?url=https%3A%2F%2Fzerodevx.github.io%2Fsvelte-toast%2F_loc.json) | ||
![Size minified](https://img.shields.io/endpoint?url=https%3A%2F%2Fzerodevx.github.io%2Fsvelte-toast%2F_min.json) | ||
![Size gzipped](https://img.shields.io/endpoint?url=https%3A%2F%2Fzerodevx.github.io%2Fsvelte-toast%2F_gzip.json) | ||
@@ -491,3 +490,3 @@ # svelte-toast | ||
```js | ||
// Import the compiled code. | ||
// For non-Svelte users, import the compiled code | ||
import { toast, SvelteToast } from '@zerodevx/svelte-toast/dist' // ESM | ||
@@ -494,0 +493,0 @@ const { toast, SvelteToast } = require('@zerodevx/svelte-toast/dist') // CJS |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
25
97619
559