diff --git a/components/solid/package.json b/components/solid/package.json index 0e755de..43a8f4f 100644 --- a/components/solid/package.json +++ b/components/solid/package.json @@ -4,17 +4,96 @@ "description": "Official tsParticles Solid Component - Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Riot.js.", "license": "MIT", "author": "Matteo Bruni ", - "contributors": [], - "files": [ - "dist" - ], + "homepage": "https://particles.js.org", "private": false, "sideEffects": false, "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", - "browser": {}, + "engines": { + "node": ">=18", + "pnpm": ">=9.0.0" + }, + "files": [ + "dist" + ], + "bugs": { + "url": "https://github.com/tsparticles/solid/issues" + }, + "repository": { + "url": "https://github.com/tsparticles/solid", + "directory": "components/solid", + "type": "git" + }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/matteobruni" + }, + { + "type": "github", + "url": "https://github.com/sponsors/tsparticles" + }, + { + "type": "buymeacoffee", + "url": "https://www.buymeacoffee.com/matteobruni" + } + ], + "keywords": [ + "front-end", + "frontend", + "tsparticles", + "particles.js", + "particlesjs", + "particles", + "particle", + "canvas", + "jsparticles", + "xparticles", + "particles-js", + "particles-bg", + "particles-bg-vue", + "particles-ts", + "particles.ts", + "react-particles-js", + "react-particles.js", + "react-particles", + "react", + "reactjs", + "vue-particles", + "ngx-particles", + "angular-particles", + "particleground", + "solid", + "vue", + "vuejs", + "preact", + "preactjs", + "jquery", + "angularjs", + "angular", + "typescript", + "javascript", + "animation", + "web", + "html5", + "web-design", + "webdesign", + "css", + "html", + "css3", + "animated", + "background", + "confetti", + "canvas", + "fireworks", + "fireworks-js", + "confetti-js", + "confettijs", + "fireworksjs", + "canvas-confetti" + ], "exports": { "solid": { "development": "./dist/dev.jsx", @@ -31,18 +110,23 @@ "default": "./dist/index.js" } }, - "typesVersions": {}, + "prettier": "@tsparticles/prettier-config", "scripts": { - "build": "tsup", + "check": "tsc", + "build": "pnpm run prettify && pnpm run lint && tsup", + "build:ci": "pnpm run prettify:ci && pnpm run lint:ci && tsup", "test": "concurrently pnpm:test:*", "test:client": "vitest", "test:ssr": "pnpm run test:client --mode ssr", - "prepublishOnly": "pnpm build", - "format": "prettier --ignore-path .gitignore -w \"src/**/*.{js,ts,json,css,tsx,jsx}\" \"dev/**/*.{js,ts,json,css,tsx,jsx}\"", - "lint": "concurrently pnpm:lint:*", + "lint": "concurrently \"pnpm:lint:code --fix\" pnpm:lint:types", + "lint:ci": "concurrently pnpm:lint:code pnpm:lint:types", "lint:code": "eslint --ignore-path .gitignore --max-warnings 0 src/**/*.{js,ts,tsx,jsx}", "lint:types": "tsc --noEmit", - "update-deps": "pnpm up -Li" + "update-deps": "pnpm up -Li", + "prettify": "prettier --write \"src/**/*.{js,ts,json,css,tsx,jsx}\" \"README.md\"", + "prettify:ci": "prettier --check \"src/**/*.{js,ts,json,css,tsx,jsx}\" \"README.md\"", + "prepack": "pnpm build", + "prepublishOnly": "pnpm build" }, "peerDependencies": { "solid-js": "^1.6.0", @@ -68,27 +152,6 @@ "vite-plugin-solid": "^2.10.2", "vitest": "^1.6.0" }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/matteobruni" - }, - { - "type": "github", - "url": "https://github.com/sponsors/tsparticles" - }, - { - "type": "buymeacoffee", - "url": "https://www.buymeacoffee.com/matteobruni" - } - ], - "prettier": "@tsparticles/prettier-config", - "keywords": [ - "solid" - ], - "packageManager": "pnpm@9.1.1", - "engines": { - "node": ">=18", - "pnpm": ">=9.0.0" - } + "browser": {}, + "typesVersions": {} }