-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
102 lines (102 loc) · 2.98 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
99
100
101
102
{
"name": "react-hook-mighty-mouse",
"version": "1.4.31",
"description": "React mouse hook",
"main": "./dist/react-hook-mighty-mouse.umd.js",
"module": "./dist/react-hook-mighty-mouse.es5.js",
"typings": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "npm run storybook",
"prebuild": "rimraf dist",
"build": "rollup -c",
"build:watch": "rollup -c -w",
"lint": "eslint --max-warnings 0 --ext .js,jsx,ts,tsx src/",
"lint-prettier": "prettier --config .prettierrc -l src/**/*.ts{,x}",
"prettier": "prettier --config .prettierrc --write {src,stories}/**/*.ts{,x}",
"storybook": "start-storybook -p 9009 -s public --quiet",
"storybook:build": "build-storybook -c .storybook -o build_storybook --quiet",
"demotab": "demotab generate --prefix=_ && npm run prettier",
"validate": "npm run lint && npm run lint-prettier && npm run build"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@storybook/addon-actions": "^5.3.13",
"@storybook/addon-knobs": "^5.3.13",
"@storybook/addon-links": "^5.3.13",
"@storybook/addons": "^5.3.13",
"@storybook/react": "^5.3.13",
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"babel-loader": "^8.0.6",
"babel-preset-react-app": "^9.1.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^4.2.3",
"lint-staged": "^10.0.7",
"node-sass": "^4.13.1",
"prettier": "^1.19.1",
"react": "^16.10.2",
"react-demo-tab": "^1.2.1",
"react-demo-tab-cli": "^1.2.1",
"react-dom": "^16.10.2",
"rimraf": "^3.0.2",
"rollup": "^1.31.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.6",
"rollup-plugin-sourcemaps": "^0.5.0",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript2": "^0.26.0",
"sass-loader": "^8.0.2",
"typescript": "^3.7.5"
},
"peerDependencies": {
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
},
"lint-staged": {
"{src,stories}/**/*": [
"prettier --config .prettierrc --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/mkosir/react-hook-mighty-mouse.git"
},
"author": "Marko Kosir <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mkosir/react-hook-mighty-mouse/issues"
},
"homepage": "https://github.com/mkosir/react-hook-mighty-mouse#readme",
"keywords": [
"react",
"hook",
"react-hook",
"mighty",
"mighty-mouse",
"mouse",
"mouse-tracking",
"relative",
"coordinates",
"location",
"angle",
"keyboard",
"button"
]
}