handy-redis
Advanced tools
Comparing version 1.5.1 to 1.5.2
{ | ||
"name": "handy-redis", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "A wrapper around node_redis with Promise and TypeScript support.", | ||
@@ -19,3 +19,3 @@ "main": "dist/index.js", | ||
"build": "tsc -p .", | ||
"test": "ava", | ||
"test": "jest --runInBand --forceExit --detectOpenHandles", | ||
"lint": "tslint **/*.ts", | ||
@@ -26,3 +26,3 @@ "check-clean": "if [ \"$(git status --porcelain)\" != '' ]; then git status && exit 1; fi", | ||
"release": "semantic-release", | ||
"coverage": "nyc ava && nyc report --reporter=text-lcov | coveralls" | ||
"coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls" | ||
}, | ||
@@ -43,8 +43,15 @@ "repository": { | ||
"homepage": "https://github.com/mmkal/handy-redis#readme", | ||
"ava": { | ||
"files": [ | ||
"test", | ||
"**/__tests__/*.js" | ||
], | ||
"serial": true | ||
"jest": { | ||
"transform": { | ||
"^.+\\.tsx?$": "ts-jest" | ||
}, | ||
"testRegex": ".*.test.ts$", | ||
"testURL": "http://localhost", | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"jsx", | ||
"json" | ||
] | ||
}, | ||
@@ -56,2 +63,5 @@ "nyc": { | ||
}, | ||
"prettier": { | ||
"tabWidth": 4 | ||
}, | ||
"dependencies": { | ||
@@ -63,2 +73,3 @@ "@types/redis": "^2.8.6", | ||
"@types/cross-spawn": "^6.0.0", | ||
"@types/jest": "^23.3.1", | ||
"@types/lodash": "^4.14.116", | ||
@@ -68,3 +79,2 @@ "@types/node": "^7.0.69", | ||
"@types/yamljs": "^0.2.30", | ||
"ava": "^0.25.0", | ||
"coveralls": "^3.0.2", | ||
@@ -74,8 +84,11 @@ "cross-spawn": "^6.0.5", | ||
"dotenv-extended": "^2.3.0", | ||
"jest": "^23.5.0", | ||
"lodash": "^4.17.10", | ||
"npm-run-all": "^4.1.3", | ||
"npm-run-all": "^4.1.5", | ||
"nyc": "^13.0.1", | ||
"prettier": "^1.14.2", | ||
"semantic-release": "^15.9.10", | ||
"shelljs": "^0.7.7", | ||
"shx": "^0.2.2", | ||
"ts-jest": "^23.1.4", | ||
"ts-node": "^3.0.2", | ||
@@ -82,0 +95,0 @@ "tslint": "^5.11.0", |
@@ -26,3 +26,3 @@ # handy-redis | ||
const client = createHandyClient(); | ||
// or, call createHandyClient(opts) using opts for https://npmjs.com/package/redis | ||
// or, call createHandyClient(opts) using opts for https://www.npmjs.com/package/redis#rediscreateclient | ||
// or, call createHandyClient(oldClient) where oldClient is an existing node_redis client. | ||
@@ -53,3 +53,3 @@ | ||
See the [snapshot tests](https://github.com/mmkal/handy-redis/blob/master/test/generated/commands/snapshots) for tons of usage examples (look at the `.md` files). | ||
See the [snapshot tests](https://github.com/mmkal/handy-redis/blob/master/test/generated/commands/__snapshots__) for tons of usage examples. | ||
@@ -56,0 +56,0 @@ ### Multi |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
588666
23