-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
49 lines (49 loc) · 1.31 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
{
"name": "raf-throttle",
"version": "2.0.3",
"description": "Throttle a function by requestAnimationFrame",
"main": "lib/rafThrottle.js",
"types": "index.d.ts",
"scripts": {
"test": "jest --coverage",
"report-coverage": "cat ./coverage/lcov.info | codecov",
"clean": "rm -rf lib & rm -rf umd",
"build:minifiedUMD": "uglifyjs -o umd/rafThrottle.min.js umd/rafThrottle.js",
"build": "rollup -c && npm run build:minifiedUMD",
"prebuild": "npm run clean",
"prepublish": "npm run build",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/wuct/raf-throttle.git"
},
"keywords": [
"raf",
"throttle",
"requestAnimationFrame"
],
"author": "wuct",
"license": "MIT",
"bugs": {
"url": "https://github.com/wuct/raf-throttle/issues"
},
"homepage": "https://github.com/wuct/raf-throttle#readme",
"devDependencies": {
"@babel/cli": "7.26.4",
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"babel-jest": "29.7.0",
"codecov": "3.8.3",
"jest": "29.7.0",
"raf": "3.4.1",
"rollup": "3.29.5",
"rollup-plugin-babel": "4.4.0",
"uglify-js": "3.19.3",
"semantic-release": "19.0.5"
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true
}
}