-
Notifications
You must be signed in to change notification settings - Fork 106
/
package.json
98 lines (98 loc) · 3.03 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "throttle-debounce",
"version": "5.0.2",
"description": "Throttle and debounce functions.",
"license": "MIT",
"author": "Ivan Nikolić <[email protected]> (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",
"postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog",
"release": "np --no-release-draft",
"test": "npm run test:automated",
"test:automated": "BABEL_ENV=test karma start",
"test:automated:watch": "npm run test:automated -- --auto-watch --no-single-run",
"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",
"prerelease": "npm run lint && npm run build && npm run module-check"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.12.1",
"@babel/runtime": "^7.2.0",
"@rollup/plugin-babel": "^5.2.1",
"babel-loader": "^8.1.0",
"changelog-verify": "^1.1.2",
"core-js": "^2.6.5",
"eslint": "^8.5.0",
"eslint-config-nitpick": "^11.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.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": "5.0.0",
"lint-staged": "^10.4.2",
"minimist": "^1.2.0",
"node-stdlib-browser": "^1.2.0",
"np": "^7.6.0",
"prettier": "^2.4.0",
"qunitjs": "^1.23.1",
"rollup": "^2.32.1",
"version-changelog": "^3.1.1",
"webpack": "^5.2.0"
},
"engines": {
"node": ">=12.22"
},
"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"
}