vanish-effect
Version:
A lightweight JavaScript library that creates a Thanos-inspired disintegration effect for HTML elements in vanilla JS, React, and Next.js
75 lines (74 loc) • 2.33 kB
JSON
{
"name": "vanish-effect",
"version": "1.1.0",
"description": "A lightweight JavaScript library that creates a Thanos-inspired disintegration effect for HTML elements in vanilla JS, React, and Next.js",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm,iife --globalName ThanosLib --dts --minify",
"dev": "tsup src/index.ts --format cjs,esm,iife --globalName ThanosLib --dts --watch",
"prepublishOnly": "npm run build",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"test": "jest",
"demo": "serve demo",
"clean": "rimraf dist",
"build:demo": "npm run build && cp dist/index.global.js demo/thanossnap.js",
"build:all": "npm run build && cp dist/index.global.js demo/thanossnap.js && echo 'Build and demo preparation completed'",
"postbuild": "ls -la dist && echo 'Build completed'",
"start": "npm run demo",
"start:all": "npm run build:all && npm run demo",
"dev:demo": "npm run build:demo && npm run demo",
"prepare": "npm run build",
"version": "npm run build",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mttetc/thanos.snap.git"
},
"homepage": "https://github.com/mttetc/thanos.snap#readme",
"bugs": {
"url": "https://github.com/mttetc/thanos.snap/issues"
},
"keywords": [
"vanish",
"disintegration",
"thanos",
"snap",
"animation",
"effect",
"particle",
"disappear",
"vanilla-js",
"react",
"nextjs",
"web-animation"
],
"author": "Matthias Etchegaray etchegaray.matthias@gmail.com",
"license": "MIT",
"peerDependencies": {
"motion": "^10.17.0",
"html2canvas": "^1.4.1"
},
"devDependencies": {
"@types/node": "^20.11.24",
"typescript": "^5.3.3",
"tslib": "^2.6.2",
"tsup": "^8.0.2",
"@types/html2canvas": "^1.0.0",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"rimraf": "^5.0.5",
"serve": "^14.2.1",
"ts-jest": "^29.1.2"
}
}