nestjs-stripe
Advanced tools
Comparing version
{ | ||
"name": "nestjs-stripe", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Provides an injectable Stripe client to nestjs modules", | ||
@@ -16,3 +16,3 @@ "repository": "https://github.com/dhaspden/nestjs-stripe", | ||
"codecov": "codecov", | ||
"format": "prettier --write \"src/**/*.ts\"", | ||
"format": "prettier --write \"src/**/*.ts\" \"example/**/*.ts\"", | ||
"prebuild": "rimraf lib", | ||
@@ -25,5 +25,2 @@ "prepublish:npm": "yarn build", | ||
}, | ||
"dependencies": { | ||
"stripe": "7.4.0" | ||
}, | ||
"devDependencies": { | ||
@@ -42,2 +39,3 @@ "@nestjs/common": "6.5.2", | ||
"rxjs": "6.5.2", | ||
"stripe": "7.5.0", | ||
"ts-jest": "24.0.2", | ||
@@ -50,3 +48,4 @@ "typescript": "3.5.3" | ||
"reflect-metadata": "^0.1.12", | ||
"rxjs": "^6.0.0" | ||
"rxjs": "^6.0.0", | ||
"stripe": "^7.0.0" | ||
}, | ||
@@ -53,0 +52,0 @@ "keywords": [ |
@@ -90,2 +90,14 @@ <p align="center"> | ||
## Example | ||
In order to run the example run the following commands in your terminal. The | ||
expected output of the example is to show that the Stripe client was | ||
successfully injected into the `AppService`. | ||
```bash | ||
cd example | ||
yarn install | ||
yarn start | ||
``` | ||
## Contributing | ||
@@ -92,0 +104,0 @@ |
{ | ||
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"], | ||
"exclude": ["example/**/*.ts", "node_modules", "test", "dist", "**/*spec.ts"], | ||
"extends": "./tsconfig.json" | ||
} |
Sorry, the diff of this file is not supported yet
450140
0.06%123
10.81%15
7.14%+ Added
- Removed
- Removed
- Removed
- Removed
- Removed