This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npx create-react-app my-app | |
cd my-app | |
yarn add prop-types react-router-dom redux react-redux immutable styled-components node-sass axios |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const babelJest = require('babel-jest'); | |
module.exports = babelJest.createTransformer({ | |
presets: [require.resolve('babel-preset-react-app')], | |
babelrc: false, | |
configFile: false, | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
process() { | |
return 'module.exports = {};'; | |
}, | |
getCacheKey() { | |
// The output is always the same. | |
return 'cssTransform'; | |
}, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mysql: | |
build: ./docker/mysql | |
image: mysql:latest | |
container_name: "mysql" | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: waldo |