react-transition-preset
Version:
Lightweight, zero-dependency transition component for React with common preset transition
92 lines • 2.56 kB
JSON
{
"name": "react-transition-preset",
"version": "3.1.0",
"description": "Lightweight, zero-dependency transition component for React with common preset transition",
"type": "module",
"keywords": [
"react",
"react-transition",
"transition",
"animation",
"simple-transition",
"transition-preset"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/hemengke1997/react-transition-preset.git"
},
"author": "hemengke <https://github.com/hemengke1997>",
"files": [
"dist"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./types": {
"types": "./dist/types.d.ts"
}
},
"sideEffects": false,
"peerDependencies": {
"react": ">=17.0.2"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@minko-fe/commitlint-config": "^2.2.0",
"@minko-fe/eslint-config": "^4.2.3",
"@minko-fe/prettier-config": "^2.2.6",
"@minko-fe/tsconfig": "^2.1.2",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.1.4",
"@vitejs/plugin-react": "^4.4.1",
"@vitest/ui": "^3.1.3",
"bumpp": "^10.1.0",
"conventional-changelog-cli": "^5.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.26.0",
"jsdom": "^26.1.0",
"lint-staged": "^15.5.2",
"npm-run-all": "^4.1.5",
"prettier-plugin-tailwindcss": "^0.6.11",
"simple-git-hooks": "^2.13.0",
"taze": "^19.1.0",
"tsup": "8.3.0",
"tsup-plugin-bundleless": "^1.3.0",
"typescript": "^5.8.3",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.1.3"
},
"simple-git-hooks": {
"commit-msg": "npm run commitlint",
"pre-commit": "npm run lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
},
"commitlint": {
"extends": [
"@minko-fe/commitlint-config"
]
},
"prettier": "@minko-fe/prettier-config",
"scripts": {
"dev": "rm -rf dist && tsup --watch",
"build": "rm -rf dist && tsup",
"build:pages": "npm run build && cd playground && npm run build",
"test": "vitest",
"lint-staged": "lint-staged",
"commitlint": "commitlint -e",
"lint": "eslint .",
"up": "taze -I -w -r",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"bump": "bumpp package.json -c --no-push -t --all -x \"npm run changelog\"",
"test:browser": "vitest --workspace=vitest.workspace.ts"
}
}