mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-25 06:30:00 +05:30
#22: bump some more deps
This commit is contained in:
parent
e4a25d1f79
commit
d7bd937b01
@ -22,6 +22,12 @@
|
||||
"plugin:flowtype/recommended"
|
||||
],
|
||||
|
||||
"settings": {
|
||||
"react": {
|
||||
"version": "detect"
|
||||
}
|
||||
},
|
||||
|
||||
// @see: http://eslint.org/docs/rules/
|
||||
"rules": {
|
||||
// possible errors (including eslint:recommended)
|
||||
|
33
package.json
33
package.json
@ -26,37 +26,37 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-polyfill": "^6.3.14",
|
||||
"classnames": "^2.1.3",
|
||||
"classnames": "^2.2.6",
|
||||
"copy-to-clipboard": "^3.0.8",
|
||||
"debounce": "^1.0.0",
|
||||
"flag-icon-css": "^2.8.0",
|
||||
"intl": "^1.2.2",
|
||||
"intl-format-cache": "^2.0.4",
|
||||
"intl-messageformat": "^2.1.0",
|
||||
"promise.prototype.finally": "3.0.1",
|
||||
"prop-types": "^15.6.0",
|
||||
"raf": "^3.4.0",
|
||||
"raven-js": "^3.8.1",
|
||||
"react": "^15.0.0",
|
||||
"react-dom": "^15.0.0",
|
||||
"promise.prototype.finally": "3.1.0",
|
||||
"prop-types": "^15.6.2",
|
||||
"raf": "^3.4.1",
|
||||
"raven-js": "^3.27.0",
|
||||
"react": "^16.7.0",
|
||||
"react-dom": "^16.7.0",
|
||||
"react-helmet": "^5.0.0",
|
||||
"react-intl": "^2.0.0",
|
||||
"react-intl": "^2.7.2",
|
||||
"react-motion": "^0.5.0",
|
||||
"react-redux": "^5.0.6",
|
||||
"react-router-dom": "^4.1.1",
|
||||
"react-router-dom": "^4.3.1",
|
||||
"react-textarea-autosize": "^6.0.0",
|
||||
"react-transition-group": "^1.1.3",
|
||||
"redux": "^3.0.4",
|
||||
"redux-localstorage": "^0.4.1",
|
||||
"redux-thunk": "^2.0.0",
|
||||
"url-search-params-polyfill": "^2.0.0",
|
||||
"url-search-params-polyfill": "^5.0.0",
|
||||
"webfontloader": "^1.6.26",
|
||||
"whatwg-fetch": "^2.0.0"
|
||||
"whatwg-fetch": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.18.0",
|
||||
"babel-core": "^6.0.0",
|
||||
"babel-eslint": "^7.0.0",
|
||||
"babel-eslint": "^9.0.0",
|
||||
"babel-loader": "^6.0.0",
|
||||
"babel-plugin-react-intl": "^2.0.0",
|
||||
"babel-plugin-transform-function-bind": "^6.0.0",
|
||||
@ -73,7 +73,8 @@
|
||||
"check-node-version": "^2.1.0",
|
||||
"csp-webpack-plugin": "^1.0.2",
|
||||
"css-loader": "^0.28.0",
|
||||
"enzyme": "^2.2.0",
|
||||
"enzyme": "^3.8.0",
|
||||
"enzyme-adapter-react-16": "^1.7.1",
|
||||
"eslint": "^4.0.0",
|
||||
"eslint-plugin-flowtype": "^2.46.3",
|
||||
"eslint-plugin-react": "^7.3.0",
|
||||
@ -96,15 +97,13 @@
|
||||
"karma-webpack": "^2.0.0",
|
||||
"loader-utils": "^1.0.0",
|
||||
"mocha": "^3.0.2",
|
||||
"node-sass": "^4.0.0",
|
||||
"node-sass": "4.7.2",
|
||||
"postcss-import": "^9.0.0",
|
||||
"postcss-loader": "^1.2.0",
|
||||
"postcss-scss": "^0.4.0",
|
||||
"postcss-url": "SleepWalker/postcss-url#switch-to-async-api",
|
||||
"raw-loader": "^0.5.1",
|
||||
"react-addons-perf": "^15.3.0",
|
||||
"react-addons-test-utils": "^15.0.2",
|
||||
"react-test-renderer": "^15.5.4",
|
||||
"react-test-renderer": "^16.7.0",
|
||||
"sass-loader": "^4.0.0",
|
||||
"scripts": "file:./scripts",
|
||||
"sinon": "^3.2.1",
|
||||
|
@ -148,9 +148,9 @@ describe('ContactForm', () => {
|
||||
</IntlProvider>
|
||||
);
|
||||
|
||||
wrapper.find('[name="email"]').node.value = requestData.email;
|
||||
wrapper.find('[name="subject"]').node.value = requestData.subject;
|
||||
wrapper.find('[name="message"]').node.value = requestData.message;
|
||||
wrapper.find('input[name="email"]').getDOMNode().value = requestData.email;
|
||||
wrapper.find('input[name="subject"]').getDOMNode().value = requestData.subject;
|
||||
wrapper.find('textarea[name="message"]').getDOMNode().value = requestData.message;
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
|
@ -14,7 +14,7 @@ describe('Input', () => {
|
||||
</IntlProvider>
|
||||
);
|
||||
|
||||
expect(wrapper.find('input[name="test"]').node.value, 'to equal', 'foo');
|
||||
expect(wrapper.find('input[name="test"]').getDOMNode().value, 'to equal', 'foo');
|
||||
expect(component.getValue(), 'to equal', 'foo');
|
||||
});
|
||||
});
|
||||
|
@ -93,7 +93,4 @@ if (process.env.NODE_ENV !== 'production') {
|
||||
window.testOAuthPromptAll = () => location.href = '/oauth2/v1/ely?client_id=ely&redirect_uri=http%3A%2F%2Fely.by%2Fauthorization%2Foauth&response_type=code&scope=account_info%2Caccount_email&prompt=select_account,consent';
|
||||
window.testOAuthStatic = () => location.href = '/oauth2/v1/ely?client_id=ely&redirect_uri=static_page_with_code&response_type=code&scope=account_info%2Caccount_email';
|
||||
window.testOAuthStaticCode = () => location.href = '/oauth2/v1/ely?client_id=ely&redirect_uri=static_page&response_type=code&scope=account_info%2Caccount_email';
|
||||
|
||||
// expose Perf
|
||||
window.Perf = require('react-addons-perf');
|
||||
}
|
||||
|
@ -1,7 +1,10 @@
|
||||
import 'polyfills';
|
||||
|
||||
import { configure } from 'enzyme';
|
||||
import Adapter from 'enzyme-adapter-react-16';
|
||||
import expect from 'unexpected';
|
||||
|
||||
expect.use(require('unexpected-sinon'));
|
||||
configure({ adapter: new Adapter() });
|
||||
|
||||
if (!window.localStorage) {
|
||||
window.localStorage = {
|
||||
|
@ -21,7 +21,6 @@ const webpackConfig = {
|
||||
entry: {
|
||||
vendor: vendor.concat([
|
||||
'core-js/library',
|
||||
'react-addons-perf',
|
||||
'redux-devtools',
|
||||
'redux-devtools-dock-monitor',
|
||||
'redux-devtools-log-monitor',
|
||||
|
Loading…
Reference in New Issue
Block a user