- `src/types/area.ts`: cubic easing 함수 타입 추가 - `package.json`: 버전 1.1.0에서 1.2.0으로 업데이트 - `src/engine/AnimationLoop.ts`: 왕복 모션 로직을 sin 함수 기반으로 개선하여 자연스러운 좌우/상하 왕복 구현 - `src/utils/easing.ts`: easeInCubic, easeOutCubic 함수 추가
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"name": "@baekryang/responsive-image-canvas",
|
|
"version": "1.2.0",
|
|
"publishConfig": {
|
|
"registry": "https://git.bnovalab.com/api/packages/baekryang/npm/"
|
|
},
|
|
"description": "React component for interactive image distortion with GPU-accelerated shaders",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0 || ^19.0.0",
|
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
"three": ">=0.150.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.2.2",
|
|
"@types/react-dom": "^19.2.2",
|
|
"@types/three": "^0.181.0",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"three": "^0.181.0",
|
|
"tsup": "^8.5.0",
|
|
"typescript": "^5.5.3"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.bnovalab.com/baekryang/responsive-image-canvas.git"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"three.js",
|
|
"webgl",
|
|
"shader",
|
|
"image-distortion",
|
|
"canvas",
|
|
"animation"
|
|
],
|
|
"author": "",
|
|
"license": "MIT"
|
|
}
|