svelte-confetti
Advanced tools
Comparing version 1.2.4 to 1.3.0
{ | ||
"name": "svelte-confetti", | ||
"version": "1.2.4", | ||
"private": false, | ||
"scripts": { | ||
"build": "rollup -c", | ||
"dev": "rollup -c -w", | ||
"start": "sirv public --no-clear", | ||
"test": "jest", | ||
"test:watch": "npm run test -- --watch" | ||
}, | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.15.0", | ||
"@rollup/plugin-commonjs": "^17.0.0", | ||
"@rollup/plugin-node-resolve": "^11.0.0", | ||
"@testing-library/jest-dom": "^5.14.1", | ||
"@testing-library/svelte": "^3.0.3", | ||
"babel-jest": "^27.0.6", | ||
"jest": "^27.0.6", | ||
"jsdom-global": "^3.0.2", | ||
"rollup": "^2.3.4", | ||
"rollup-plugin-css-only": "^3.1.0", | ||
"rollup-plugin-livereload": "^2.0.0", | ||
"rollup-plugin-svelte": "^7.0.0", | ||
"rollup-plugin-terser": "^7.0.0", | ||
"svelte": "^3.0.0", | ||
"svelte-jest": "^0.3.1", | ||
"svelte-jester": "^2.0.1" | ||
}, | ||
"description": "Confetti in Svelte! Celebrate things with some extra flair. Animates using just HTML and CSS meaning it can work with SSR in SvelteKit!", | ||
"keywords": [ | ||
"name": "svelte-confetti", | ||
"version": "1.3.0", | ||
"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 ./jsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", | ||
"test": "vitest", | ||
"lint": "prettier --plugin-search-dir . --check . && eslint .", | ||
"format": "prettier --plugin-search-dir . --write ." | ||
}, | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"svelte": "./dist/index.js" | ||
} | ||
}, | ||
"files": [ | ||
"dist", | ||
"!dist/**/*.test.*", | ||
"!dist/**/*.spec.*" | ||
], | ||
"peerDependencies": { | ||
"svelte": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@sveltejs/adapter-auto": "^2.0.0", | ||
"@sveltejs/adapter-static": "^2.0.3", | ||
"@sveltejs/kit": "^1.20.4", | ||
"@sveltejs/package": "^2.0.0", | ||
"@testing-library/svelte": "^4.0.3", | ||
"eslint": "^8.28.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-svelte": "^2.30.0", | ||
"jsdom": "^22.1.0", | ||
"prettier": "^2.8.0", | ||
"prettier-plugin-svelte": "^2.10.1", | ||
"publint": "^0.1.9", | ||
"svelte": "^4.0.5", | ||
"svelte-check": "^3.4.3", | ||
"tslib": "^2.4.1", | ||
"typescript": "^5.0.0", | ||
"vite": "^4.4.2", | ||
"vitest": "^0.34.0" | ||
}, | ||
"svelte": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"main": "./dist/index.js", | ||
"type": "module", | ||
"description": "Confetti in Svelte! Celebrate things with some extra flair. Animates using just HTML and CSS meaning it can work with SSR in SvelteKit!", | ||
"keywords": [ | ||
"svelte", | ||
"confetti" | ||
], | ||
"files": [ | ||
"src/" | ||
], | ||
"license": "MIT", | ||
"type": "module", | ||
"main": "src/index.js", | ||
"module": "src/index.mjs", | ||
"svelte": "src/index.js", | ||
"author": { | ||
"email": "mitchel_jager@hotmail.com", | ||
"name": "mitcheljager" | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
@@ -48,0 +61,0 @@ "type": "git", |
@@ -19,3 +19,3 @@ # Svelte Confetti | ||
```js | ||
npm install --save svelte-confetti | ||
npm install --save-dev svelte-confetti | ||
``` | ||
@@ -25,3 +25,3 @@ | ||
```js | ||
import { Confetti } from "svelte-confetti" | ||
import Confetti from "svelte-confetti" | ||
``` | ||
@@ -28,0 +28,0 @@ ```svelte |
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
11315
6
57
0
1
18
2