handy-redis
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "handy-redis", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A wrapper around node_redis with Promise and TypeScript support.", | ||
"main": "dist/src/index.js", | ||
"main": "dist/index.js", | ||
"files": [ | ||
"dist/src" | ||
"dist" | ||
], | ||
"types": "dist/src/index", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"clean": "shx rm -rf {dist,src/generated}", | ||
"compile": "tsc --project .", | ||
"prebuild": "ts-node scripts/generate-client", | ||
"build": "tsc --project .", | ||
"clean": "del-cli 'dist' 'src/generated' 'test/generated/**/*.ts' '**/*.js' '**/*.js.map' '!node_modules/**/*'", | ||
"compile": "tsc -p .", | ||
"prebuild": "ts-node scripts/generate-types && ts-node scripts/generate-tests", | ||
"build": "tsc -p .", | ||
"lint": "tslint **/*.ts", | ||
"pretest": "npm run build", | ||
"test": "npm run test:unit", | ||
"test:unit": "ava dist/test **/__tests__/*.js", | ||
"test": "ava", | ||
"posttest": "npm run lint", | ||
"prepublishOnly": "tsc -p src", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post", | ||
"coverage": "nyc ava dist/test **/__tests__/*.js && nyc report --reporter=text-lcov | coveralls" | ||
"coverage": "nyc ava && nyc report --reporter=text-lcov | coveralls" | ||
}, | ||
@@ -36,2 +36,14 @@ "repository": { | ||
"homepage": "https://github.com/mmkal/handy-redis#readme", | ||
"ava": { | ||
"files": [ | ||
"test", | ||
"**/__tests__/*.js" | ||
], | ||
"serial": true | ||
}, | ||
"nyc": { | ||
"include": [ | ||
"src/*" | ||
] | ||
}, | ||
"dependencies": { | ||
@@ -46,4 +58,5 @@ "@types/redis": "^0.12.36", | ||
"@types/yamljs": "^0.2.30", | ||
"ava": "^0.19.1", | ||
"ava": "^0.23.0", | ||
"coveralls": "^2.13.1", | ||
"del-cli": "^1.1.0", | ||
"lodash": "^4.17.4", | ||
@@ -50,0 +63,0 @@ "nyc": "^10.3.0", |
@@ -5,2 +5,4 @@ # handy-redis | ||
[![Build Status](https://travis-ci.org/mmkal/handy-redis.svg?branch=master)](https://travis-ci.org/mmkal/handy-redis) | ||
[![Coverage Status](https://coveralls.io/repos/github/mmkal/handy-redis/badge.svg)](https://coveralls.io/github/mmkal/handy-redis?branch=master) | ||
[![npm version](https://badge.fury.io/js/handy-redis.svg)](https://www.npmjs.com/package/handy-redis) | ||
@@ -11,5 +13,5 @@ ## Why | ||
This package exclusively uses Promises, and the TypeScript types are generated from the official redis documentation and examples, so it's much easier to know what parameters a command expects. | ||
This package is a wrapper around node_redis and exclusively uses Promises It publishes TypeScript types generated from the official redis documentation and examples, so it's much easier to know what parameters a command expects. | ||
## Using | ||
## Usage | ||
@@ -56,2 +58,3 @@ ```cli | ||
git clone https://github.com/mmkal/handy-redis --recursive | ||
cd handy-redis | ||
npm install | ||
@@ -64,1 +67,5 @@ npm test | ||
If you cloned without `--recursive` you'll need to run `git submodule update --init` to get the redis-doc repo locally. | ||
### Testing | ||
If a snapshot test fails, it's possible it just needs to be updated. Make sure your git status is clean and run `npm test -- -u`. |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
68
540464
16
9
13939
1