-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
83 lines (83 loc) · 2.3 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
{
"name": "subscribe-ui-event",
"version": "3.0.0",
"description": "A single, throttle built-in solution to subscribe to browser UI Events.",
"main": "index.js",
"module": "index.es.js",
"scripts": {
"clean": "rm -rf dist dist-es",
"dev": "grunt functional-debug",
"dist": "npm run clean && npm run dist:commonjs && npm run dist:es",
"dist:commonjs": "babel --env-name commonjs src -d dist",
"dist:es": "babel --env-name es src -d dist-es",
"format": "prettier --write .",
"format:check": "prettier --check .",
"func": "grunt functional",
"lint": "eslint . && npm run format:check",
"prepublish": "npm run dist",
"test": "nyc ./node_modules/.bin/mocha tests/unit --recursive --reporter spec"
},
"repository": {
"type": "git",
"url": "https://github.com/yahoo/subscribe-ui-event"
},
"keywords": [
"addEventListener",
"browser",
"events",
"requestAnimationFrame",
"resize",
"scroll",
"subscribe",
"throttle"
],
"author": "Hank Hsiao <[email protected]>",
"dependencies": {
"eventemitter3": "^5.0.0",
"raf": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/register": "^7.14.5",
"async": "^3.2.0",
"babel-plugin-add-module-exports": "^1.0.4",
"chai": "^4.3.4",
"es5-shim": "^4.0.0",
"eslint": "^8.0.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"grunt": "^1.0.0",
"grunt-atomizer": "^3.0.0",
"grunt-cli": "^1.0.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-connect": "^5.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-saucelabs": "^9.0.0",
"grunt-webpack": "^6.0.0",
"jsdom": "^25.0.0",
"mocha": "^10.0.0",
"nyc": "^17.0.0",
"pre-commit": "^1.0.0",
"prettier": "^3.0.0",
"prop-types": "^15.6.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"webpack": "^5.44.0",
"webpack-dev-server": "^4.0.0"
},
"precommit": [
"lint",
"test"
],
"license": "BSD-3-Clause",
"prettier": {
"singleQuote": true,
"tabWidth": 4
},
"browserslist": "> 0.25%, not dead"
}