UNPKG

stripe-react-sdk-prodio

Version:

Checkout form in ReactJS and supports all the options from stripe docs.

138 lines (137 loc) 3.5 kB
{ "name": "stripe-react-sdk-prodio", "version": "1.0.7", "description": "Checkout form in ReactJS and supports all the options from stripe docs.", "main": "./dist/main.js", "types": "./index.d.ts", "scripts": { "test": "mocha --require babel-register --require .test-setup.js -R spec ./spec.js", "cover": "nyc -x './spec.js' -n 'StripeCheckout.js' -r text -r html -r lcov npm test", "watch": "mkdir -p dist; ./node_modules/.bin/babel StripeCheckout.js --out-file ./dist/main.js --source-maps inline --watch", "build": "mkdir -p dist; ./node_modules/.bin/babel StripeCheckout.js --out-file ./dist/main.js", "version": "npm run build" }, "babel": { "presets": [ "es2015", "react", "stage-0" ], "plugins": [ "transform-object-assign" ] }, "eslintConfig": { "parser": "babel-eslint", "extends": "airbnb", "env": { "browser": true, "node": true, "mocha": true, "es6": true }, "plugins": [ "react", "jsx-a11y" ], "parserOptions": { "ecmaVersion": 6, "sourceType": "module", "ecmaFeatures": { "jsx": true } }, "globals": { "StripeCheckout": true }, "rules": { "import/no-unresolved": 2, "comma-dangle": [ 2, "always-multiline" ], "indent": [ 2, 2, { "SwitchCase": 1 } ], "no-console": 1, "max-len": 0, "prefer-template": 2, "no-use-before-define": 0, "newline-per-chained-call": 0, "arrow-body-style": [ 2, "as-needed" ], "jsx-a11y/href-no-hash": 2, "jsx-a11y/label-has-for": 2, "jsx-a11y/mouse-events-have-key-events": 2, "jsx-a11y/role-has-required-aria-props": 2, "jsx-a11y/role-supports-aria-props": 2, "jsx-a11y/aria-props": 2, "react/prop-types": [ 2, { "ignore": [ "dispatch", "children", "className", "style" ] } ] } }, "repository": { "type": "git", "url": "https://github.com/ProdioDesignWorks/stripe-react-sdk-prodio.git" }, "keywords": [ "ReactJS", "Stripe", "Checkout", "Component", "ProdioDesignWorks", "Prodio" ], "author": "Shashikant Sharma <shashikant@prodio.in> (http://prodio.in)", "license": "", "bugs": { "url": "https://github.com/ProdioDesignWorks/stripe-react-sdk-prodio/issues" }, "homepage": "https://github.com/ProdioDesignWorks/stripe-react-sdk-prodio", "dependencies": { "prop-types": "^15.5.8" }, "peerDependencies": { "react": ">=15" }, "devDependencies": { "babel-cli": "^6.11.4", "babel-core": "^6.11.4", "babel-eslint": "^6.1.2", "babel-helpers": "^6.24.1", "babel-plugin-transform-object-assign": "^6.8.0", "babel-preset-es2015": "^6.13.2", "babel-preset-react": "^6.11.1", "babel-preset-react-hmre": "^1.1.1", "babel-preset-stage-0": "^6.5.0", "babel-register": "^6.11.6", "enzyme": "^2.4.1", "eslint": "^4.18.2", "eslint-config-airbnb": "^9.0.1", "eslint-plugin-import": "^1.12.0", "eslint-plugin-jsx-a11y": "^1.2.0", "eslint-plugin-react": "^5.1.1", "expect": "^1.20.2", "jsdom": "^9.4.1", "mocha": "^3.0.1", "nyc": "^7.1.0", "react": "^15.5.4", "react-addons-test-utils": "^15.5.0", "react-dom": "15.5.4" } }