Fix all the issues that came with switching to react scripts

master
Tom Hacohen 6 years ago
parent 3c05beef0b
commit e4de0605f9

@ -1,5 +1,5 @@
import * as sjcl from 'sjcl'; import * as sjcl from 'sjcl';
import * as NodeRSA from 'node-rsa'; import NodeRSA from 'node-rsa';
import * as Constants from './Constants'; import * as Constants from './Constants';
import { byte, base64 } from './Helpers'; import { byte, base64 } from './Helpers';

@ -1,9 +1,9 @@
import * as sjcl from 'sjcl'; import * as sjcl from 'sjcl';
import * as URI from 'urijs'; import URI from 'urijs';
import * as Constants from './Constants'; import * as Constants from './Constants';
import * as fetch from 'isomorphic-fetch'; import fetch from 'isomorphic-fetch';
import { byte, base64, stringToByteArray } from './Helpers'; import { byte, base64, stringToByteArray } from './Helpers';
import { CryptoManager, AsymmetricKeyPair, HMAC_SIZE_BYTES } from './Crypto'; import { CryptoManager, AsymmetricKeyPair, HMAC_SIZE_BYTES } from './Crypto';

@ -1,5 +1,5 @@
import * as React from 'react'; import * as React from 'react';
import * as moment from 'moment'; import moment from 'moment';
import { List, ListItem, ListDivider as Divider } from '../widgets/List'; import { List, ListItem, ListDivider as Divider } from '../widgets/List';
import IconHome from '@material-ui/icons/Home'; import IconHome from '@material-ui/icons/Home';

@ -1,5 +1,5 @@
import * as React from 'react'; import * as React from 'react';
import * as moment from 'moment'; import moment from 'moment';
import PimItemHeader from './PimItemHeader'; import PimItemHeader from './PimItemHeader';

@ -8,8 +8,8 @@ import promiseMiddleware from './promise-middleware';
import reducers from './reducers'; import reducers from './reducers';
import { CredentialsTypeRemote, JournalsType, EntriesType, UserInfoType } from './reducers'; import { CredentialsTypeRemote, JournalsType, EntriesType, UserInfoType } from './reducers';
export { CredentialsType, CredentialsData, JournalsType, JournalsData, // Workaround babel limitation
EntriesType, EntriesData, UserInfoType, UserInfoData } from './reducers'; export * from './reducers';
export interface StoreState { export interface StoreState {
fetchCount: number; fetchCount: number;

@ -1,7 +1,7 @@
import * as React from 'react'; import * as React from 'react';
import * as moment from 'moment'; import moment from 'moment';
import * as Datetime from 'react-datetime'; import Datetime from 'react-datetime';
import 'react-datetime/css/react-datetime.css'; import 'react-datetime/css/react-datetime.css';

Loading…
Cancel
Save