-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
90 lines (90 loc) · 2.82 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
{
"name": "react-cursor-position",
"version": "3.0.3",
"description": "A React component that decorates its children with touch and mouse cursor coordinates, plotted relative to itself.",
"repository": {
"type": "git",
"url": "https://github.com/ethanselzer/react-cursor-position.git"
},
"keywords": [
"touch",
"tap",
"touchmove",
"pan",
"drag",
"mouse",
"mousemove",
"listener",
"observer",
"point",
"coordinates",
"track",
"follow"
],
"author": "Ethan Selzer <ethanselzer@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ethanselzer/react-cursor-position/issues"
},
"homepage": "https://github.com/ethanselzer/react-cursor-position#readme",
"main": "dist/ReactCursorPosition.js",
"module": "dist/es/ReactCursorPosition.js",
"jsnext:main": "dist/es/ReactCursorPosition.js",
"files": [
"dist",
"LICENCE"
],
"scripts": {
"analyze": "npm run stats && webpack-bundle-analyzer stats.json",
"build-umd": "webpack -p",
"build-cjs": "cross-env BABEL_ENV=cjs babel src --out-dir dist",
"build-es": "babel src --out-dir dist/es",
"build": "rimraf dist && npm run build-cjs && npm run build-es && npm run build-umd",
"build-watch": "cross-env BABEL_ENV=cjs babel --watch src --out-dir dist",
"prepublishOnly": "npm run lint && npm test && npm run build",
"lint": "eslint \"@(src|test)/**/*.js\"",
"stats": "webpack -p --profile --json > stats.json",
"test": "npm run lint && jest",
"test-only": "jest",
"test-watch": "jest --watch",
"test-coverage": "jest --coverage",
"test-ci": "npm run test && npm run coveralls",
"coveralls": "npm run test-coverage && cat ./coverage/lcov.info | coveralls"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-loader": "^7.1.2",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-2": "6.24.1",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"enzyme": "^3.4.4",
"enzyme-adapter-react-16": "^1.2.0",
"eslint": "^5.4.0",
"eslint-config-react-app": "^2.1.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-react": "^7.11.1",
"jest": "^23.5.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-test-renderer": "16.0.0",
"rimraf": "^2.6.2",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0"
},
"peerDependencies": {
"react": "~0.14.9 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"object-assign": "^4.1.1",
"object.omit": "^3.0.0",
"prop-types": "^15.6.0"
}
}