Commit 80364013 authored by Jure's avatar Jure
Browse files

Merge branch 'update-dependencies' into 'master'

chore: update dependencies

See merge request pubsweet/pubsweet-starter!39
parents 32ab46ba 29e47277
......@@ -16,7 +16,7 @@ const rootEl = document.getElementById('root')
ReactDOM.render(
<AppContainer>
<Root history={history} routes={routes} store={store} />
<Root history={history} routes={routes} store={store} theme={{}} />
</AppContainer>,
rootEl,
)
......
......@@ -5,33 +5,32 @@
"files": ["app", "config", "static", "webpack"],
"main": "app.js",
"dependencies": {
"@pubsweet/db-manager": "^0.0.14",
"@pubsweet/logger": "^0.2.0",
"@pubsweet/ui": "^0.2.2",
"@pubsweet/db-manager": "^0.0.16",
"@pubsweet/logger": "^0.2.1",
"@pubsweet/ui": "^2.0.0",
"authsome": "^0.0.9",
"pubsweet": "^1.1.6",
"pubsweet-client": "^1.1.3",
"pubsweet-component-blog": "^0.3.1",
"pubsweet-component-form-group": "0.1.8",
"pubsweet": "^1.1.8",
"pubsweet-client": "^2.1.0",
"pubsweet-component-blog": "^1.0.0",
"pubsweet-component-form-group": "1.0.0",
"pubsweet-component-html": "^0.2.0",
"pubsweet-component-login": "^0.5.2",
"pubsweet-component-login": "^1.0.1",
"pubsweet-component-manage": "^0.2.2",
"pubsweet-component-medium-draft": "^0.2.0",
"pubsweet-component-navigation": "^0.3.2",
"pubsweet-component-navigation": "^1.0.0",
"pubsweet-component-password-reset-backend": "^0.2.0",
"pubsweet-component-password-reset-frontend": "^0.2.0",
"pubsweet-component-password-reset-frontend": "^1.0.0",
"pubsweet-component-pepper-theme": "^0.0.5",
"pubsweet-component-posts-manager": "0.6.8",
"pubsweet-component-signup": "^0.4.0",
"pubsweet-component-teams-manager": "^0.3.0",
"pubsweet-component-users-manager": "^0.2.1",
"pubsweet-server": "^1.0.6",
"pubsweet-component-posts-manager": "1.0.0",
"pubsweet-component-signup": "^1.0.0",
"pubsweet-component-teams-manager": "^1.0.0",
"pubsweet-component-users-manager": "^1.0.0",
"pubsweet-server": "^1.1.0",
"pubsweet-theme-plugin": "^0.0.3",
"react-router-redux": "next"
},
"devDependencies": {
"app-module-path": "^2.2.0",
"autobind-decorator": "^1.3.4",
"babel-core": "^6.14.0",
"babel-eslint": "^8.2.1",
"babel-loader": "^7.0.0",
......@@ -43,43 +42,42 @@
"babel-preset-react": "^6.11.1",
"babel-preset-stage-2": "^6.13.0",
"bootstrap-sass": "^3.3.7",
"compression-webpack-plugin": "^0.3.1",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.28.1",
"eslint": "^4.7.1",
"compression-webpack-plugin": "^1.1.6",
"copy-webpack-plugin": "^4.4.1",
"css-loader": "^0.28.9",
"eslint": "^4.17.0",
"eslint-config-pubsweet": "^0.0.6",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.4.2",
"eslint-plugin-jest": "^21.9.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-node": "^6.0.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-react": "^7.6.1",
"eslint-plugin-standard": "^3.0.1",
"extract-text-webpack-plugin": "^2.0.0-beta.4",
"extract-text-webpack-plugin": "^3.0.2",
"faker": "^4.1.0",
"file-loader": "^0.11.1",
"fs-extra": "^4.0.2",
"file-loader": "^1.1.6",
"fs-extra": "^5.0.0",
"html-webpack-plugin": "^2.24.0",
"husky": "^0.14.3",
"joi-browser": "^13.0.1",
"json-loader": "^0.5.4",
"lint-staged": "^6.0.0",
"lint-staged": "^6.1.0",
"node-sass": "^4.5.2",
"pouchdb-adapter-memory": "^6.1.1",
"prettier": "^1.9.2",
"pouchdb-adapter-memory": "^6.4.3",
"prettier": "^1.10.2",
"react-hot-loader": "^3.0.0-beta.6",
"regenerator-runtime": "^0.11.0",
"sass-loader": "^6.0.3",
"script-loader": "^0.7.0",
"smtp-server": "^3.3.0",
"string-replace-loader": "^1.2.0",
"style-loader": "^0.17.0",
"testcafe": "^0.18.2",
"testcafe-react-selectors": "^1.0.1",
"url-loader": "^0.5.8",
"webpack": "^3.8.1",
"webpack-dev-middleware": "^1.12.0",
"style-loader": "^0.20.1",
"testcafe": "^0.18.6",
"testcafe-react-selectors": "^1.0.5",
"url-loader": "^0.6.2",
"webpack": "^3.11.0",
"webpack-hot-middleware": "^2.20.0"
},
"scripts": {
......
......@@ -11,7 +11,7 @@ const login = {
signUp: ReactSelector('Login Link').nth(0),
resetPassword: ReactSelector('Login Link').nth(1),
alert: Selector('.alert'),
alert: Selector(() => document.querySelector('form').previousSibling),
doLogin: (username, password) =>
t
......
import config from 'config'
import { Selector } from 'testcafe'
import ReactSelector from 'testcafe-react-selectors'
const signup = {
url: `${config.get('pubsweet-server.baseUrl')}/signup`,
title: ReactSelector('Signup').find('h1'),
title: Selector('div[class^=Signup-local_title]'),
username: Selector('form input[type=text]').nth(0),
email: Selector('form input[type=text]').nth(1),
username: Selector('form input[type=text]'),
email: Selector('form input[type=email]'),
password: Selector('form input[type=password]'),
submit: Selector('form button'),
login: Selector('form a'),
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment