README
Shoutem express-io layer
Passport strategy Express-io layer for Shoutem middleware written in Node.js, using ES6 and babel
Commands
npm run build
Transpile source to ./build folder
npm run build:watch
Transpile source to ./build folder and watch for changes made to source files.
npm run clean
Clean ./build folder.
npm test
Run tests for project.
npm run lint
Check code style.
Editor configuration and linting
Editor configuration is contained in .editorconfig file which helps developers define and maintain consistent coding styles between different editors and IDEs. See more information on EditorConfig website.
Linting is done via eslint using Five's JavaScript style guide.
Installing packages
Installing packages (either with --save or --save-dev) is locked to exact version with .npmrc file. Use ncu command to check which packages need to be updated and to update them. Run npm test to make sure everything is working after updating packages as it should.