This is our own take on
create-react-app. See features here: https://docs.google.com/spreadsheets/d/1hBW0Lc2O4rNzkhfxMyKA4PT6DmN4C-bePMb9KHlXp0g/edit#gid=0
UsageThis package and its commands will be installed in your app when doing
web-standard react(OUTDATED). This differs from
create-react-appin that it does not scaffold the application for you – web standard does that for you.
dsc-react-startStarts the dev server. This runs your server on
localhost:<port>and the webpack dev server on
localhost:<port + 1>.
dsc-react-buildBuilds the production version of the react app.
dsc-react-testThe test types are:
server- runs the server-specific tests, i.e. hitting all the API routes.
jsdom- runs all the react tests in a jsdom environment.
Not currently used:
isomorphic(not needed because we do not server-side render) - runs all the react tests in a node.js environment.
prefix- how assets are served, defaulting to
face-webassets are served from
port- default part the server runs on. Keep this unique across