tikki
Version:
Minimalistic game/animation loop orchestrator
87 lines (86 loc) • 2.19 kB
JSON
{
"name": "tikki",
"version": "3.0.2",
"description": "Minimalistic game/animation loop orchestrator",
"keywords": [
"event",
"events",
"emit",
"emitter",
"eventemitter",
"pubsub",
"tick",
"ticker",
"scheduler",
"animation",
"game",
"loop",
"frame",
"raf",
"requestanimationframe",
"frameloop",
"animationloop",
"gameloop"
],
"license": "MIT",
"author": {
"name": "Niklas Rämö",
"email": "inramo@gmail.com",
"url": "https://github.com/niklasramo"
},
"repository": {
"type": "git",
"url": "git@github.com:niklasramo/tikki.git"
},
"type": "module",
"source": "./src/index.ts",
"main": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"src",
"dist",
"package.json",
"README.md",
"LICENSE.md"
],
"scripts": {
"test": "npm run ts-check && npm run test-node && npm run test-browser",
"test-browser": "karma start karma.conf.cjs",
"test-node": "mocha --exit tests/dist/index.js",
"test-size": "size-limit",
"build": "npm run ts-check && npm run format && npm run build-lib && npm run build-tests",
"build-lib": "rimraf ./dist && tsup --config ./tsup.config.lib.ts",
"build-tests": "rimraf ./tests/dist && tsup --config ./tsup.config.tests.ts",
"ts-check": "tsc --noEmit",
"format": "prettier --write --no-error-on-unmatched-pattern \"./**/*\"",
"format-check": "prettier --check --no-error-on-unmatched-pattern \"./**/*\""
},
"devDependencies": {
"@size-limit/preset-small-lib": "11.2.0",
"@types/chai": "5.2.0",
"@types/mocha": "10.0.10",
"@types/webxr": "0.5.21",
"chai": "5.2.0",
"dotenv": "16.4.7",
"eventti": "4.0.3",
"gzip-size-cli": "5.1.0",
"karma": "6.4.4",
"karma-browserstack-launcher": "1.6.0",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"mocha": "11.1.0",
"prettier": "3.5.3",
"rimraf": "6.0.1",
"terser": "5.39.0",
"tsup": "8.4.0",
"typescript": "5.8.2"
},
"peerDependencies": {
"eventti": "^4.0.0"
}
}