react-tooltip 4.0.1 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -0
- package/LICENSE +0 -0
- package/README.md +8 -1
- package/dist/index.es.js +686 -252
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +686 -252
- package/dist/index.js.map +1 -1
- package/package.json +32 -30
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-tooltip",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "react tooltip component",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -11,11 +11,12 @@
|
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"pretest": "./node_modules/.bin/eslint . --fix",
|
|
14
|
+
"test:unit": "mocha --require @babel/register --require ignore-styles 'test/*.spec.js'",
|
|
14
15
|
"clean": "rimraf dist",
|
|
15
|
-
"build": "rollup -c",
|
|
16
|
+
"build:rollup": "rollup -c",
|
|
17
|
+
"build": "npm-run-all test:unit build:rollup",
|
|
16
18
|
"build:watch": "rollup -c -w",
|
|
17
19
|
"start": "npm-run-all clean build:watch",
|
|
18
|
-
"deploy": "make deploy",
|
|
19
20
|
"gh-pages": "gh-pages -d example",
|
|
20
21
|
"github-changes": "github-changes -o wwayne -r react-tooltip -a --only-pulls --use-commit-body",
|
|
21
22
|
"commit": "git cz",
|
|
@@ -26,16 +27,6 @@
|
|
|
26
27
|
"path": "node_modules/cz-conventional-changelog"
|
|
27
28
|
}
|
|
28
29
|
},
|
|
29
|
-
"standard": {
|
|
30
|
-
"parser": "babel-eslint",
|
|
31
|
-
"ignore": [
|
|
32
|
-
"dist/",
|
|
33
|
-
"standalone/",
|
|
34
|
-
"src/style.js",
|
|
35
|
-
"src/style.css",
|
|
36
|
-
"example/"
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
30
|
"repository": {
|
|
40
31
|
"type": "git",
|
|
41
32
|
"url": "https://github.com/wwayne/react-tooltip"
|
|
@@ -61,66 +52,77 @@
|
|
|
61
52
|
"react-dom": ">=16.0.0"
|
|
62
53
|
},
|
|
63
54
|
"dependencies": {
|
|
64
|
-
"prop-types": "^15.
|
|
55
|
+
"prop-types": "^15.7.2",
|
|
56
|
+
"uuid": "^7.0.3"
|
|
65
57
|
},
|
|
66
58
|
"devDependencies": {
|
|
67
59
|
"@babel/cli": "^7.7.4",
|
|
68
60
|
"@babel/core": "^7.7.4",
|
|
69
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
70
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
71
|
-
"@babel/
|
|
72
|
-
"@babel/
|
|
61
|
+
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
62
|
+
"@babel/plugin-proposal-decorators": "^7.8.3",
|
|
63
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
|
64
|
+
"@babel/plugin-syntax-import-meta": "^7.8.3",
|
|
65
|
+
"@babel/register": "^7.8.3",
|
|
66
|
+
"@rollup/plugin-commonjs": "^11.0.2",
|
|
67
|
+
"@rollup/plugin-node-resolve": "^7.1.1",
|
|
73
68
|
"@svgr/rollup": "^4.3.3",
|
|
69
|
+
"@testing-library/react": "^9.4.0",
|
|
74
70
|
"babel-eslint": "^4.1.1",
|
|
75
|
-
"babel-
|
|
76
|
-
"babelify": "^
|
|
71
|
+
"babel-loader": "v8.0.0-beta.0",
|
|
72
|
+
"babelify": "^9.0.0",
|
|
77
73
|
"browserify": "^13.0.0",
|
|
78
74
|
"browserify-shim": "^3.8.12",
|
|
79
75
|
"chai": "^3.5.0",
|
|
80
76
|
"chai-enzyme": "^0.5.0",
|
|
77
|
+
"chai-spies": "^1.0.0",
|
|
81
78
|
"commitizen": "2.9.6",
|
|
82
79
|
"concurrently": "^2.1.0",
|
|
83
80
|
"cz-conventional-changelog": "2.1.0",
|
|
84
81
|
"enzyme": "^2.3.0",
|
|
85
|
-
"enzyme-adapter-react-16": "^1.
|
|
86
|
-
"eslint": "^6.
|
|
87
|
-
"eslint-config-
|
|
82
|
+
"enzyme-adapter-react-16": "^1.15.2",
|
|
83
|
+
"eslint": "^6.8.0",
|
|
84
|
+
"eslint-config-jss": "5.0.1",
|
|
85
|
+
"eslint-config-prettier": "6.10.0",
|
|
88
86
|
"eslint-config-standard": "^14.1.0",
|
|
89
87
|
"eslint-config-standard-react": "^9.2.0",
|
|
90
88
|
"eslint-plugin-import": "^2.18.2",
|
|
91
89
|
"eslint-plugin-node": "^10.0.0",
|
|
92
|
-
"eslint-plugin-prettier": "
|
|
90
|
+
"eslint-plugin-prettier": "3.1.2",
|
|
93
91
|
"eslint-plugin-promise": "^4.2.1",
|
|
94
92
|
"eslint-plugin-react": "^7.16.0",
|
|
95
93
|
"eslint-plugin-standard": "^4.0.1",
|
|
96
94
|
"gh-pages": "1.1.0",
|
|
97
95
|
"github-changes": "^1.1.2",
|
|
98
96
|
"http-server": "^0.11.1",
|
|
97
|
+
"ignore-styles": "5.0.1",
|
|
99
98
|
"jsdom": "^9.2.1",
|
|
100
99
|
"mocha": "^5.2.0",
|
|
101
|
-
"
|
|
100
|
+
"mocha-each": "^2.0.1",
|
|
101
|
+
"mocha-jsdom": "^2.0.0",
|
|
102
|
+
"node-sass": "^4.13.1",
|
|
102
103
|
"npm-run-all": "^4.1.5",
|
|
103
104
|
"postcss-nested": "^4.2.1",
|
|
104
105
|
"postcss-simple-vars": "^5.0.2",
|
|
105
|
-
"prettier": "
|
|
106
|
+
"prettier": "1.19.1",
|
|
106
107
|
"react": "^16.4.1",
|
|
107
108
|
"react-addons-test-utils": "^15.1.0",
|
|
108
109
|
"react-dom": "^16.4.1",
|
|
109
110
|
"rimraf": "^3.0.0",
|
|
110
111
|
"rollup": "^1.27.5",
|
|
111
112
|
"rollup-plugin-babel": "^4.3.3",
|
|
112
|
-
"rollup-plugin-
|
|
113
|
-
"rollup-plugin-node-resolve": "^5.2.0",
|
|
113
|
+
"rollup-plugin-eslint": "7.0.0",
|
|
114
114
|
"rollup-plugin-peer-deps-external": "^2.2.0",
|
|
115
115
|
"rollup-plugin-postcss": "^2.0.3",
|
|
116
116
|
"rollup-plugin-sass": "^1.2.2",
|
|
117
|
+
"rollup-plugin-stylelint": "1.0.0",
|
|
117
118
|
"rollup-plugin-url": "^3.0.1",
|
|
118
119
|
"semantic-release": "15.1.5",
|
|
119
|
-
"sinon": "^1.17.4",
|
|
120
120
|
"snazzy": "^2.0.1",
|
|
121
121
|
"standard": "^5.2.2",
|
|
122
|
+
"stylelint": "13.2.0",
|
|
123
|
+
"stylelint-config-standard": "20.0.0",
|
|
122
124
|
"uglifyjs": "^2.4.10",
|
|
123
|
-
"watchify": "^3.11.
|
|
125
|
+
"watchify": "^3.11.1"
|
|
124
126
|
},
|
|
125
127
|
"files": [
|
|
126
128
|
"dist"
|