[d565449] | 1 | {
|
---|
| 2 | "name": "throttle-debounce",
|
---|
| 3 | "version": "3.0.1",
|
---|
| 4 | "description": "Throttle and debounce functions.",
|
---|
| 5 | "license": "MIT",
|
---|
| 6 | "author": "Ivan Nikolić <niksy5@gmail.com> (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 && npm run module-check",
|
---|
| 38 | "postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog",
|
---|
| 39 | "release": "np --no-release-draft",
|
---|
| 40 | "test": "npm run lint && 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": "version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md"
|
---|
| 44 | },
|
---|
| 45 | "devDependencies": {
|
---|
| 46 | "@babel/cli": "^7.2.3",
|
---|
| 47 | "@babel/core": "^7.2.2",
|
---|
| 48 | "@babel/plugin-transform-object-assign": "^7.2.0",
|
---|
| 49 | "@babel/plugin-transform-runtime": "^7.2.0",
|
---|
| 50 | "@babel/runtime": "^7.2.0",
|
---|
| 51 | "@rollup/plugin-babel": "^5.2.1",
|
---|
| 52 | "babel-loader": "^8.1.0",
|
---|
| 53 | "babel-preset-niksy": "^4.1.0",
|
---|
| 54 | "changelog-verify": "^1.1.2",
|
---|
| 55 | "core-js": "^2.6.5",
|
---|
| 56 | "eslint": "^7.11.0",
|
---|
| 57 | "eslint-config-niksy": "^9.0.0",
|
---|
| 58 | "eslint-config-prettier": "^6.14.0",
|
---|
| 59 | "eslint-plugin-extend": "^0.1.1",
|
---|
| 60 | "eslint-plugin-import": "^2.22.1",
|
---|
| 61 | "eslint-plugin-jsdoc": "^30.7.3",
|
---|
| 62 | "eslint-plugin-mocha": "^8.0.0",
|
---|
| 63 | "eslint-plugin-node": "^11.1.0",
|
---|
| 64 | "eslint-plugin-prettier": "^3.0.1",
|
---|
| 65 | "eslint-plugin-promise": "^4.1.1",
|
---|
| 66 | "eslint-plugin-react": "^7.9.1",
|
---|
| 67 | "eslint-plugin-unicorn": "^23.0.0",
|
---|
| 68 | "esm": "^3.0.51",
|
---|
| 69 | "get-port": "^4.0.0",
|
---|
| 70 | "get-port-cli": "^2.0.0",
|
---|
| 71 | "github-release-from-changelog": "^2.1.1",
|
---|
| 72 | "husky": "^4.3.0",
|
---|
| 73 | "karma": "^5.2.3",
|
---|
| 74 | "karma-browserstack-launcher": "^1.6.0",
|
---|
| 75 | "karma-chrome-launcher": "^3.1.0",
|
---|
| 76 | "karma-firefox-launcher": "^0.1.7",
|
---|
| 77 | "karma-mocha-reporter": "^2.2.5",
|
---|
| 78 | "karma-qunit": "^0.1.9",
|
---|
| 79 | "karma-sourcemap-loader": "^0.3.7",
|
---|
| 80 | "karma-webpack": "^4.0.2",
|
---|
| 81 | "lint-staged": "^10.4.2",
|
---|
| 82 | "minimist": "^1.2.0",
|
---|
| 83 | "mocha": "^4.1.0",
|
---|
| 84 | "np": "^6.5.0",
|
---|
| 85 | "prettier": "^2.1.2",
|
---|
| 86 | "qunitjs": "^1.23.1",
|
---|
| 87 | "rollup": "^2.32.1",
|
---|
| 88 | "rollup-plugin-babel": "^4.2.0",
|
---|
| 89 | "version-changelog": "^3.1.1",
|
---|
| 90 | "webpack": "^4.44.2"
|
---|
| 91 | },
|
---|
| 92 | "engines": {
|
---|
| 93 | "node": ">=10"
|
---|
| 94 | },
|
---|
| 95 | "keywords": [
|
---|
| 96 | "debounce",
|
---|
| 97 | "throttle"
|
---|
| 98 | ],
|
---|
| 99 | "repository": {
|
---|
| 100 | "type": "git",
|
---|
| 101 | "url": "git+https://github.com/niksy/throttle-debounce.git"
|
---|
| 102 | },
|
---|
| 103 | "bugs": {
|
---|
| 104 | "url": "https://github.com/niksy/throttle-debounce/issues"
|
---|
| 105 | },
|
---|
| 106 | "homepage": "https://github.com/niksy/throttle-debounce#readme"
|
---|
| 107 | }
|
---|