Skip to content

Commit

Permalink
Adds distribution folder
Browse files Browse the repository at this point in the history
Remove dist from .gitignore
  • Loading branch information
KadoBOT authored Mar 18, 2020
2 parents ea771b2 + a2db9a4 commit 9d87c49
Show file tree
Hide file tree
Showing 697 changed files with 66,668 additions and 11 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ node_modules
.ssh/
.viminfo
coverage/
dist/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@adyen/api-library.svg)
[![Version](https://img.shields.io/npm/v/@adyen/api-library.svg)](https://www.npmjs.com/package/@adyen/api-library)
[![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)
[![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/)
[![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)

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

Expand Down
2 changes: 2 additions & 0 deletions dist/es5/main.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/es5/vendors~main.js

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions dist/lib-esm/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"name": "@adyen/api-library",
"version": "3.1.1",
"description": "The Adyen API Library for NodeJS enables you to work with Adyen APIs.",
"main": "dist/lib/src/index.js",
"types": "dist/lib/src/index.d.ts",
"module": "dist/lib-esm/src/index.js",
"engines": {
"node": ">=10"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Adyen/adyen-node-api-library.git"
},
"keywords": [
"adyen",
"api",
"nodejs"
],
"bugs": {
"url": "https://github.com/Adyen/adyen-node-api-library/issues"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/Adyen/adyen-node-api-library#readme",
"scripts": {
"clean": "rm -rf ./dist",
"build": "npm run clean && tsc && tsc -m es6 --outDir dist/lib-esm && webpack",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint --fix 'src/**/*.ts'",
"test": "jest",
"test:coverage": "jest --coverage",
"preversion": "npm test",
"version": "npm run build && git add -A dist",
"postversion": "git push && git push --tags && rm -rf build/temp",
"release": "release-it --no-npm.publish"
},
"author": "Ricardo Ambrogi",
"license": "MIT",
"devDependencies": {
"@types/jest": "25.1.4",
"@types/nock": "11.1.0",
"@typescript-eslint/eslint-plugin": "2.24.0",
"@typescript-eslint/parser": "2.24.0",
"coveralls": "3.0.9",
"eslint": "6.8.0",
"jest": "25.1.0",
"nock": "12.0.3",
"release-it": "13.1.1",
"ts-jest": "25.2.1",
"ts-loader": "6.2.1",
"typescript": "3.8.3",
"webpack": "4.42.0",
"webpack-cli": "3.3.11"
},
"dependencies": {
"@types/node": "13.9.1",
"https-proxy-agent": "5.0.0"
}
}
4 changes: 4 additions & 0 deletions dist/lib-esm/src/__mocks__/base.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Client from "../client";
import { TerminalApiRequest } from "../typings/terminal";
export declare const createMockClientFromResponse: () => Client;
export declare const createTerminalAPIPaymentRequest: () => TerminalApiRequest;
73 changes: 73 additions & 0 deletions dist/lib-esm/src/__mocks__/base.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/lib-esm/src/__mocks__/base.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const paymentMethodsSuccess: string;
Loading

0 comments on commit 9d87c49

Please sign in to comment.