UNPKG

@adyen/adyen-web

Version:

[![npm](https://img.shields.io/npm/v/@adyen/adyen-web.svg)](https://www.npmjs.com/package/@adyen/adyen-web)

144 lines (143 loc) 5.44 kB
{ "name": "@adyen/adyen-web", "keywords": [ "adyen", "adyen-web", "checkout", "payment", "payments", "components" ], "main": "dist/cjs/index.js", "module": "dist/es/index.js", "umd:main": "dist/adyen.js", "browser": "dist/adyen.js", "types": "dist/types", "typings": "dist/types", "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/cjs/index.js" }, "./modern": "./dist/es.modern/index.js", "./dist/adyen.css": "./dist/adyen.css", "./dist/es/adyen.css": "./dist/es/adyen.css", "./package.json": "./package.json" }, "version": "5.62.0", "license": "MIT", "homepage": "https://docs.adyen.com/checkout", "repository": "github:Adyen/adyen-web", "bugs": { "url": "https://support.adyen.com/" }, "scripts": { "start": "npm run dev-server", "dev-server": "cross-env NODE_ENV=development rollup --watch --config config/rollup.dev.config.js", "start:storybook": "node .storybook/run.js", "docs:generate": "typedoc --out docs src --exclude \"**/*+(index|.test).ts\"", "build": "rm -rf dist/ && npm run type-check-generate && cross-env NODE_ENV=production rollup --config config/rollup.config.js", "build:analyze": "rm -rf dist/ && cross-env NODE_ENV=analyze rollup --config config/rollup.config.js", "build:storybook": "storybook build --disable-telemetry", "test": "jest --config config/jest.config.js", "test:watch": "npm run test -- --watchAll", "test:coverage": "npm run test -- --coverage", "size": "npm run build && node ./scripts/size", "size-only": "node ./scripts/size", "type-check": "tsc --noEmit", "type-check-generate": "tsc --emitDeclarationOnly", "format": "npm run lint:fix && npm run prettier:fix && npm run styles:fix", "lint": "eslint 'src/**/*.{js,ts,tsx}' --quiet", "lint-styles": "stylelint '**/*.scss'", "styles:fix": "npm run lint-styles -- --fix", "lint:fix": "npm run lint -- --fix", "prettier:fix": "prettier \"src/**/*.{js,ts,tsx}\" \"package.json\" --write --loglevel silent", "prepublishOnly": "npm run build", "prepare": "cd ../.. && husky install packages/lib/.husky" }, "devDependencies": { "@babel/cli": "^7.18.10", "@babel/core": "^7.16.0", "@babel/plugin-transform-runtime": "^7.19.1", "@babel/preset-env": "^7.21.5", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.5", "@babel/runtime-corejs3": "^7.20.1", "@rollup/plugin-babel": "^6.0.2", "@rollup/plugin-commonjs": "^24.0.0", "@rollup/plugin-eslint": "^9.0.1", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-replace": "^5.0.1", "@storybook/addon-a11y": "^7.6.6", "@storybook/addon-essentials": "^7.6.6", "@storybook/manager-api": "^7.6.6", "@storybook/preact": "^7.6.6", "@storybook/preact-vite": "^7.6.6", "@testing-library/jest-dom": "6.1.4", "@testing-library/preact": "3.2.3", "@testing-library/preact-hooks": "1.1.0", "@testing-library/user-event": "14.5.1", "@types/jest": "29.5.10", "@typescript-eslint/eslint-plugin": "5.62.0", "@typescript-eslint/parser": "5.62.0", "autoprefixer": "10.4.16", "babel-jest": "29.7.0", "cross-env": "^7.0.3", "cssnano": "6.0.1", "dotenv": "^16.0.3", "enzyme": "3.11.0", "enzyme-adapter-preact-pure": "4.1.0", "eslint": "8.53.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-react": "^7.31.8", "eslint-plugin-storybook": "^0.6.15", "eslint-plugin-testing-library": "6.2.0", "eslint-plugin-tsdoc": "^0.2.17", "filesize": "^10.0.0", "gzip-size": "^6.0.0", "husky": "^8.0.1", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "jest-mock-extended": "^3.0.1", "lint-staged": "^15.0.0", "postcss": "8.4.31", "react": "^18.2.0", "react-dom": "^18.2.0", "rollup": "^2.79.1", "rollup-plugin-postcss": "4.0.2", "rollup-plugin-stylelint": "1.0.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-visualizer": "^5.8.3", "sass": "1.69.5", "storybook": "^7.6.6", "stylelint": "15.11.0", "stylelint-config-standard-scss": "7.0.1", "tslib": "2.6.2", "typescript": "4.9.5", "vite": "4.5.2", "vite-plugin-stylelint": "^4.3.0", "whatwg-fetch": "^3.6.2" }, "dependencies": { "@babel/runtime": "^7.15.4", "@babel/runtime-corejs3": "^7.20.1", "@types/applepayjs": "14.0.6", "@types/googlepay": "^0.7.0", "classnames": "^2.3.1", "core-js-pure": "^3.25.3", "preact": "10.13.2" }, "files": [ "dist", "LICENSE", "README" ], "lint-staged": { "*.{js,jsx,ts,tsx}": "eslint", "*.{scss,css}": "stylelint", "*.{js,jsx,ts,tsx,html,md}": "prettier --write" } }