|
4 | 4 | "description": "utils for makeomatic mservice for encoding/decoding various token types and storing associated metadata with them",
|
5 | 5 | "main": "./lib/index.js",
|
6 | 6 | "scripts": {
|
7 |
| - "test": "npm run lint && npm run test-unit && npm run test-integration", |
| 7 | + "test": "yarn lint && yarn test-unit && yarn test-integration", |
8 | 8 | "test-unit": "mocha test/unit.js",
|
9 |
| - "test-integration": "mdep test run --node 7.9.0 -t ./test/integration.js", |
| 9 | + "test-integration": "mdep test run -t ./test/integration.js", |
10 | 10 | "lint": "eslint ./src",
|
11 | 11 | "compile": "babel ./src -d ./lib --copy-files",
|
12 |
| - "preversion": "npm run compile", |
13 |
| - "postversion": "git push && npm publish && git push --tags" |
| 12 | + "prepublishOnly": "yarn compile", |
| 13 | + "semantic-release": "semantic-release" |
14 | 14 | },
|
15 | 15 | "repository": {
|
16 | 16 | "type": "git",
|
|
30 | 30 | },
|
31 | 31 | "homepage": "https://github.com/makeomatic/ms-token#readme",
|
32 | 32 | "peerDependencies": {
|
33 |
| - "ioredis": "^2.2.0 || 3.x.x" |
| 33 | + "ioredis": "3.x.x || 4.x.x" |
34 | 34 | },
|
35 | 35 | "engine": {
|
36 |
| - "node": ">= 7.6.0" |
| 36 | + "node": ">= 8.9.0" |
37 | 37 | },
|
38 | 38 | "devDependencies": {
|
39 |
| - "@makeomatic/deploy": "^1.4.0", |
40 |
| - "babel-cli": "^6.24.1", |
41 |
| - "babel-eslint": "^7.2.3", |
42 |
| - "babel-plugin-istanbul": "^4.1.3", |
43 |
| - "babel-plugin-transform-class-properties": "^6.24.1", |
44 |
| - "babel-plugin-transform-object-rest-spread": "^6.23.0", |
45 |
| - "babel-plugin-transform-strict-mode": "^6.24.1", |
46 |
| - "babel-register": "^6.24.1", |
47 |
| - "codecov": "^2.1.0", |
48 |
| - "cross-env": "^4.0.0", |
49 |
| - "eslint": "^3.19.0", |
50 |
| - "eslint-config-makeomatic": "^1.0.1", |
51 |
| - "eslint-plugin-import": "^2.2.0", |
52 |
| - "eslint-plugin-mocha": "^4.9.0", |
53 |
| - "eslint-plugin-promise": "^3.5.0", |
54 |
| - "ioredis": "^2.4.3", |
55 |
| - "mocha": "^3.3.0", |
56 |
| - "nyc": "^10.3.2", |
57 |
| - "rimraf": "^2.6.1" |
| 39 | + "@babel/cli": "^7.0.0", |
| 40 | + "@babel/core": "^7.0.0", |
| 41 | + "@babel/plugin-proposal-class-properties": "^7.0.0", |
| 42 | + "@babel/plugin-proposal-object-rest-spread": "^7.0.0", |
| 43 | + "@babel/plugin-transform-strict-mode": "^7.0.0", |
| 44 | + "@babel/register": "^7.0.0", |
| 45 | + "@makeomatic/deploy": "^8.2.3", |
| 46 | + "babel-eslint": "^10.0.1", |
| 47 | + "babel-plugin-istanbul": "^5.1.0", |
| 48 | + "codecov": "^3.1.0", |
| 49 | + "cross-env": "^5.2.0", |
| 50 | + "eslint": "^5.9.0", |
| 51 | + "eslint-config-makeomatic": "^3.0.0", |
| 52 | + "eslint-plugin-import": "^2.14.0", |
| 53 | + "eslint-plugin-mocha": "^5.2.0", |
| 54 | + "eslint-plugin-promise": "^4.0.1", |
| 55 | + "ioredis": "^4.2.0", |
| 56 | + "mocha": "^5.2.0", |
| 57 | + "nyc": "^13.1.0", |
| 58 | + "rimraf": "^2.6.2" |
58 | 59 | },
|
59 | 60 | "dependencies": {
|
60 |
| - "base64-url": "^1.3.3", |
61 |
| - "chance": "^1.0.8", |
62 |
| - "glob": "^7.1.1", |
| 61 | + "base64-url": "^2.2.0", |
| 62 | + "chance": "^1.0.16", |
| 63 | + "glob": "^7.1.3", |
63 | 64 | "is": "^3.2.1",
|
64 |
| - "joi": "^10.4.1", |
65 |
| - "lodash": "^4.17.2", |
66 |
| - "uuid": "^3.0.1" |
| 65 | + "joi": "^14.0.6", |
| 66 | + "lodash": "^4.17.11", |
| 67 | + "uuid": "^3.3.2" |
| 68 | + }, |
| 69 | + "files": [ |
| 70 | + "src/", |
| 71 | + "lib/", |
| 72 | + "bin/" |
| 73 | + ], |
| 74 | + "husky": { |
| 75 | + "hooks": { |
| 76 | + "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS", |
| 77 | + "prepare-commit-msg": "./node_modules/@makeomatic/deploy/git-hooks/prepare-commit-msg $HUSKY_GIT_PARAMS" |
| 78 | + } |
67 | 79 | }
|
68 | 80 | }
|
0 commit comments