0.1.1 • Published 6 years ago
single-page-app v0.1.1
Core components, framework & styles to be used by Yello Single Page Apps
Package
Getting started:
git clone git@code.yello.co:yello_enterprise_front_end/single-page-app.git
Local Development
cd {single-page-app}npm install- npm run build` to init the app
npm run start # watch the app/ directory and push updates to dist/- navigate to http://localhost:8080/
Tasks
npm run buildwill run the build only. This is useful to compile the code for deployment.npm run startwill compile JSDocs, start the local dev server, and watch for local changes on port 8080. Note that JSDocs does NOT watch for changes. To update it runnpm run jsdoc.npm run test:snapshotsruns jest snapshot tests.npm run test:snapshots:replaceruns and replace jest snapshot tests.npm run lintruns the stylelint and eslint tasks.npm run eslintruns eslint task onlynpm run stylelintruns stylelint task onlynpm run storybookruns storybook on port 6006npm run jsdoccompiles JSDocs and places them in dist/jsdoc. Can be accessed when dev server is running at http://localhost:8080/jsdoc/.npm run jsdoc:verbosecomplie JSDocs with verbose output.