mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-24 23:48:17 +00:00
add flowtype support
This commit is contained in:
parent
bb22ca54f0
commit
8aeb10cf2c
@ -4,10 +4,12 @@
|
|||||||
.*/node_modules/hd-wallet/.*
|
.*/node_modules/hd-wallet/.*
|
||||||
.*/node_modules/protobufjs-old-fixed-webpack/src/bower.json
|
.*/node_modules/protobufjs-old-fixed-webpack/src/bower.json
|
||||||
.*/node_modules/trezor-link/lib/.*
|
.*/node_modules/trezor-link/lib/.*
|
||||||
|
.*/node_modules/rc-util/lib/.*
|
||||||
.*/_old/.*
|
.*/_old/.*
|
||||||
|
.*/src/solidity/.*
|
||||||
|
|
||||||
[libs]
|
[libs]
|
||||||
|
./src/js/flowtype/css.js
|
||||||
|
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"dev:library": "babel-node ./webpack/server.js --library",
|
"dev:library": "babel-node ./webpack/server.js --library",
|
||||||
"dev:connect": "babel-node ./webpack/server.js --connect",
|
"dev:connect": "babel-node ./webpack/server.js --connect",
|
||||||
"build": "rm -rf build && webpack --config ./webpack/webpack.config.prod.babel.js",
|
"build": "rm -rf build && webpack --config ./webpack/webpack.config.prod.babel.js",
|
||||||
"flow": "cd app/scripts && flow check",
|
"flow": "flow check src/js",
|
||||||
"test": ""
|
"test": ""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -64,6 +64,7 @@
|
|||||||
"express": "^4.15.3",
|
"express": "^4.15.3",
|
||||||
"extract-text-webpack-plugin": "^3.0.0",
|
"extract-text-webpack-plugin": "^3.0.0",
|
||||||
"file-loader": "^1.1.9",
|
"file-loader": "^1.1.9",
|
||||||
|
"flow-bin": "^0.69.0",
|
||||||
"html-webpack-plugin": "^2.29.0",
|
"html-webpack-plugin": "^2.29.0",
|
||||||
"json-loader": "^0.5.7",
|
"json-loader": "^0.5.7",
|
||||||
"less": "^3.0.1",
|
"less": "^3.0.1",
|
||||||
|
6
src/js/flowtype/css.js
Normal file
6
src/js/flowtype/css.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/* @flow */
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
declare module CSSModule {
|
||||||
|
declare var exports: { [key: string]: string };
|
||||||
|
}
|
@ -2122,6 +2122,10 @@ flatten@^1.0.2:
|
|||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
|
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
|
||||||
|
|
||||||
|
flow-bin@^0.69.0:
|
||||||
|
version "0.69.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.69.0.tgz#053159a684a6051fcbf0b71a2eb19a9679082da6"
|
||||||
|
|
||||||
flush-write-stream@^1.0.0:
|
flush-write-stream@^1.0.0:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.0.2.tgz#c81b90d8746766f1a609a46809946c45dd8ae417"
|
resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.0.2.tgz#c81b90d8746766f1a609a46809946c45dd8ae417"
|
||||||
|
Loading…
Reference in New Issue
Block a user