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
{"valueParameterDescriptions":[],"slotParameterDescriptions":[],"roleDescriptions":[],"contractType":"O","contractName":"","contractDescription":"","choiceDescriptions":[]} |
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
// Go here to see the tests running! https://codesandbox.io/s/array-squashing-ser8t?fontsize=14&module=%2Ftest%2Farray-utils.spec.js&previewwindow=tests&theme=dark | |
export const flattenArray = array => | |
array.reduce( | |
(accumulator, currentValue) => | |
accumulator.concat( | |
Array.isArray(currentValue) ? flattenArray(currentValue) : currentValue | |
), | |
[] | |
); |
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
FROM node:alpine | |
VOLUME /Users/seb/Projects/property-management-code:/code | |
WORKDIR /code | |
RUN npm install -g nodemon | |
EXPOSE 8080 | |
CMD [ "nodemon", "app.js" ] |