Pull flow-typed from @polkadot/dev (#20)

* Pull flow-typed from @polkadot/dev

* Update @polkadot/dev
This commit is contained in:
Jaco Greeff
2017-11-26 13:30:39 +01:00
committed by GitHub
parent cdb89619b6
commit d2fa4735fd
8 changed files with 9 additions and 63 deletions
+1
View File
@@ -2,6 +2,7 @@
.*/build/.*
[include]
./node_modules/@polkadot/dev/flow-typed
[libs]
+1 -1
View File
@@ -7,7 +7,7 @@ tmp/
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
package-lock.json
npm-debug.log*
yarn-debug.log*
yarn-error.log*
-22
View File
@@ -1,22 +0,0 @@
coverage
docs
scripts
src
test
tmp
.babelrc
.coveralls.yml
.editorconfig
.eslintrc.json
.flowconfig
.gitignore
.istanbul.yml
.travis.yml
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
+3
View File
@@ -0,0 +1,3 @@
{
"extends": "@polkadot/dev/.stylelintrc.json"
}
-24
View File
@@ -1,24 +0,0 @@
// GPLv3, Copyright (C) 2017, theBlock, https://theblock.io
// @flow
declare module 'bn.js' {
declare class BN {
constructor (value?: any, base: ?number): BN;
add (value?: BN): BN;
div (value?: BN): BN;
divRound (value?: BN): BN;
eq (value: BN): boolean;
gt (value: BN): boolean;
isZero (): boolean;
lt (value: BN): boolean;
mul (value?: BN): BN;
sub (value?: BN): BN;
toNumber (): number;
toString (base?: number, padding?: number): string;
static isBN (value?: any): boolean;
}
declare module.exports: typeof BN;
}
-12
View File
@@ -1,12 +0,0 @@
// ISC, Copyright 2017 Jaco Greeff
// @flow
type KeccakType = 'keccak256';
declare module 'keccak' {
declare module.exports: (type: KeccakType) => {
update: (value: Buffer | string) => {
digest: () => Buffer;
}
};
}
+1 -1
View File
@@ -29,7 +29,7 @@
"test": "jest --coverage src"
},
"devDependencies": {
"@polkadot/dev": "^0.3.4",
"@polkadot/dev": "^0.6.3",
"@polkadot/jsonrpc": "^0.3.9"
},
"dependencies": {
+3 -3
View File
@@ -54,9 +54,9 @@
lodash "^4.2.0"
to-fast-properties "^2.0.0"
"@polkadot/dev@^0.3.4":
version "0.3.4"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.3.4.tgz#bb933a6f075e12abbd6a567d273865781ee383b8"
"@polkadot/dev@^0.6.3":
version "0.6.3"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.6.3.tgz#aa13c9e14b76c4bd6ab02c5e38875f6eb3c7db2f"
dependencies:
babel-cli "^6.26.0"
babel-core "^6.26.0"