react-grid-layout 0.17.1 → 0.18.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "react-grid-layout",
3
- "version": "0.17.1",
3
+ "version": "0.18.3",
4
4
  "description": "A draggable and resizable grid layout with responsive breakpoints, for React.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -12,8 +12,7 @@
12
12
  "dev": "make dev",
13
13
  "prepublishOnly": "make build",
14
14
  "validate": "npm ls",
15
- "flow": "flow",
16
- "precommit": "lint-staged && make lint"
15
+ "flow": "flow"
17
16
  },
18
17
  "repository": {
19
18
  "type": "git",
@@ -43,45 +42,56 @@
43
42
  "react-resizable": "^1.9.0"
44
43
  },
45
44
  "devDependencies": {
46
- "@babel/cli": "^7.6.4",
47
- "@babel/core": "^7.6.4",
48
- "@babel/plugin-proposal-class-properties": "^7.5.5",
49
- "@babel/plugin-transform-flow-comments": "^7.6.0",
50
- "@babel/preset-env": "^7.6.0",
51
- "@babel/preset-flow": "^7.0.0",
52
- "@babel/preset-react": "^7.0.0",
45
+ "@babel/cli": "^7.8.0",
46
+ "@babel/core": "^7.8.0",
47
+ "@babel/plugin-proposal-class-properties": "^7.8.0",
48
+ "@babel/plugin-transform-flow-comments": "^7.8.0",
49
+ "@babel/preset-env": "^7.8.2",
50
+ "@babel/preset-flow": "^7.8.0",
51
+ "@babel/preset-react": "^7.8.0",
52
+ "@babel/register": "^7.8.0",
53
53
  "babel-eslint": "^10.0.3",
54
- "babel-jest": "^24.9.0",
54
+ "babel-jest": "^25.1.0",
55
55
  "babel-loader": "^8.0.6",
56
- "babel-plugin-espower": "^3.0.1",
57
- "css-loader": "^3.2.0",
58
- "ejs": "^2.7.1",
59
- "eslint": "^6.4.0",
60
- "eslint-plugin-flowtype": "^4.3.0",
61
- "eslint-plugin-mocha": "^6.2.0",
62
- "eslint-plugin-react": "^7.14.3",
56
+ "babel-plugin-preval": "^4.0.0",
57
+ "css-loader": "^3.4.2",
58
+ "ejs": "^3.0.1",
59
+ "enzyme": "^3.11.0",
60
+ "enzyme-adapter-react-16": "^1.15.2",
61
+ "enzyme-to-json": "^3.4.4",
62
+ "eslint": "^6.8.0",
63
+ "eslint-plugin-flowtype": "^4.6.0",
64
+ "eslint-plugin-mocha": "^6.2.2",
65
+ "eslint-plugin-react": "^7.17.0",
63
66
  "exports-loader": "^0.7.0",
64
- "flow-bin": "^0.110.1",
67
+ "flow-bin": "^0.119.0",
65
68
  "husky": "^3.0.9",
66
69
  "imports-loader": "^0.8.0",
67
- "jest-cli": "^24.9.0",
68
- "lint-staged": "^9.2.5",
70
+ "jest": "^24.9.0",
71
+ "lint-staged": "^9.5.0",
69
72
  "lodash": "^4.17.5",
70
73
  "opener": "^1.4.3",
71
- "prettier": "^1.18.2",
72
- "react": "^16.11.0",
73
- "react-dom": "^16.11.0",
74
- "react-hot-loader": "^4.12.13",
74
+ "prettier": "^1.19.1",
75
+ "react": "^16.12.0",
76
+ "react-dom": "^16.12.0",
77
+ "react-hot-loader": "^4.12.18",
75
78
  "react-transform-hmr": "^1.0.2",
76
- "style-loader": "^1.0.0",
77
- "webpack": "^4.41.2",
78
- "webpack-cli": "^3.3.9",
79
- "webpack-dev-server": "^3.9.0"
79
+ "style-loader": "^1.1.2",
80
+ "timsort": "^0.3.0",
81
+ "webpack": "^4.41.5",
82
+ "webpack-cli": "^3.3.10",
83
+ "webpack-dev-server": "^3.10.1"
80
84
  },
81
85
  "publishConfig": {
82
86
  "registry": "https://registry.npmjs.org"
83
87
  },
84
88
  "jest": {
89
+ "setupFilesAfterEnv": [
90
+ "<rootDir>test/util/setupTests.js"
91
+ ],
92
+ "snapshotSerializers": [
93
+ "enzyme-to-json/serializer"
94
+ ],
85
95
  "testMatch": [
86
96
  "<rootDir>/test/spec/*.js"
87
97
  ],
@@ -92,5 +102,10 @@
92
102
  "prettier --write",
93
103
  "git add"
94
104
  ]
105
+ },
106
+ "husky": {
107
+ "hooks": {
108
+ "pre-commit": "lint-staged && make lint && make test"
109
+ }
95
110
  }
96
111
  }