This is the playground for the new Jupyter.org.
Here is a link to the style guide. We will build components based on this. https://www.figma.com/file/PQD2GrejGoeZdYGhXthnAuEs/jupyter_master?node-id=700%3A2322
See it running at https://guarded-sands-77993.herokuapp.com/
- You can get started with
npm install. - We use TypeScript and React in this project.
- When developing:
npm run devto see it in action! - For production:
npm run buildwill generate production-ready HTML indist/. - We use ESLint, make sure to
npm run lint-fixyour code. - For heroku, you can push to the Git remote
https://git.heroku.com/guarded-sands-77993.git.
- You can use
generactto make copies of existing React components. - You can use the React Developer Tools Chrome extension to probe individual React components of the site.
- There is an ESLint VSCode plugin to show lint errors in the text editor. Make sure to add this to your
settings.json:
{
"eslint.alwaysShowStatus": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
]
}