UNPKG

5.31 kBJSONView Raw
1{
2 "name": "tsparticles",
3 "version": "1.26.2",
4 "description": "Easily create highly customizable particle 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, Riot.js, Inferno.",
5 "homepage": "https://particles.js.org/",
6 "scripts": {
7 "prettify:src": "prettier --write ./src/",
8 "prettify:tests": "prettier --write ./tests/",
9 "prettify:schema": "prettier --write ./schema/options.schema.json",
10 "prettify:readme": "prettier --write ./README.md",
11 "lint": "eslint src --ext .js,.jsx,.ts,.tsx --fix && eslint tests --ext .js,.jsx,.ts,.tsx --fix",
12 "clear:dist": "rimraf -f ./dist",
13 "clear:docs": "rimraf -f ./docs",
14 "slimbuild": "yarn clear:dist && yarn prettify:src && yarn build:ts:check && yarn lint && yarn build:ts && webpack --mode production",
15 "build": "yarn slimbuild && yarn build:schema && yarn prettify:schema && yarn prettify:tests && yarn test && yarn prettify:readme && yarn build:docs",
16 "build:ts:check": "tsc --noEmit",
17 "build:ts": "yarn build:ts:browser && yarn build:ts:cjs && yarn build:ts:esm && yarn build:ts:old",
18 "build:ts:browser": "tsc -b tsconfig.browser.json",
19 "build:ts:cjs": "tsc",
20 "build:ts:esm": "tsc -b tsconfig.module.json",
21 "build:ts:old": "npx downlevel-dts ./dist ./dist/ts4.0 --to=4.0 && npx downlevel-dts ./dist ./dist/ts3.8 --to=3.8 && rimraf -f ./dist/ts3.8/ts4.0 && npx downlevel-dts ./dist ./dist/ts3.4 && rimraf -f ./dist/ts3.4/ts4.0 && rimraf -f ./dist/ts3.4/ts3.8",
22 "build:docs": "yarn clear:docs && typedoc && copyfiles -f ../../CNAME ./docs",
23 "build:schema": "typescript-json-schema tsconfig.schema.json IOptions --out ./schema/options.schema.json",
24 "test": "nyc mocha",
25 "preversion": "yarn test",
26 "install": "node ./scripts/install.js",
27 "version": "node ./scripts/postversion.js && git add tsParticles.nuspec",
28 "postversion": "git push && git push --tags",
29 "prepack": "yarn build",
30 "release:alpha": "yarn version --prerelease --preid alpha",
31 "release:beta": "yarn version --prerelease --preid beta"
32 },
33 "repository": {
34 "type": "git",
35 "url": "git+https://github.com/matteobruni/tsparticles.git",
36 "directory": "core/main"
37 },
38 "keywords": [
39 "tsparticles",
40 "particles.js",
41 "particlesjs",
42 "particles",
43 "particle",
44 "canvas",
45 "jsparticles",
46 "xparticles",
47 "particles-js",
48 "particles-bg",
49 "particles-bg-vue",
50 "particles-ts",
51 "particles.ts",
52 "react-particles-js",
53 "react-particles.js",
54 "react-particles",
55 "react",
56 "reactjs",
57 "vue",
58 "vuejs",
59 "preact",
60 "preactjs",
61 "jquery",
62 "angularjs",
63 "angular",
64 "typescript",
65 "javascript",
66 "animation",
67 "web",
68 "html5",
69 "web-design",
70 "webdesign",
71 "css",
72 "html",
73 "css3",
74 "animated",
75 "background"
76 ],
77 "author": "Matteo Bruni <matteo.bruni@me.com> (https://www.matteobruni.it)",
78 "contributors": [
79 "Gabriel Barker (https://github.com/gabrielbarker)",
80 "Tyler Burnett (https://github.com/TylerBurnett)",
81 "Jonathan Adams (https://github.com/PieceMaker)"
82 ],
83 "license": "MIT",
84 "files": [
85 "dist/**/*",
86 "scripts/install.js"
87 ],
88 "bugs": {
89 "url": "https://github.com/matteobruni/tsparticles/issues"
90 },
91 "main": "dist/index.js",
92 "module": "dist/esm/index.js",
93 "jsdelivr": "dist/tsparticles.min.js",
94 "unpkg": "dist/tsparticles.min.js",
95 "browser": "dist/index.js",
96 "types": "dist/index.d.ts",
97 "typesVersions": {
98 ">=4.0 <4.1": {
99 "*": [
100 "dist/ts4.0"
101 ]
102 },
103 ">=3.8 <4.0": {
104 "*": [
105 "dist/ts3.8"
106 ]
107 },
108 "<3.8": {
109 "*": [
110 "dist/ts3.4"
111 ]
112 }
113 },
114 "funding": {
115 "type": "github",
116 "url": "https://github.com/sponsors/matteobruni"
117 },
118 "devDependencies": {
119 "@babel/core": "^7.13.14",
120 "@types/chai": "^4.2.16",
121 "@types/mocha": "^8.2.2",
122 "@types/node": "^14.14.37",
123 "@types/webpack-env": "^1.16.0",
124 "@typescript-eslint/eslint-plugin": "^4.20.0",
125 "@typescript-eslint/parser": "^4.20.0",
126 "babel-loader": "^8.2.2",
127 "canvas": "^2.7.0",
128 "chai": "^4.3.4",
129 "compare-versions": "^3.6.0",
130 "copyfiles": "^2.4.1",
131 "downlevel-dts": "^0.7.0",
132 "eslint": "^7.23.0",
133 "eslint-config-prettier": "^8.1.0",
134 "install": "^0.13.0",
135 "mocha": "^8.3.2",
136 "nyc": "^15.1.0",
137 "prettier": "^2.2.1",
138 "reflect-metadata": "^0.1.13",
139 "rimraf": "^3.0.2",
140 "source-map-support": "^0.5.19",
141 "terser-webpack-plugin": "^5.0.0",
142 "ts-node": "^9.1.1",
143 "typedoc": "^0.19.2",
144 "typedoc-particles-theme": "^1.0.9",
145 "typedoc-plugin-nojekyll": "^1.0.1",
146 "typescript": "^4.2.3",
147 "typescript-json-schema": "^0.50.0",
148 "webpack": "^5.30.0",
149 "webpack-bundle-analyzer": "^4.4.0",
150 "webpack-cli": "^4.6.0",
151 "window": "^4.2.7"
152 },
153 "optionalDependencies": {
154 "pathseg": "^1.2.0"
155 },
156 "nyc": {
157 "extension": [
158 ".ts",
159 ".tsx"
160 ],
161 "include": [
162 "src/**/*.ts"
163 ],
164 "exclude": [
165 "**/*.d.ts"
166 ],
167 "reporter": [
168 "lcov",
169 "html"
170 ],
171 "all": true
172 },
173 "gitHead": "e5a3654743896507e9d40e6d3e35c0fbab39d8e1"
174}