forked from bence-toth/react-hook-mouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.62 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
{
"name": "react-typescript-hook-mouse",
"version": "1.0.27",
"type": "module",
"homepage": "https://react-typescript-hook-mouse.ttt222.org",
"description": "React hook for mouse position, movement and buttion states, now with Typescript support",
"keywords": [
"react",
"hook",
"mouse",
"typescript"
],
"repository": "git@github.com:Tootoot222/react-typescript-hook-mouse.git",
"license": "LGPL-3.0",
"author": "Tyler Brown <tybrownf@gmail.com>",
"files": [
"dist"
],
"main": "dist/useMouse.js",
"types": "dist/useMouse.d.ts",
"module": "dist/useMouse.esm.js",
"scripts": {
"eslint::check": "eslint --ext .js,.ts,.tsx src",
"eslint::fix": "eslint --fix --ext .js,.ts,.tsx src",
"test": "jest --coverage",
"test::watch": "jest --watch",
"test::watchAll": "jest --watchAll",
"test::coverage": "jest --coverage --watchAll=false",
"typescript::check": "tsc",
"typescript::watch": "tsc --watch",
"build": "rm -rf dist && rollup -c",
"build::watch": "rollup -c -w"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
"@babel/plugin-proposal-object-rest-spread": "^7.16.0",
"@babel/plugin-proposal-optional-chaining": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-eslint": "^8.0.1",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "27.0.3",
"@types/react-dom": "^16.14.0 || ^17",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"babel-core": "^7.0.0-bridge",
"babel-jest": "27.3.1",
"babel-plugin-transform-default-import": "^1.0.0",
"eslint": "^8.2.0",
"eslint-config-airbnb-typescript": "^16.0.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"jest": "27.3.1",
"react-test-renderer": "^16.14.0 || ^17",
"rollup": "^2.60.0",
"rollup-plugin-typescript2": "^0.31.0",
"typescript": "^3.9.10"
},
"peerDependencies": {
"react": "^16.14.0 || ^17",
"react-dom": "^16.14.0 || ^17"
},
"jest": {
"moduleNameMapper": {
"@/(.*)": "<rootDir>/src/$1"
},
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom"
}
}