react-user-guide
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,3 +0,3 @@ | ||
import React, { Component, Fragment } from 'react'; | ||
import debounce from 'lodash.debounce'; | ||
import React, { Fragment, Component } from 'react'; | ||
import { debounce } from 'lodash'; | ||
import PropTypes from 'prop-types'; | ||
@@ -4,0 +4,0 @@ |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var React__default = _interopDefault(React); | ||
var debounce = _interopDefault(require('lodash.debounce')); | ||
var lodash = require('lodash'); | ||
var PropTypes = _interopDefault(require('prop-types')); | ||
@@ -141,3 +141,3 @@ | ||
_this.debouncedApplyStyleToCurrentNode = debounce(_this.applyStyleToCurrentNode.bind(_this), 10); | ||
_this.debouncedApplyStyleToCurrentNode = lodash.debounce(_this.applyStyleToCurrentNode.bind(_this), 10); | ||
_this.mask = createElement('div', 'userGuide--mask ' + styles.userGuideMask); | ||
@@ -144,0 +144,0 @@ return _this; |
{ | ||
"name": "react-user-guide", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "React User Guide", | ||
@@ -23,3 +23,2 @@ "author": "sandeshshrestha", | ||
"scsswatch": "scss -w src/custom-style.scss:dist/custom-style.css", | ||
"prepare": "yarn build", | ||
"predeploy": "cd example && yarn install && yarn build", | ||
@@ -29,3 +28,3 @@ "deploy": "gh-pages -d example/build" | ||
"peerDependencies": { | ||
"lodash.debounce": "^4.0.8", | ||
"lodash": "^4.17.15", | ||
"prop-types": "^15.5.4", | ||
@@ -36,5 +35,5 @@ "react": "^15.0.0 || ^16.0.0", | ||
"devDependencies": { | ||
"@svgr/rollup": "^2.4.1", | ||
"@svgr/rollup": "^4.3.2", | ||
"babel-core": "^6.26.3", | ||
"babel-eslint": "^10.0.1", | ||
"babel-eslint": "10.0.2", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
@@ -44,23 +43,23 @@ "babel-preset-env": "^1.7.0", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"cross-env": "^5.1.4", | ||
"eslint": "^5.16.0", | ||
"eslint-config-airbnb-base": "^13.1.0", | ||
"cross-env": "^5.2.1", | ||
"eslint": "^6.3.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-config-react": "^1.1.7", | ||
"eslint-plugin-import": "^2.17.2", | ||
"eslint-plugin-react": "^7.12.4", | ||
"eslint-watch": "^5.0.1", | ||
"gh-pages": "^1.2.0", | ||
"lodash.debounce": "^4.0.8", | ||
"node-sass": "^4.11.0", | ||
"react": "^16.4.1", | ||
"react-dom": "^16.4.1", | ||
"react-scripts": "^1.1.4", | ||
"rollup": "^0.64.1", | ||
"rollup-plugin-babel": "^3.0.7", | ||
"rollup-plugin-commonjs": "^9.1.3", | ||
"rollup-plugin-node-resolve": "^3.3.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-react": "^7.14.3", | ||
"eslint-watch": "^6.0.0", | ||
"gh-pages": "^2.1.1", | ||
"lodash": "^4.17.15", | ||
"node-sass": "^4.12.0", | ||
"react": "^16.9.0", | ||
"react-dom": "^16.9.0", | ||
"react-scripts": "^3.1.1", | ||
"rollup": "^1.20.3", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.0", | ||
"rollup-plugin-postcss": "^1.6.2", | ||
"rollup-plugin-scss": "^1.0.1", | ||
"rollup-plugin-url": "^1.4.0" | ||
"rollup-plugin-postcss": "^2.0.3", | ||
"rollup-plugin-scss": "^1.0.2", | ||
"rollup-plugin-url": "^2.2.2" | ||
}, | ||
@@ -67,0 +66,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
77047
10