Skip to content

Commit 9d87c49

Browse files
authored
Adds distribution folder
Remove dist from .gitignore
2 parents ea771b2 + a2db9a4 commit 9d87c49

File tree

697 files changed

+66668
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

697 files changed

+66668
-11
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ node_modules
1111
.ssh/
1212
.viminfo
1313
coverage/
14-
dist/

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@adyen/api-library.svg)
66
[![Version](https://img.shields.io/npm/v/@adyen/api-library.svg)](https://www.npmjs.com/package/@adyen/api-library)
77
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Adyen_adyen-node-api-library&metric=alert_status)](https://sonarcloud.io/dashboard?id=Adyen_adyen-node-api-library)
8+
[![Total alerts](https://img.shields.io/lgtm/alerts/g/Adyen/adyen-node-api-library.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Adyen/adyen-node-api-library/alerts/)
9+
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/Adyen/adyen-node-api-library.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Adyen/adyen-node-api-library/context:javascript)
810

911
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
1012

dist/es5/main.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es5/vendors~main.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lib-esm/package.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"name": "@adyen/api-library",
3+
"version": "3.1.1",
4+
"description": "The Adyen API Library for NodeJS enables you to work with Adyen APIs.",
5+
"main": "dist/lib/src/index.js",
6+
"types": "dist/lib/src/index.d.ts",
7+
"module": "dist/lib-esm/src/index.js",
8+
"engines": {
9+
"node": ">=10"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "git+https://github.com/Adyen/adyen-node-api-library.git"
14+
},
15+
"keywords": [
16+
"adyen",
17+
"api",
18+
"nodejs"
19+
],
20+
"bugs": {
21+
"url": "https://github.com/Adyen/adyen-node-api-library/issues"
22+
},
23+
"publishConfig": {
24+
"access": "public"
25+
},
26+
"homepage": "https://github.com/Adyen/adyen-node-api-library#readme",
27+
"scripts": {
28+
"clean": "rm -rf ./dist",
29+
"build": "npm run clean && tsc && tsc -m es6 --outDir dist/lib-esm && webpack",
30+
"lint": "eslint 'src/**/*.ts'",
31+
"lint:fix": "eslint --fix 'src/**/*.ts'",
32+
"test": "jest",
33+
"test:coverage": "jest --coverage",
34+
"preversion": "npm test",
35+
"version": "npm run build && git add -A dist",
36+
"postversion": "git push && git push --tags && rm -rf build/temp",
37+
"release": "release-it --no-npm.publish"
38+
},
39+
"author": "Ricardo Ambrogi",
40+
"license": "MIT",
41+
"devDependencies": {
42+
"@types/jest": "25.1.4",
43+
"@types/nock": "11.1.0",
44+
"@typescript-eslint/eslint-plugin": "2.24.0",
45+
"@typescript-eslint/parser": "2.24.0",
46+
"coveralls": "3.0.9",
47+
"eslint": "6.8.0",
48+
"jest": "25.1.0",
49+
"nock": "12.0.3",
50+
"release-it": "13.1.1",
51+
"ts-jest": "25.2.1",
52+
"ts-loader": "6.2.1",
53+
"typescript": "3.8.3",
54+
"webpack": "4.42.0",
55+
"webpack-cli": "3.3.11"
56+
},
57+
"dependencies": {
58+
"@types/node": "13.9.1",
59+
"https-proxy-agent": "5.0.0"
60+
}
61+
}

dist/lib-esm/src/__mocks__/base.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import Client from "../client";
2+
import { TerminalApiRequest } from "../typings/terminal";
3+
export declare const createMockClientFromResponse: () => Client;
4+
export declare const createTerminalAPIPaymentRequest: () => TerminalApiRequest;

dist/lib-esm/src/__mocks__/base.js

Lines changed: 73 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lib-esm/src/__mocks__/base.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export declare const paymentMethodsSuccess: string;

0 commit comments

Comments
 (0)