UNPKG

ts-token-creator

Version:
51 lines (50 loc) 1.34 kB
{ "name": "ts-token-creator", "version": "1.0.2", "description": "JWT Token Creator", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "dev": "ts-node ./src/index.ts", "prod": "node ./dist/index.js", "test": "jest --config jestconfig.json", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "clean": "rm -rf dist", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/weverton-souza/ts-token-creator.git" }, "files": [ "dist/**/*" ], "test": "jest --config jestconfig.json", "keywords": [ "JWT", "Token", "Generate", "HS256" ], "author": "Weverton Souza", "license": "MIT", "devDependencies": { "@types/crypto-js": "^3.1.43", "jest": "^24.5.0", "prettier": "^1.16.4", "ts-jest": "^24.0.0", "tslint": "^5.14.0", "tslint-config-prettier": "^1.18.0", "typescript": "^3.3.4000" }, "dependencies": { "@types/jest": "^24.0.11", "crypto-js": "^3.1.9-1" } }