Files

108 lines
3.2 KiB
JSON

{
"name": "throttle-debounce",
"version": "3.0.1",
"description": "Throttle and debounce functions.",
"license": "MIT",
"author": "Ivan Nikolić <niksy5@gmail.com> (http://ivannikolic.com)",
"contributors": [
"Ben Alman (http://benalman.com)"
],
"sideEffects": false,
"exports": {
".": {
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "cjs/index.js",
"jsdelivr": "umd/index.js",
"unpkg": "umd/index.js",
"module": "esm/index.js",
"directories": {
"test": "test"
},
"files": [
"cjs/",
"esm/",
"umd/",
"CHANGELOG.md",
"LICENSE.md",
"README.md"
],
"scripts": {
"build": "rollup --config rollup.config.js",
"lint": "eslint '{index,debounce,throttle,test/**/*}.js'",
"module-check": "node -e 'require(\"throttle-debounce\");' && node --input-type=module -e 'import \"throttle-debounce\";'",
"prepublishOnly": "npm run build && npm run module-check",
"postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog",
"release": "np --no-release-draft",
"test": "npm run lint && npm run test:automated",
"test:automated": "BABEL_ENV=test karma start",
"test:automated:watch": "npm run test:automated -- --auto-watch --no-single-run",
"version": "version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/runtime": "^7.2.0",
"@rollup/plugin-babel": "^5.2.1",
"babel-loader": "^8.1.0",
"babel-preset-niksy": "^4.1.0",
"changelog-verify": "^1.1.2",
"core-js": "^2.6.5",
"eslint": "^7.11.0",
"eslint-config-niksy": "^9.0.0",
"eslint-config-prettier": "^6.14.0",
"eslint-plugin-extend": "^0.1.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^30.7.3",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.9.1",
"eslint-plugin-unicorn": "^23.0.0",
"esm": "^3.0.51",
"get-port": "^4.0.0",
"get-port-cli": "^2.0.0",
"github-release-from-changelog": "^2.1.1",
"husky": "^4.3.0",
"karma": "^5.2.3",
"karma-browserstack-launcher": "^1.6.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^0.1.7",
"karma-mocha-reporter": "^2.2.5",
"karma-qunit": "^0.1.9",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2",
"lint-staged": "^10.4.2",
"minimist": "^1.2.0",
"mocha": "^4.1.0",
"np": "^6.5.0",
"prettier": "^2.1.2",
"qunitjs": "^1.23.1",
"rollup": "^2.32.1",
"rollup-plugin-babel": "^4.2.0",
"version-changelog": "^3.1.1",
"webpack": "^4.44.2"
},
"engines": {
"node": ">=10"
},
"keywords": [
"debounce",
"throttle"
],
"repository": {
"type": "git",
"url": "git+https://github.com/niksy/throttle-debounce.git"
},
"bugs": {
"url": "https://github.com/niksy/throttle-debounce/issues"
},
"homepage": "https://github.com/niksy/throttle-debounce#readme"
}