react-css-collapse
Advanced tools
Comparing version 4.0.2 to 4.0.3
# Changelog | ||
# 4.0.3 | ||
> January 8, 2020 | ||
* :tada: **Enhancement** Rewrite tests to use jest snapshots and @testing-library/react | ||
# 4.0.2 | ||
@@ -4,0 +8,0 @@ > January 2, 2020 |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -14,10 +16,8 @@ value: true | ||
var _Collapse = _interopRequireDefault(require("./components/Collapse")); | ||
var _Collapse = _interopRequireDefault(require("./Collapse")); | ||
var _useCollapse = _interopRequireDefault(require("./components/useCollapse")); | ||
var _useCollapse = _interopRequireDefault(require("./useCollapse")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var _default = _Collapse.default; | ||
exports.default = _default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "react-css-collapse", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Component-wrapper for collapse animation with css for elements with variable and dynamic height", | ||
@@ -39,7 +39,7 @@ "author": { | ||
"scripts": { | ||
"test": "jest", | ||
"test": "jest src", | ||
"test:watch": "npm run test -- --watch", | ||
"babel": "babel -d lib src --ignore spec.js --source-maps", | ||
"babel": "npm run clean && cross-env NODE_ENV=production npx babel -d lib src/components --ignore **/*.test.jsx --source-maps", | ||
"clean": "rm -rf lib", | ||
"build": "npm test && npm run eslint && npm run clean && npm run babel", | ||
"build": "npm test && npm run eslint && npm run babel", | ||
"eslint": "npx eslint src --ext .js --ext .jsx", | ||
@@ -60,2 +60,3 @@ "format": "prettier --write \"src/**/*.js\" \"src/**/*.jsx\"", | ||
"@babel/core": "^7.7.7", | ||
"@babel/plugin-transform-runtime": "^7.7.6", | ||
"@babel/preset-env": "^7.7.7", | ||
@@ -66,2 +67,4 @@ "@babel/preset-react": "^7.7.4", | ||
"@storybook/react": "^5.2.8", | ||
"@testing-library/jest-dom": "^4.2.4", | ||
"@testing-library/react": "^9.4.0", | ||
"acorn": "^7.1.0", | ||
@@ -71,4 +74,4 @@ "babel-eslint": "^10.0.3", | ||
"babel-loader": "^8.0.6", | ||
"enzyme": "^3.11.0", | ||
"enzyme-adapter-react-16": "^1.15.2", | ||
"babel-preset-react-app": "^9.1.0", | ||
"cross-env": "^6.0.3", | ||
"eslint": "^6.8.0", | ||
@@ -78,3 +81,3 @@ "eslint-config-airbnb": "^18.0.1", | ||
"eslint-plugin-import": "^2.19.1", | ||
"eslint-plugin-jest": "^23.2.0", | ||
"eslint-plugin-jest": "^23.3.0", | ||
"eslint-plugin-jsx-a11y": "^6.1.1", | ||
@@ -84,3 +87,2 @@ "eslint-plugin-prettier": "^3.1.2", | ||
"eslint-plugin-react-hooks": "^2.3.0", | ||
"fake-raf": "^1.0.1", | ||
"jest": "^24.9.0", | ||
@@ -117,2 +119,5 @@ "prettier": "^1.19.1", | ||
"@babel/preset-env" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-transform-runtime" | ||
] | ||
@@ -124,5 +129,2 @@ }, | ||
}, | ||
"setupFilesAfterEnv": [ | ||
"<rootDir>/setup.js" | ||
], | ||
"testURL": "http://localhost/", | ||
@@ -129,0 +131,0 @@ "collectCoverageFrom": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26938
30
12
163