change versions of npm packages for adding to poa-test-setup as npm package

This commit is contained in:
Victor Baranov 2018-12-18 16:02:56 +03:00
parent b9db941c1e
commit 952e58e308
5 changed files with 5060 additions and 7216 deletions

12194
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,7 @@
"ajv": "6.5.2",
"autoprefixer": "7.1.6",
"babel-core": "6.26.3",
"babel-eslint": "^7.2.3",
"babel-jest": "23.2.0",
"babel-loader": "7.1.4",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
@ -20,10 +21,16 @@
"chalk": "2.4.1",
"css-loader": "0.28.11",
"dotenv": "4.0.0",
"eslint": "^4.1.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-react-app": "^2.1.0",
"eslint-loader": "1.9.0",
"eslint-plugin-dependencies": "^2.4.0",
"eslint-plugin-flowtype": "^2.34.1",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.1.0",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "1.1.5",
"fs-extra": "3.0.1",
@ -106,50 +113,5 @@
"jsx",
"node"
]
},
"babel": {
"presets": [
"react-app"
]
},
"eslintConfig": {
"extends": [
"react-app",
"plugin:prettier/recommended"
],
"plugins": [
"dependencies"
],
"rules": {
"no-control-regex": 0,
"dependencies/no-cycles": "error",
"dependencies/no-unresolved": [
"error",
{
"ignore": [
"web3"
]
}
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx"
]
}
}
}
},
"devDependencies": {
"babel-eslint": "^7.2.3",
"eslint": "^4.10.0",
"eslint-config-react-app": "^2.1.0",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.7.0"
}
}

View File

@ -110,7 +110,8 @@ export class BallotEmissionFundsMetadata extends React.Component {
Current balance of 
<a href={explorerLink} target="_blank">
EmissionFunds contract
</a>.
</a>
.
</p>
</div>
</div>

View File

@ -31,7 +31,9 @@ export class BallotKeysMetadata extends React.Component {
onChange={e => ballotStore.changeBallotMetadata(e, 'newVotingKey', 'ballotKeys')}
/>
<p className="hint">
Voting key address of new validator.<br />Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
Voting key address of new validator.
<br />
Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
</p>
</div>
</div>
@ -45,7 +47,9 @@ export class BallotKeysMetadata extends React.Component {
onChange={e => ballotStore.changeBallotMetadata(e, 'newPayoutKey', 'ballotKeys')}
/>
<p className="hint">
Payout key address of new validator.<br />Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
Payout key address of new validator.
<br />
Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
</p>
</div>
</div>
@ -68,7 +72,8 @@ export class BallotKeysMetadata extends React.Component {
{ballotStore.isNewValidatorPersonalData
? 'Mining key address of new validator.'
: 'Affected key address of validator to vote for.'}
<br />Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
<br />
Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
</p>
</div>
</div>
@ -84,7 +89,9 @@ export class BallotKeysMetadata extends React.Component {
disabled={ballotStore.isNewValidatorPersonalData}
/>
<p className="hint">
Mining key address of validator to vote for.<br />Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
Mining key address of validator to vote for.
<br />
Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
</p>
</div>
</div>

View File

@ -444,16 +444,20 @@ export class NewBallot extends React.Component {
<p className="info-title">Limits of the ballot</p>
<div className="info-i">
Minimum {minThreshold} from {contractsStore.validatorsLength} validators are required to pass the&nbsp;
proposal<br />
proposal
<br />
</div>
<div className="info-i">
You can create {contractsStore.validatorLimits.keys} ballot(s) for keys<br />
You can create {contractsStore.validatorLimits.keys} ballot(s) for keys
<br />
</div>
<div className="info-i">
You can create {contractsStore.validatorLimits.minThreshold} ballot(s) for consensus<br />
You can create {contractsStore.validatorLimits.minThreshold} ballot(s) for consensus
<br />
</div>
<div className="info-i">
You can create {contractsStore.validatorLimits.proxy} ballot(s) for proxy<br />
You can create {contractsStore.validatorLimits.proxy} ballot(s) for proxy
<br />
</div>
</div>
</div>