UNPKG

sails-api-jwt

Version:

An example implementation of JWT-based API for user registration and authorization.

64 lines (63 loc) 1.39 kB
{ "name": "sails-api-jwt", "private": false, "version": "1.2.1", "description": "An example implementation of JWT-based API for user registration and authorization.", "keywords": [ "Sails", "Sails.js", "JWT", "JSON Web Token", "authorization", "API" ], "dependencies": { "bcrypt": "^1.0.2", "farmhash": "^2.0.0", "include-all": "^1.0.0", "jsonwebtoken": "^7.4.2", "mailgun-js": "^0.13.1", "moment": "^2.18.1", "password-validator": "^4.0.0", "rc": "1.0.1", "sails": "~0.12.13", "sails-disk": "~0.10.9", "shortid": "^2.2.8", "validator": "^8.0.0" }, "scripts": { "debug": "node debug app.js", "start": "node app.js", "test": "nyc mocha --ui bdd test/*.test.js", "coverage": "nyc report --reporter=text-lcov | coveralls", "lint": "eslint ./" }, "main": "app.js", "repository": { "type": "git", "url": "https://github.com/Deliaz/sails-api-jwt.git" }, "author": "deliaz", "license": "MIT", "devDependencies": { "chai": "^4.1.1", "chai-http": "^3.0.0", "coveralls": "^2.13.1", "eslint": "^4.5.0", "mocha": "^3.5.0", "nyc": "^11.1.0", "sinon": "^3.2.1", "sinon-chai": "^2.13.0" }, "nyc": { "exclude": [ "config", "test", "api/responses" ], "reporter": [ "html", "text" ] } }