UNPKG

number-flip-animation

Version:

Small typescript package for animating the change of a number using a flip/slide animation.

42 lines (41 loc) 1.21 kB
{ "name": "number-flip-animation", "version": "2.0.2", "type": "module", "description": "Small typescript package for animating the change of a number using a flip/slide animation.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "npm run format && tsc && cp ./src/styles.css ./dist", "format": "prettier --write src examples", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "build:tailwind": "tailwindcss -i ./examples/tailwind.css -o ./examples/dist/tailwind.css --minify", "serve": "npm run build && npm run build:tailwind && cp -r ./dist ./examples && http-server ./examples --port 8080" }, "files": [ "dist/**/*" ], "keywords": [ "number", "animation", "flip", "slide" ], "author": "der-Lehmann", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/der-Lehmann/number-flip-animation.git" }, "devDependencies": { "autoprefixer": "^10.4.20", "http-server": "^14.1.1", "postcss": "^8.4.45", "prettier": "^2.8.8", "tailwindcss": "^3.4.10", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^5.0.4" } }