| 1 |
{ |
| 2 |
"name": "throttle-debounce", |
| 3 |
"version": "5.0.2", |
| 4 |
"description": "Throttle and debounce functions.", |
| 5 |
"license": "MIT", |
| 6 |
"author": "Ivan Nikolić <[email protected]> (http://ivannikolic.com)", |
| 7 |
"contributors": [ |
| 8 |
"Ben Alman (http://benalman.com)" |
| 9 |
], |
| 10 |
"sideEffects": false, |
| 11 |
"exports": { |
| 12 |
".": { |
| 13 |
"import": "./esm/index.js", |
| 14 |
"require": "./cjs/index.js" |
| 15 |
}, |
| 16 |
"./package.json": "./package.json" |
| 17 |
}, |
| 18 |
"main": "cjs/index.js", |
| 19 |
"jsdelivr": "umd/index.js", |
| 20 |
"unpkg": "umd/index.js", |
| 21 |
"module": "esm/index.js", |
| 22 |
"directories": { |
| 23 |
"test": "test" |
| 24 |
}, |
| 25 |
"files": [ |
| 26 |
"cjs/", |
| 27 |
"esm/", |
| 28 |
"umd/", |
| 29 |
"CHANGELOG.md", |
| 30 |
"LICENSE.md", |
| 31 |
"README.md" |
| 32 |
], |
| 33 |
"scripts": { |
| 34 |
"build": "rollup --config rollup.config.js", |
| 35 |
"lint": "eslint '{index,debounce,throttle,test/**/*}.js'", |
| 36 |
"module-check": "node -e 'require(\"throttle-debounce\");' && node --input-type=module -e 'import \"throttle-debounce\";'", |
| 37 |
"prepublishOnly": "npm run build", |
| 38 |
"postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog", |
| 39 |
"release": "np --no-release-draft", |
| 40 |
"test": "npm run test:automated", |
| 41 |
"test:automated": "BABEL_ENV=test karma start", |
| 42 |
"test:automated:watch": "npm run test:automated -- --auto-watch --no-single-run", |
| 43 |
"version": "if [ $(git rev-parse --abbrev-ref HEAD) == 'master' ]; then sed -i '' '/\\[unreleased\\]:/d' CHANGELOG.md && version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md; else echo; fi", |
| 44 |
"prerelease": "npm run lint && npm run build && npm run module-check" |
| 45 |
}, |
| 46 |
"devDependencies": { |
| 47 |
"@babel/cli": "^7.2.3", |
| 48 |
"@babel/core": "^7.2.2", |
| 49 |
"@babel/plugin-transform-runtime": "^7.2.0", |
| 50 |
"@babel/preset-env": "^7.12.1", |
| 51 |
"@babel/runtime": "^7.2.0", |
| 52 |
"@rollup/plugin-babel": "^5.2.1", |
| 53 |
"babel-loader": "^8.1.0", |
| 54 |
"changelog-verify": "^1.1.2", |
| 55 |
"core-js": "^2.6.5", |
| 56 |
"eslint": "^8.5.0", |
| 57 |
"eslint-config-nitpick": "^11.1.0", |
| 58 |
"eslint-config-prettier": "^8.3.0", |
| 59 |
"eslint-plugin-prettier": "^4.0.0", |
| 60 |
"esm": "^3.0.51", |
| 61 |
"get-port": "^4.0.0", |
| 62 |
"get-port-cli": "^2.0.0", |
| 63 |
"github-release-from-changelog": "^2.1.1", |
| 64 |
"husky": "^4.3.0", |
| 65 |
"karma": "^5.2.3", |
| 66 |
"karma-browserstack-launcher": "^1.6.0", |
| 67 |
"karma-chrome-launcher": "^3.1.0", |
| 68 |
"karma-firefox-launcher": "^0.1.7", |
| 69 |
"karma-mocha-reporter": "^2.2.5", |
| 70 |
"karma-qunit": "^0.1.9", |
| 71 |
"karma-sourcemap-loader": "^0.3.7", |
| 72 |
"karma-webpack": "5.0.0", |
| 73 |
"lint-staged": "^10.4.2", |
| 74 |
"minimist": "^1.2.0", |
| 75 |
"node-stdlib-browser": "^1.2.0", |
| 76 |
"np": "^7.6.0", |
| 77 |
"prettier": "^2.4.0", |
| 78 |
"qunitjs": "^1.23.1", |
| 79 |
"rollup": "^2.32.1", |
| 80 |
"version-changelog": "^3.1.1", |
| 81 |
"webpack": "^5.2.0" |
| 82 |
}, |
| 83 |
"engines": { |
| 84 |
"node": ">=12.22" |
| 85 |
}, |
| 86 |
"keywords": [ |
| 87 |
"debounce", |
| 88 |
"throttle" |
| 89 |
], |
| 90 |
"repository": { |
| 91 |
"type": "git", |
| 92 |
"url": "git+https://github.com/niksy/throttle-debounce.git" |
| 93 |
}, |
| 94 |
"bugs": { |
| 95 |
"url": "https://github.com/niksy/throttle-debounce/issues" |
| 96 |
}, |
| 97 |
"homepage": "https://github.com/niksy/throttle-debounce#readme" |
| 98 |
} |