react-payment-request-api
Advanced tools
Comparing version
import paymentRequest from './paymentRequest'; | ||
export { PaymentRequestParams, PaymentRequestInterface } from './types'; | ||
export default paymentRequest; |
@@ -0,0 +0,0 @@ declare const _default: (methodData: PaymentMethodData[]) => (PaymentMethodData | { |
@@ -0,0 +0,0 @@ import * as React from 'react'; |
{ | ||
"name": "react-payment-request-api", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "React high order component that expose the payment request api", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"jsnext:main": "dist/react-payment-request-api.min.js", | ||
"module": "dist/react-payment-request-api.min.js", | ||
"scripts": { | ||
"clean": "rm -rf ./lib", | ||
"build": "tsc", | ||
"clean": "rm -rf ./lib && rm -rf ./dist", | ||
"build:lib": "tsc", | ||
"build:dist": "rollup -c", | ||
"build": "npm run build:lib && npm run build:dist", | ||
"lint": "tslint -c ./tslint.json './src/**/*.{ts,tsx}'", | ||
@@ -42,2 +46,5 @@ "test": "jest --config jest.json", | ||
"react-test-renderer": "^15.5.0", | ||
"rollup": "^0.42.0", | ||
"rollup-plugin-typescript2": "^0.4.3", | ||
"rollup-plugin-uglify": "^2.0.1", | ||
"source-map-loader": "^0.1.5", | ||
@@ -44,0 +51,0 @@ "ts-jest": "^20.0.3", |
@@ -25,4 +25,6 @@ { | ||
"node_modules", | ||
"lib" | ||
"lib", | ||
"dist", | ||
"**/*.test.*" | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
41938
-32.35%19
18.75%37
-9.76%695
-23.46%1
Infinity%