🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@shoutem/passport-shoutem

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shoutem/passport-shoutem

Passport strategy for shoutem authentication system written in Node.js, using ES6 with [babel](https://babeljs.io/), with:

latest
npmnpm
Version
1.0.14
Version published
Maintainers
4
Created
Source

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

FAQs

Package last updated on 24 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts