iap-apple 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,2 +1,6 @@
1
+ | Statements | Branches | Functions | Lines |
2
+ | --------------------------- | ----------------------- | ------------------------- | ----------------- |
3
+ | ![Statements](https://img.shields.io/badge/statements-74.63%25-red.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-51.3%25-red.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-73.68%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-72.44%25-red.svg?style=flat) |
4
+
1
5
  # iap-apple
2
6
  Integration with Apples InAppPurchases in Typescript, available for NodeJS environments.
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "iap-apple",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Integration with Apples InAppPurchases in Typescript, available for NodeJS environments.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
7
7
  "scripts": {
8
8
  "prebuild": "yarn code-quality:check",
9
- "build": "rm -rf lib && tsc",
9
+ "build": "rm -rf lib && tsc --project tsconfig.build.json && cp package.json lib/package.json",
10
10
  "format": "prettier --write \"src/**/*.ts\"",
11
- "test": "nyc --reporter=html mocha --bail --slow 1 --timeout 60000 --require ts-node/register/transpile-only src/**/*.spec.ts && nyc merge .nyc_output ./coverage/coverage-summary.json",
11
+ "test": "nyc --reporter=json-summary mocha --bail --slow 1 --timeout 60000 --require ts-node/register/transpile-only src/**/*.spec.ts",
12
12
  "prepare": "is-ci || husky install",
13
13
  "ts:check": "yarn ts:check-types && yarn ts:circular-check",
14
14
  "ts:check-types": "tsc --noEmit",