UNPKG

handlor

Version:

Handles and stores eventsListeners, timeouts/intervals and animationFrames and stores in one place for convenient cancelling and unsubscribing of events

68 lines (67 loc) 1.69 kB
{ "name": "handlor", "version": "1.0.4", "description": "Handles and stores eventsListeners, timeouts/intervals and animationFrames and stores in one place for convenient cancelling and unsubscribing of events", "main": "dist/index.js", "types": "dist/index.d.ts", "directories": { "test": "test" }, "scripts": { "build": "tsc", "watch": "jest --watchAll", "coverage": "jest --coverage", "test": "jest --ci --runInBand" }, "jest": { "testURL": "http://localhost", "globals": { "ts-jest": { "skipBabel": true } }, "transform": { "^.+\\.tsx?$": "ts-jest" }, "moduleNameMapper": { "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "./__mocks__/fileMock.js", "\\.(s?css)$": "identity-obj-proxy" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "js", "json", "node" ], "setupFiles": [ "./test/testSetup.ts" ] }, "repository": { "type": "git", "url": "git+https://github.com/Rolandisimo/handlor.git" }, "keywords": [ "events", "eventListeners", "timeout", "interval", "requestAnimationFrame", "handlers" ], "author": "Rolands Jegorovs <rolandjegorov@gmail.com>", "license": "ISC", "bugs": { "url": "https://github.com/Rolandisimo/handlor/issues" }, "homepage": "https://github.com/Rolandisimo/handlor#readme", "devDependencies": { "@types/jest": "^23.3.9", "jest": "^23.5.0", "merge": ">=1.2.1", "ts-jest": "^23.1.4", "tslib": "^1.9.3", "typescript": "^3.0.1" } }