UNPKG

@esmj/task

Version:

Tiny task management library which divide long task. Improve core web vitals and browser responsiveness.

84 lines (83 loc) 2.42 kB
{ "name": "@esmj/task", "version": "0.5.2", "description": "Tiny task management library which divide long task. Improve core web vitals and browser responsiveness.", "keywords": [ "task", "long task", "performance", "responsiveness", "core web vitals", "INP" ], "main": "dist/index", "module": "dist/index", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "sideEffects": false, "typings": "dist/index.d.ts", "scripts": { "lint": "biome check --no-errors-on-unmatched", "lint:fix": "npm run lint -- --fix --unsafe", "dev": "node_modules/.bin/tsup --dts --watch --onSuccess 'node ./dist/index.mjs'", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules ./node_modules/.bin/jest --no-watchman", "test:watch": "npm run test -- --watchAll", "preversion": "npm test && npm run lint && npm run build", "version": "npm run changelog && git add CHANGELOG.md", "postversion": "git push && git push --tags", "commit": "node_modules/.bin/git-cz", "changelog": "node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 1", "build": "node_modules/.bin/tsup --dts", "prepare": "husky install" }, "repository": { "type": "git", "url": "git+https://github.com/mjancarik/esmj-task.git" }, "author": "Miroslav Jancarik", "license": "MIT", "bugs": { "url": "https://github.com/mjancarik/esmj-task/issues" }, "lint-staged": { "**/*.{ts,js,mjs}": "npm run lint" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "config": { "commitizen": { "path": "git-cz" } }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "homepage": "https://github.com/mjancarik/esmj-task#readme", "devDependencies": { "@biomejs/biome": "1.9.4", "@commitlint/cli": "^19.8.0", "@commitlint/config-conventional": "^19.8.0", "@types/jest": "^29.5.14", "@types/node": "^22.14.0", "commitizen": "^4.3.1", "cross-env": "^7.0.3", "conventional-changelog-cli": "^5.0.0", "cz-conventional-changelog": "^3.3.0", "esbuild-jest": "^0.5.0", "git-cz": "^4.9.0", "husky": "^9.1.7", "jest": "^29.7.0", "jest-config": "^29.7.0", "lint-staged": "^15.5.1", "to-mock": "^1.6.2", "tsup": "^8.4.0" } }