worker-timers
Version:
A replacement for setInterval() and setTimeout() which works in unfocused windows.
94 lines (93 loc) • 3.85 kB
JSON
{
"author": "Christoph Guttandin",
"bugs": {
"url": "https://github.com/chrisguttandin/worker-timers/issues"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"contributors": [
{
"email": "a-anng@expedia.com",
"name": "Anthony Ng"
}
],
"dependencies": {
"@babel/runtime": "^7.28.4",
"tslib": "^2.8.1",
"worker-timers-broker": "^8.0.13",
"worker-timers-worker": "^9.0.11"
},
"description": "A replacement for setInterval() and setTimeout() which works in unfocused windows.",
"devDependencies": {
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.5",
"@babel/plugin-external-helpers": "^7.27.1",
"@babel/plugin-transform-runtime": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/register": "^7.28.3",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-angular": "^19.8.1",
"@rollup/plugin-babel": "^6.1.0",
"@rollup/plugin-replace": "^6.0.3",
"@vitest/browser-webdriverio": "^4.0.16",
"babel-loader": "^10.0.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-holy-grail": "^61.0.3",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"memfs": "^4.51.1",
"prettier": "^3.7.4",
"rimraf": "^6.1.2",
"rollup": "^4.53.5",
"terser-webpack-plugin": "^5.3.16",
"tsconfig-holy-grail": "^15.0.2",
"tslint": "^6.1.3",
"tslint-config-holy-grail": "^56.0.6",
"typescript": "^5.9.3",
"vitest": "^4.0.16",
"webpack": "^5.104.1",
"webpack-cli": "^6.0.1"
},
"files": [
"build/es2019/",
"build/es5/",
"src/"
],
"homepage": "https://github.com/chrisguttandin/worker-timers",
"keywords": [
"Web Workers",
"WindowTimers",
"clearInterval",
"clearTimeout",
"interval",
"setInterval",
"setTimeout"
],
"license": "MIT",
"main": "build/es5/bundle.js",
"module": "build/es2019/module.js",
"name": "worker-timers",
"repository": {
"type": "git",
"url": "https://github.com/chrisguttandin/worker-timers.git"
},
"scripts": {
"build": "rimraf build/* && webpack --config config/webpack/worker-es2019.js && tsc --project src/tsconfig.json && rollup --config config/rollup/bundle.mjs && babel ./build/es2019 --config-file ./config/babel/build.json --out-dir ./build/node",
"lint": "npm run lint:config && npm run lint:src && npm run lint:test",
"lint:config": "eslint --config config/eslint/config.json --ext .cjs --ext .js --ext .mjs --report-unused-disable-directives config/",
"lint:src": "tslint --config config/tslint/src.json --project src/tsconfig.json src/*.ts src/**/*.ts",
"lint:test": "eslint --config config/eslint/test.json --ext .js --report-unused-disable-directives test/",
"prepare": "husky",
"prepublishOnly": "npm run build",
"test": "npm run lint && npm run build && npm run test:integration-browser && npm run test:integration-node",
"test:integration-browser": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"integration\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"chrome\" -o \"$TARGET\" = \"firefox\" -o \"$TARGET\" = \"safari\" ]; then npx vitest --config config/vitest/integration.ts; fi",
"test:integration-node": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"integration\" ] && [ \"$TARGET\" = \"\" -o \"$TARGET\" = \"node\" ]; then npx vitest --browser.enabled false --config config/vitest/integration.ts; fi"
},
"types": "build/es2019/module.d.ts",
"version": "8.0.27"
}