react-tooltip 4.2.6 → 4.2.10

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/package.json CHANGED
@@ -1,17 +1,19 @@
1
1
  {
2
2
  "name": "react-tooltip",
3
- "version": "4.2.6",
3
+ "version": "4.2.10",
4
4
  "description": "react tooltip component",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/react-tooltip.d.ts",
7
7
  "module": "dist/index.es.js",
8
8
  "jsnext:main": "dist/index.es.js",
9
9
  "engines": {
10
- "node": ">=8",
11
- "npm": ">=5"
10
+ "npm": ">=6.13"
12
11
  },
13
12
  "scripts": {
14
- "pretest": "./node_modules/.bin/eslint . --fix",
13
+ "pretest": "npm-run-all pretty:quick lint:staged",
14
+ "eslint:fix": "./node_modules/.bin/eslint . --ignore-path ./.eslintignore --fix",
15
+ "pretty:quick": "./node_modules/.bin/pretty-quick --staged",
16
+ "lint:staged": "./node_modules/.bin/lint-staged",
15
17
  "test:unit": "mocha --require @babel/register --require ignore-styles 'test/*.spec.js'",
16
18
  "clean": "rimraf dist",
17
19
  "build:rollup": "rollup -c",
@@ -20,7 +22,7 @@
20
22
  "start": "npm-run-all clean build:watch",
21
23
  "gh-pages": "gh-pages -d example",
22
24
  "github-changes": "github-changes -o wwayne -r react-tooltip -a --only-pulls --use-commit-body",
23
- "copy:types": "cpy './react-tooltip.d.ts' './dist' --parents --dot",
25
+ "copy:types": "cpy ./react-tooltip.d.ts ./dist --parents --dot",
24
26
  "cm": "git cz",
25
27
  "semantic-release": "semantic-release"
26
28
  },
@@ -29,11 +31,6 @@
29
31
  "path": "node_modules/cz-conventional-changelog"
30
32
  }
31
33
  },
32
- "commitlint": {
33
- "extends": [
34
- "@commitlint/config-conventional"
35
- ]
36
- },
37
34
  "repository": {
38
35
  "type": "git",
39
36
  "url": "https://github.com/wwayne/react-tooltip"
@@ -62,16 +59,6 @@
62
59
  "prop-types": "^15.7.2",
63
60
  "uuid": "^7.0.3"
64
61
  },
65
- "release": {
66
- "plugins": [
67
- "@semantic-release/commit-analyzer",
68
- "@semantic-release/release-notes-generator",
69
- "@semantic-release/changelog",
70
- "@semantic-release/npm",
71
- "@semantic-release/git"
72
- ],
73
- "branch": "master"
74
- },
75
62
  "devDependencies": {
76
63
  "@babel/cli": "^7.7.4",
77
64
  "@babel/core": "^7.7.4",
@@ -102,8 +89,8 @@
102
89
  "chai-spies": "^1.0.0",
103
90
  "commitizen": "2.9.6",
104
91
  "concurrently": "^2.1.0",
105
- "cpy-cli": "^3.1.0",
106
- "cz-conventional-changelog": "2.1.0",
92
+ "cpy-cli": "^3.1.1",
93
+ "cz-conventional-changelog": "^3.1.0",
107
94
  "enzyme": "^2.3.0",
108
95
  "enzyme-adapter-react-16": "^1.15.2",
109
96
  "eslint": "^6.8.0",
@@ -119,10 +106,11 @@
119
106
  "eslint-plugin-standard": "^4.0.1",
120
107
  "gh-pages": "1.1.0",
121
108
  "github-changes": "^1.1.2",
122
- "husky": "^3.1.0",
123
109
  "http-server": "^0.11.1",
110
+ "husky": "^3.1.0",
124
111
  "ignore-styles": "5.0.1",
125
112
  "jsdom": "^9.2.1",
113
+ "lint-staged": "^10.2.7",
126
114
  "mocha": "^5.2.0",
127
115
  "mocha-each": "^2.0.1",
128
116
  "mocha-jsdom": "^2.0.0",
@@ -131,6 +119,7 @@
131
119
  "postcss-nested": "^4.2.1",
132
120
  "postcss-simple-vars": "^5.0.2",
133
121
  "prettier": "1.19.1",
122
+ "pretty-quick": "^2.0.1",
134
123
  "react": "^16.4.1",
135
124
  "react-addons-test-utils": "^15.1.0",
136
125
  "react-dom": "^16.4.1",
@@ -143,7 +132,7 @@
143
132
  "rollup-plugin-sass": "^1.2.2",
144
133
  "rollup-plugin-stylelint": "1.0.0",
145
134
  "rollup-plugin-url": "^3.0.1",
146
- "semantic-release": "15.1.5",
135
+ "semantic-release": "^17.0.4",
147
136
  "snazzy": "^2.0.1",
148
137
  "standard": "^5.2.2",
149
138
  "stylelint": "13.2.0",
@@ -154,9 +143,27 @@
154
143
  "files": [
155
144
  "dist"
156
145
  ],
146
+ "release": {
147
+ "plugins": [
148
+ "@semantic-release/commit-analyzer",
149
+ "@semantic-release/release-notes-generator",
150
+ "@semantic-release/changelog",
151
+ "@semantic-release/npm",
152
+ "@semantic-release/git"
153
+ ],
154
+ "branch": "master"
155
+ },
156
+ "commitlint": {
157
+ "extends": [
158
+ "@commitlint/config-conventional"
159
+ ]
160
+ },
161
+ "lint-staged": {
162
+ "*.{js,ts}": "yarn eslint:fix"
163
+ },
157
164
  "husky": {
158
165
  "hooks": {
159
- "pre-commit": "yarn test:unit",
166
+ "pre-commit": "yarn pretest",
160
167
  "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
161
168
  }
162
169
  }