UNPKG

fatina

Version:

Lighweight Tweening Library for web / games

87 lines (86 loc) 3.05 kB
{ "name": "fatina", "description": "Lighweight Tweening Library for web / games", "version": "3.1.3", "homepage": "https://kefniark.github.io/Fatina/", "main": "dist/fatina.cjs.js", "module": "./dist/fatina.esm.js", "types": "./dist/fatina.cjs.d.ts", "exports": { "require": "./dist/fatina.cjs.js", "import": "./dist/fatina.esm.js" }, "repository": { "type": "git", "url": "git@github.com:kefniark/Fatina.git" }, "bugs": { "url": "https://github.com/kefniark/Fatina/issues" }, "license": "MIT", "keywords": [ "tween", "tweener", "tweening", "easing", "animation", "sequence", "typescript", "game" ], "author": { "name": "Kevin destrem", "email": "kef1@free.fr" }, "scripts": { "dev": "run-p dev:*", "dev:esbuild": "esbuild src/index.ts --bundle --minify --charset=utf8 --platform=browser --format=esm --outfile=dist/fatina.esm.js --watch", "dev:http": "http-server . -p 1809", "build": "rimraf dist && run-s build:*", "build:commonjs": "esbuild src/index.ts --bundle --minify --charset=utf8 --platform=node --outfile=dist/fatina.cjs.js", "build:esm": "esbuild src/index.ts --bundle --minify --charset=utf8 --platform=browser --format=esm --outfile=dist/fatina.esm.js", "build:types": "run-s build:types:*", "build:types:build": "tsc --emitDeclarationOnly --declaration --project tsconfig.json --outDir lib", "build:types:move": "cp -R lib/src/* dist/ && mv dist/index.d.ts dist/fatina.cjs.d.ts && cp dist/fatina.cjs.d.ts dist/fatina.esm.d.ts", "build:types:clean": "rimraf lib", "build:version": "node tools/replace-version.js", "lint": "eslint --ext .js,.ts --fix ./ && prettier --config .prettierrc --ignore-path .prettierignore --write \"**/*.{ts,js,md}\"", "test": "run-s test:**", "test:lint": "eslint --ext .js,.ts ./ && prettier --config .prettierrc --ignore-path .prettierignore --check \"**/*.{ts,js}\"", "test:unittest": "ts-node node_modules/tape/bin/tape ./tests/**/*.ts | tspec", "test:depencencies": "npm-check --production || echo \"Run 'npm run update' to interactively update dependencies for this project\"", "coverage": "nyc --all --reporter=html --reporter=text npm run test:unittest", "coveralls": "nyc --all --reporter=text-lcov npm run test:unittest | coveralls" }, "devDependencies": { "@types/node": "^16.7.5", "@types/tape": "^4.13.2", "@typescript-eslint/eslint-plugin": "^5.10.0", "@typescript-eslint/parser": "^5.10.0", "coveralls": "^3.1.1", "esbuild": "^0.14.12", "eslint": "^8.7.0", "npm-check": "^5.9.2", "npm-run-all": "^4.1.5", "nyc": "^15.1.0", "prettier": "^2.5.1", "replace-in-file": "^6.3.2", "rimraf": "^3.0.2", "tap-spec": "^5.0.0", "tape": "^5.3.1", "ts-node": "^10.2.1", "typescript": "^4.3.5" }, "nyc": { "include": [ "src/**/*.ts" ], "exclude": [ "src/index.ts", "src/fatina.ts" ], "extension": [ ".ts" ] } }