change versions of npm packages for adding to poa-test-setup as npm package
This commit is contained in:
parent
b9db941c1e
commit
952e58e308
File diff suppressed because it is too large
Load Diff
52
package.json
52
package.json
|
@ -7,6 +7,7 @@
|
||||||
"ajv": "6.5.2",
|
"ajv": "6.5.2",
|
||||||
"autoprefixer": "7.1.6",
|
"autoprefixer": "7.1.6",
|
||||||
"babel-core": "6.26.3",
|
"babel-core": "6.26.3",
|
||||||
|
"babel-eslint": "^7.2.3",
|
||||||
"babel-jest": "23.2.0",
|
"babel-jest": "23.2.0",
|
||||||
"babel-loader": "7.1.4",
|
"babel-loader": "7.1.4",
|
||||||
"babel-plugin-transform-decorators-legacy": "^1.3.5",
|
"babel-plugin-transform-decorators-legacy": "^1.3.5",
|
||||||
|
@ -20,10 +21,16 @@
|
||||||
"chalk": "2.4.1",
|
"chalk": "2.4.1",
|
||||||
"css-loader": "0.28.11",
|
"css-loader": "0.28.11",
|
||||||
"dotenv": "4.0.0",
|
"dotenv": "4.0.0",
|
||||||
|
"eslint": "^4.1.1",
|
||||||
"eslint-config-prettier": "^2.9.0",
|
"eslint-config-prettier": "^2.9.0",
|
||||||
|
"eslint-config-react-app": "^2.1.0",
|
||||||
"eslint-loader": "1.9.0",
|
"eslint-loader": "1.9.0",
|
||||||
"eslint-plugin-dependencies": "^2.4.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-prettier": "^2.6.2",
|
||||||
|
"eslint-plugin-react": "^7.1.0",
|
||||||
"extract-text-webpack-plugin": "3.0.2",
|
"extract-text-webpack-plugin": "3.0.2",
|
||||||
"file-loader": "1.1.5",
|
"file-loader": "1.1.5",
|
||||||
"fs-extra": "3.0.1",
|
"fs-extra": "3.0.1",
|
||||||
|
@ -106,50 +113,5 @@
|
||||||
"jsx",
|
"jsx",
|
||||||
"node"
|
"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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,7 +110,8 @@ export class BallotEmissionFundsMetadata extends React.Component {
|
||||||
Current balance of
|
Current balance of
|
||||||
<a href={explorerLink} target="_blank">
|
<a href={explorerLink} target="_blank">
|
||||||
EmissionFunds contract
|
EmissionFunds contract
|
||||||
</a>.
|
</a>
|
||||||
|
.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -31,7 +31,9 @@ export class BallotKeysMetadata extends React.Component {
|
||||||
onChange={e => ballotStore.changeBallotMetadata(e, 'newVotingKey', 'ballotKeys')}
|
onChange={e => ballotStore.changeBallotMetadata(e, 'newVotingKey', 'ballotKeys')}
|
||||||
/>
|
/>
|
||||||
<p className="hint">
|
<p className="hint">
|
||||||
Voting key address of new validator.<br />Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
|
Voting key address of new validator.
|
||||||
|
<br />
|
||||||
|
Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -45,7 +47,9 @@ export class BallotKeysMetadata extends React.Component {
|
||||||
onChange={e => ballotStore.changeBallotMetadata(e, 'newPayoutKey', 'ballotKeys')}
|
onChange={e => ballotStore.changeBallotMetadata(e, 'newPayoutKey', 'ballotKeys')}
|
||||||
/>
|
/>
|
||||||
<p className="hint">
|
<p className="hint">
|
||||||
Payout key address of new validator.<br />Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
|
Payout key address of new validator.
|
||||||
|
<br />
|
||||||
|
Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -68,7 +72,8 @@ export class BallotKeysMetadata extends React.Component {
|
||||||
{ballotStore.isNewValidatorPersonalData
|
{ballotStore.isNewValidatorPersonalData
|
||||||
? 'Mining key address of new validator.'
|
? 'Mining key address of new validator.'
|
||||||
: 'Affected key address of validator to vote for.'}
|
: 'Affected key address of validator to vote for.'}
|
||||||
<br />Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
|
<br />
|
||||||
|
Example: 0xc70760D23557A4FDE612C0bE63b26EBD023C51Ee.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -84,7 +89,9 @@ export class BallotKeysMetadata extends React.Component {
|
||||||
disabled={ballotStore.isNewValidatorPersonalData}
|
disabled={ballotStore.isNewValidatorPersonalData}
|
||||||
/>
|
/>
|
||||||
<p className="hint">
|
<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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -444,16 +444,20 @@ export class NewBallot extends React.Component {
|
||||||
<p className="info-title">Limits of the ballot</p>
|
<p className="info-title">Limits of the ballot</p>
|
||||||
<div className="info-i">
|
<div className="info-i">
|
||||||
Minimum {minThreshold} from {contractsStore.validatorsLength} validators are required to pass the
|
Minimum {minThreshold} from {contractsStore.validatorsLength} validators are required to pass the
|
||||||
proposal<br />
|
proposal
|
||||||
|
<br />
|
||||||
</div>
|
</div>
|
||||||
<div className="info-i">
|
<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>
|
||||||
<div className="info-i">
|
<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>
|
||||||
<div className="info-i">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue