Nerdiest Political Manifesto

    @shoutem/passport-shoutem

    1.0.14 • Public • Published

    Shoutem passport strategy

    Passport strategy for shoutem authentication system written in Node.js, using ES6 with babel, with:

    Install from BitBucket

    npm install git+ssh://git@bitbucket.org:fiveminutes/passport-shoutem.git
    

    Install a specific branch

    npm install git+ssh://git@bitbucket.org:fiveminutes/passport-shoutem.git#branch
    

    Add as a dependency in your package.json

    Note that since this module depends on babel transpiled code, it declares babel-cli and babel-preset-es2015 dependencies which are only required so that transpilation is successfully completed in the postinstall hook.

     "dependencies" : {
        "passport-shoutem" : "git+ssh://git@bitbucket.org:fiveminutes/passport-shoutem.git#v.0.0.1"
     }
    

    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 test
    

    Run tests for project.

    npm run lint
    

    Check code style commit.

    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.

    Learn more

    Keywords

    none

    Install

    npm i @shoutem/passport-shoutem

    DownloadsWeekly Downloads

    1

    Version

    1.0.14

    License

    none

    Unpacked Size

    171 kB

    Total Files

    24

    Last publish

    Collaborators

    • shoutem-manager