package.json
{
"name": "@masatomakino/tweenable-color",
"version": "0.3.2",
"description": "Color object to be tweened by easing function",
"type": "module",
"exports": {
".": {
"default": {
"types": "./esm/index.d.ts",
"default": "./esm/index.js"
}
}
},
"types": "./esm/index.d.ts",
"files": [
"esm"
],
"scripts": {
"test": "jest",
"coverage": "npm run test -- --coverage",
"prepare": "husky",
"preversion": "git checkout main && git pull && npm ci && npm run test",
"postversion": "git add package.json package-lock.json && git checkout -b version/$(git describe --tags --abbrev=0)",
"start:dev": "npm run server & npm run watch:tsc & npm run watch:demo",
"buildTS": "tsc",
"watch:tsc": "tsc -W --incremental",
"typedocs": "npx typedoc --out ./docs/api src/index.ts",
"demo": "npx @masatomakino/gulptask-demo-page --copyTargets 'png','jpg','jpeg','obj'",
"watch:demo": "npm run demo -- -W",
"build": "npm run buildTS && npm run demo && npm run typedocs",
"server": "npx browser-sync ./docs/demo -w"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MasatoMakino/tweenable-color.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/MasatoMakino/tweenable-color/issues"
},
"homepage": "https://github.com/MasatoMakino/tweenable-color#readme",
"peerDependencies": {
"@tweenjs/tween.js": "21.0.0 - 25.x.x"
},
"dependencies": {
"color": "^4.2.3",
"eventemitter3": "^5.0.1"
},
"devDependencies": {
"@masatomakino/gulptask-demo-page": "^0.8.3",
"@tweenjs/tween.js": "^25.0.0",
"@types/color": "^3.0.6",
"@types/jest": "^29.5.12",
"husky": "^9.1.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.7",
"prettier": "^3.3.3",
"ts-jest": "^29.2.3",
"typedoc": "^0.26.5",
"typescript": "^5.5.4"
},
"lint-staged": {
"*.{js,ts,css,md}": "prettier --write"
}
}