1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 02:38:18 +00:00

Removed /js folder

This commit is contained in:
Vladimir Volek 2018-08-27 17:15:22 +02:00
parent 84f61b20c0
commit 424be08e7c
153 changed files with 11 additions and 40 deletions

View File

@ -16,18 +16,7 @@
"regenerator": true
}],
["module-resolver", {
"root": ["./src"],
"alias": {
"config": "./src/js/config",
"constants": "./src/js/constants",
"components": "./src/js/components",
"actions": "./src/js/actions",
"reducers": "./src/js/reducers",
"support": "./src/js/support",
"utils": "./src/js/utils",
"services": "./src/js/services",
"views": "./src/js/views"
}
"root": ["./src"]
}],
"babel-plugin-styled-components"
],

View File

@ -31,13 +31,4 @@ esproposal.decorators=ignore
module.name_mapper='.*\(.less\)' -> 'CSSModule'
module.name_mapper='^\(~/\)' -> '<PROJECT_ROOT>/src/'
module.name_mapper='^universal' -> '<PROJECT_ROOT>/src/'
module.name_mapper='^config' -> '<PROJECT_ROOT>/src/js/config'
module.name_mapper='^constants' -> '<PROJECT_ROOT>/src/js/constants'
module.name_mapper='^components' -> '<PROJECT_ROOT>/src/js/components'
module.name_mapper='^actions' -> '<PROJECT_ROOT>/src/js/actions'
module.name_mapper='^reducers' -> '<PROJECT_ROOT>/src/js/reducers'
module.name_mapper='^support' -> '<PROJECT_ROOT>/src/js/support'
module.name_mapper='^utils' -> '<PROJECT_ROOT>/src/js/utils'
module.name_mapper='^services' -> '<PROJECT_ROOT>/src/js/services'
module.name_mapper='^views' -> '<PROJECT_ROOT>/src/js/views'
module.system=haste

View File

@ -7,6 +7,6 @@ module.exports = {
'node_modules',
],
collectCoverageFrom: [
'js/utils/**.js',
'utils/**.js',
],
};

View File

@ -2,16 +2,7 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": ["src/*"],
"components/*": ["./src/js/components/*"],
"config/*": ["./src/js/config/*"],
"constants/*": ["./src/js/constants/*"],
"support/*": ["./src/js/support/*"],
"actions/*": ["./src/js/actions/*"],
"reducers/*": ["./src/js/reducers/*"],
"utils/*": ["./src/js/utils/*"],
"services/*": ["./src/js/services/*"],
"views/*": ["./src/js/views/*"],
"*": ["src/*"]
}
}
}

View File

@ -18,10 +18,10 @@
"dev": "webpack-dev-server --config ./webpack/config.dev.babel.js --mode development",
"dev:local": "webpack-dev-server --config ./webpack/config.dev.local.babel.js --mode development",
"build": "rm -rf build && webpack --config ./webpack/config.prod.babel.js --progress",
"flow": "flow check src/js",
"flow": "flow check src",
"lint": "run-s lint:*",
"lint:js": "eslint ./src/js ./webpack",
"lint:css": "stylelint './src/js/**/*.js'",
"lint:js": "eslint ./src ./webpack",
"lint:css": "stylelint './src/**/*.js'",
"test": "run-s test:*",
"test:unit": "jest",
"test-unit:watch": "jest -o --watch"

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Some files were not shown because too many files have changed in this diff Show More