Este proyecto requiere Node v8.9.4 o superior (npm v6.0.0).
Puede ser instalado con nvm
nvm install 8.9.4
O vía package manager:
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
git hooks install
npm install
make watch
para levantar el servidor en localhost:3000Se puede iniciar un servidor web para servir un dashboard que utiliza los componentes exportables usando make components-watch
Para mas info: react documentation
npm start
: Error al iniciar el server.
Solución: ` echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p`npm test -- -- <name of describe>
why the “–” magick incantationUsar esta launch configuration
{
"name": "Debug Jest Tests",
"type": "node",
"request": "launch",
"runtimeArgs": ["--inspect-brk", "${workspaceRoot}/scripts/test.js", "--runInBand", "--env=jsdom"],
"port": 9229,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}