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:
parent
84f61b20c0
commit
424be08e7c
13
.babelrc
13
.babelrc
@ -16,18 +16,7 @@
|
|||||||
"regenerator": true
|
"regenerator": true
|
||||||
}],
|
}],
|
||||||
["module-resolver", {
|
["module-resolver", {
|
||||||
"root": ["./src"],
|
"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"
|
|
||||||
}
|
|
||||||
}],
|
}],
|
||||||
"babel-plugin-styled-components"
|
"babel-plugin-styled-components"
|
||||||
],
|
],
|
||||||
|
@ -31,13 +31,4 @@ esproposal.decorators=ignore
|
|||||||
module.name_mapper='.*\(.less\)' -> 'CSSModule'
|
module.name_mapper='.*\(.less\)' -> 'CSSModule'
|
||||||
module.name_mapper='^\(~/\)' -> '<PROJECT_ROOT>/src/'
|
module.name_mapper='^\(~/\)' -> '<PROJECT_ROOT>/src/'
|
||||||
module.name_mapper='^universal' -> '<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
|
module.system=haste
|
||||||
|
@ -7,6 +7,6 @@ module.exports = {
|
|||||||
'node_modules',
|
'node_modules',
|
||||||
],
|
],
|
||||||
collectCoverageFrom: [
|
collectCoverageFrom: [
|
||||||
'js/utils/**.js',
|
'utils/**.js',
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
@ -2,16 +2,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"*": ["src/*"],
|
"*": ["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/*"],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -18,10 +18,10 @@
|
|||||||
"dev": "webpack-dev-server --config ./webpack/config.dev.babel.js --mode development",
|
"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",
|
"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",
|
"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": "run-s lint:*",
|
||||||
"lint:js": "eslint ./src/js ./webpack",
|
"lint:js": "eslint ./src ./webpack",
|
||||||
"lint:css": "stylelint './src/js/**/*.js'",
|
"lint:css": "stylelint './src/**/*.js'",
|
||||||
"test": "run-s test:*",
|
"test": "run-s test:*",
|
||||||
"test:unit": "jest",
|
"test:unit": "jest",
|
||||||
"test-unit:watch": "jest -o --watch"
|
"test-unit:watch": "jest -o --watch"
|
||||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
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
Loading…
Reference in New Issue
Block a user