Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

Commit

Permalink
fix: typescript types
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Dec 21, 2018
1 parent a9ef47c commit 3a1ef9c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Do you want to make it easier for your clients to pay your invoices? This librar
What are the advantages of using this package over [sepa-qr](https://github.com/smhg/sepa-qr-js)?

* Written in TypeScript
* 100% test coverage
* Allows you to pick your own QR library! [Do you use React?](https://github.com/zpao/qrcode.react) [Do you prefer artistic QR codes?](https://github.com/kciter/qart.js)
* Extensive documentation

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
"functions": 90,
"lines": 90,
"statements": 90
}
},
"collectCoverageFrom": [
Expand Down
5 changes: 3 additions & 2 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import typescript from "rollup-plugin-typescript2";
import json from "rollup-plugin-json";

const pkg = require("./package.json");
const libraryName = "sepa-payment-code";

export default {
input: "src/index.ts",
input: `src/${libraryName}.ts`,
output: [
{ file: pkg.main, name: camelCase("sepa-payment-code"), format: "umd", sourcemap: true },
{ file: pkg.main, name: camelCase(libraryName), format: "umd", sourcemap: true },
{ file: pkg.module, format: "es", sourcemap: true },
],
external: [],
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/PaymentCode.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PaymentCode } from "../src";
import { PaymentCode } from "../src/PaymentCode";

describe("PaymentCode", () => {
it("checks if the name of the recipient is not empty", () => {
Expand Down

0 comments on commit 3a1ef9c

Please sign in to comment.