UNPKG

@rebilly/framepay-react

Version:

A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features

101 lines (100 loc) 4.66 kB
{ "name": "@rebilly/framepay-react", "version": "11.7.0", "description": "A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features", "main": "build/index.js", "author": "Rebilly", "types": "build/index.d.ts", "repository": "https://github.com/Rebilly/rebilly", "license": "MIT", "keywords": [ "framepay", "react", "rebilly", "billing", "payment", "framepay-react" ], "files": [ "build", "types", "CHANGELOG.md", "src", "test", ".env.example", "LICENSE", "env.js", "tsconfig.json", "tsconfig.spec.json" ], "scripts": { "set-react-14": "cross-env REACT_VERSION=0.14.0 node ./test/e2e/switch-react-version", "set-react-15": "cross-env REACT_VERSION=15.0.0 node ./test/e2e/switch-react-version", "set-react-16": "cross-env REACT_VERSION=16 node ./test/e2e/switch-react-version", "set-react-17": "cross-env REACT_VERSION=17 node ./test/e2e/switch-react-version", "set-react-18": "cross-env REACT_VERSION=18 node ./test/e2e/switch-react-version", "set-react-19": "pnpm clean-react-alias", "clean-react-alias": "cross-env REACT_VERSION=clean node ./test/e2e/switch-react-version", "dotenv": "node ./env.js", "build": "cross-env NODE_ENV=production tsc -p tsconfig.json", "build:e2e": "cross-env NODE_ENV=production run-s dotenv build clean:e2e && parcel build ./test/e2e/fixtures/* --no-minify --no-cache --out-dir test/e2e/build", "dev:e2e": "cross-env NODE_ENV=development && run-s dotenv && parcel ./test/e2e/fixtures/* --no-cache --out-dir test/e2e/build", "serve:e2e": "run-s dotenv build:* && node test/e2e/local-server.mjs", "serve:e2e:no-build": "node test/e2e/local-server.mjs", "test:unit": "jest --config ./test/unit/jest.config.js", "test:e2e:base": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test 'pnpm serve:e2e:no-build' https-get://localhost:8000 'pnpm test:e2e:run'", "test:e2e:react-14": "cross-env REACT_VERSION=0.14.0 run-s set-react-14 dotenv build:e2e clean-react-alias test:e2e:base", "test:e2e:react-15": "cross-env REACT_VERSION=15.0.0 run-s set-react-15 dotenv build:e2e clean-react-alias test:e2e:base", "test:e2e:react-16": "cross-env REACT_VERSION=16 run-s set-react-16 dotenv build:e2e clean-react-alias test:e2e:base", "test:e2e:react-17": "cross-env REACT_VERSION=17 run-s set-react-17 dotenv build:e2e clean-react-alias test:e2e:base", "test:e2e:react-18": "cross-env REACT_VERSION=18 run-s set-react-18 dotenv build:e2e clean-react-alias test:e2e:base", "test:e2e:react-19": "cross-env REACT_VERSION=19 run-s set-react-19 dotenv build:e2e clean-react-alias test:e2e:base", "test:e2e:pr": "npm run test:e2e:react-19", "test:e2e:post-merge": "run-s test:e2e:react-*", "test:e2e:open": "cypress open", "test:e2e:run": "cypress run", "watch": "run-s build && run-p \"build -- --w\"", "clean:e2e": "rm -rf test/e2e/build" }, "peerDependencies": { "react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "dependencies": { "@rebilly/framepay": "*", "create-react-context": "^0.3.0", "prop-types": "^15.8.1" }, "devDependencies": { "@fluffy-spoon/substitute": "^1.89.0", "@rebilly/eslint-config": "*", "@small-tech/auto-encrypt-localhost": "^8.4.0", "@testing-library/cypress": "^10.0.3", "@testing-library/react": "^15.0.7", "@types/jest": "^29.5.1", "@types/node": "^22.15.30", "@types/react": "^19.1.3", "core-js": "^3.42.0", "cross-env": "^7.0.3", "cypress": "^13.17.0", "cypress-iframe": "^1.0.1", "dotenv": "^16.5.0", "eslint-plugin-react": "^7.37.5", "express": "^5.1.0", "gud": "^1.0.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.7.0", "npm-run-all": "^4.1.5", "parcel-bundler": "^1.12.5", "portfinder": "^1.0.35", "prop-types": "^15.0.0", "react": "^19.1.0", "react-dom": "^19.1.0", "react-dom-19": "npm:react-dom@19.1.0", "scheduler": "^0.26.0", "start-server-and-test": "^2.0.11", "ts-jest": "^29.3.2", "typescript": "^5.8.3", "warning": "^4.0.3" } }