request-animation-frame-loop
Version:
A request animation frame loop.
74 lines • 2.1 kB
JSON
{
"name": "request-animation-frame-loop",
"version": "1.0.2",
"description": "A request animation frame loop.",
"homepage": "https://github.com/itihon/request-animation-frame-loop/",
"keywords": [
"request",
"animation",
"frame",
"loop",
"request-animation-frame-loop"
],
"author": "Alexandr Kalabin",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/itihon/request-animation-frame-loop.git"
},
"bugs": {
"url": "https://github.com/itihon/request-animation-frame-loop/issues"
},
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
"browser": "dist/esm/index.js",
"types": "./types/index.d.ts",
"files": [
"dist",
"types"
],
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/esm/index.js"
}
},
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@eslint/js": "^9.22.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.22.0",
"globals": "^16.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.5.0",
"prettier": "3.5.3",
"rollup": "^4.35.0",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"{lib,__tests__}/**/*.{js,mjs,ts}": [
"prettier --write",
"eslint --fix"
]
},
"scripts": {
"commit": "cz",
"format:check": "prettier --check \"{lib,__tests__}/**/*.{js,mjs,ts}\"",
"format:write": "prettier --write \"{lib,__tests__}/**/*.{js,mjs,ts}\"",
"lint": "eslint --fix .",
"build": "pnpm run build:esm",
"build:esm": "rollup lib/index.js --file dist/esm/index.js --format esm",
"build:types": "tsc lib/index.js --declaration --allowJs --emitDeclarationOnly --outDir types",
"test": "pnpm run test:client",
"test:client": "jest --testPathPattern=\"__tests__.*client\\.test\\.js\" --env=\"jsdom\"",
"test:watch": "jest --watch"
}
}