UNPKG

custom-idle-queue

Version:

Optimize the speed of important tasks on limited ressources

66 lines (65 loc) 2.48 kB
{ "name": "custom-idle-queue", "version": "3.0.1", "description": "Optimize the speed of important tasks on limited ressources", "keywords": [ "requestIdleCallback", "idle", "performance", "optimisation" ], "main": "./dist/lib/index.es5.js", "jsnext:main": "./dist/es/index.js", "module": "./dist/es/index.js", "types": "./src/index.d.ts", "sideEffects": false, "scripts": { "test": "npm run build && mocha -b --exit test/unit", "test:size": "npm run build && rimraf tmp/browserify.js && mkdir -p tmp/ && browserify --no-builtins dist/lib/browserify.index.js > tmp/browserify.js && uglifyjs --compress --mangle --output tmp/browserify.min.js -- tmp/browserify.js && echo \"Build-Size (minified+gzip):\" && gzip-size --raw tmp/browserify.min.js", "performance": "npm run build && mocha test/performance.test.js -b --timeout 24000 --exit", "profile": "mocha --prof test/performance.test.js -b --timeout 24000 --exit && node scripts/profile.js", "lint": "eslint src test", "clear": "rimraf -rf ./dist", "build:es6": "rimraf -rf dist/es && cross-env NODE_ENV=es6 babel src --out-dir dist/es", "build:es5": "cross-env NODE_ENV=es5 babel src --out-dir dist/lib", "build": "npm run clear && concurrently \"npm run build:es6\" \"npm run build:es5\"" }, "homepage": "https://github.com/pubkey/custom-idle-queue#readme", "repository": { "type": "git", "url": "git+https://github.com/pubkey/custom-idle-queue.git" }, "author": "pubkey", "license": "Apache-2.0", "bugs": { "url": "https://github.com/pubkey/custom-idle-queue/issues" }, "devDependencies": { "@babel/cli": "7.8.4", "@babel/core": "7.9.6", "@babel/plugin-check-constants": "7.0.0-beta.38", "@babel/plugin-proposal-object-rest-spread": "7.9.6", "@babel/plugin-transform-member-expression-literals": "7.8.3", "@babel/plugin-transform-property-literals": "7.8.3", "@babel/plugin-transform-runtime": "7.9.6", "@babel/polyfill": "7.8.7", "@babel/preset-env": "7.9.6", "@babel/types": "7.9.6", "assert": "1.4.1", "async-test-util": "1.7.3", "browserify": "16.5.1", "concurrently": "^4.0.1", "cross-env": "5.2.0", "delete": "1.1.0", "eslint": "5.5.0", "gzip-size-cli": "3.0.0", "mocha": "5.2.0", "rimraf": "2.6.2", "shelljs": "0.8.2", "uglify-js": "3.9.3", "walk-sync": "0.3.3" }, "dependencies": { "@babel/runtime": "7.9.6" } }