|
| 1 | +{ |
| 2 | + "name": "@coderlzw/react-number-animation", |
| 3 | + "version": "0.0.1", |
| 4 | + "description": "A React component for animated number transitions with smooth animations and customizable options", |
| 5 | + "type": "module", |
| 6 | + "main": "./dist/index.js", |
| 7 | + "module": "./dist/index.mjs", |
| 8 | + "types": "./dist/index.d.ts", |
| 9 | + "exports": { |
| 10 | + ".": { |
| 11 | + "types": "./dist/index.d.ts", |
| 12 | + "import": "./dist/index.mjs", |
| 13 | + "require": "./dist/index.js" |
| 14 | + } |
| 15 | + }, |
| 16 | + "files": [ |
| 17 | + "dist" |
| 18 | + ], |
| 19 | + "publishConfig": { |
| 20 | + "access": "public" |
| 21 | + }, |
| 22 | + "scripts": { |
| 23 | + "build": "tsup", |
| 24 | + "dev": "tsup --watch", |
| 25 | + "lint": "eslint --fix src/**/*.ts", |
| 26 | + "lint:check": "eslint src/**/*.ts", |
| 27 | + "format": "prettier --write src/**/*.ts", |
| 28 | + "format:check": "prettier --check src/**/*.ts" |
| 29 | + }, |
| 30 | + "repository": { |
| 31 | + "type": "git", |
| 32 | + "url": "https://github.com/coderlzw/react-number-animation" |
| 33 | + }, |
| 34 | + "bugs": { |
| 35 | + "url": "https://github.com/coderlzw/react-number-animation/issues" |
| 36 | + }, |
| 37 | + "homepage": "https://github.com/coderlzw/react-number-animation#readme", |
| 38 | + "keywords": [ |
| 39 | + "react", |
| 40 | + "animation", |
| 41 | + "number", |
| 42 | + "statistic", |
| 43 | + "transition" |
| 44 | + ], |
| 45 | + "author": "coderlzw", |
| 46 | + "license": "MIT", |
| 47 | + "peerDependencies": { |
| 48 | + "react": ">=16.8.0", |
| 49 | + "react-dom": ">=16.8.0" |
| 50 | + }, |
| 51 | + "dependencies": { |
| 52 | + "motion": "^12.12.1" |
| 53 | + }, |
| 54 | + "devDependencies": { |
| 55 | + "@eslint/js": "^9.25.0", |
| 56 | + "@types/react": "^18.0.0", |
| 57 | + "@types/react-dom": "^18.0.0", |
| 58 | + "eslint": "^9.25.0", |
| 59 | + "eslint-config-prettier": "^10.1.5", |
| 60 | + "eslint-plugin-react-hooks": "^5.2.0", |
| 61 | + "eslint-plugin-react-refresh": "^0.4.19", |
| 62 | + "globals": "^16.1.0", |
| 63 | + "prettier": "3.5.3", |
| 64 | + "tsup": "^8.5.0", |
| 65 | + "typescript": "^5.0.0", |
| 66 | + "typescript-eslint": "^8.32.1" |
| 67 | + } |
| 68 | +} |
0 commit comments