UNPKG

@adyen/kyc-components

Version:

`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar

183 lines (182 loc) 6.84 kB
{ "name": "@adyen/kyc-components", "version": "3.52.1", "keywords": [ "adyen", "adyen-kyc", "platforms", "components", "onboarding", "adyen-for-platforms", "adyen-kyc-components", "onboarding-components" ], "description": "", "license": "MIT", "files": [ "./dist" ], "publishConfig": { "access": "public" }, "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/es/adyen-kyc-components.es.js" }, "./styles.css": "./dist/style.css" }, "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/Adyen/adyen-kyc-components/" }, "type": "module", "scripts": { "analyze:bundle:npm": "rollup-plugin-visualizer bundle-stats/report-npm.json --filename bundle-stats/report-npm.html --template sunburst --open", "analyze:bundle:cdn": "rollup-plugin-visualizer bundle-stats/report-cdn.json --filename bundle-stats/report-cdn.html --template sunburst --open", "build:npm": "rm -rf dist && npm run types:build && vite build --mode production && vite-node ./scripts/ensureNoReactImportsInDist.ts", "build:demo": "rm -rf .demo && vite build --mode demo", "build:cdn": "rm -rf dist-cdn && vite build --mode production-cdn", "build:watch": "vite build --mode production --watch", "check:all": "concurrently \"npm run types:check\" \"npm run lint:quiet\" \"npm run lint:scss\" \"npm run prettier\" -n tsc,eslint,stylelint,prettier -c cyan,magenta,yellow,blue", "check:commits": "commitlint --from", "check:commits:since-main": "npm run check:commits -- main", "clean": "rm -rf dist*", "commit": "commit", "submit": "bash ./scripts/pr-create.sh", "env:generate": "vite-node ./env/generateEnv.ts", "demo": "npm run build:demo && npm run demo:serve", "demo:serve": "vite preview --mode demo", "dev": "concurrently \"vite dev\" \"npm run types:watch\" -n vite,tsc -c green,cyan -k", "dev:mocked": "concurrently \"vite dev --mode mocked\" \"npm run types:watch\" -n vite,tsc -c green,cyan -k", "fix:all": "npm run fix:prettier && npm run fix:lint", "fix:lint": "npm run lint:fix", "fix:prettier": "npm run prettier:fix", "lint:all": "concurrently \"npm run lint\" \"npm run lint:scss\" -p none", "lint": "eslint", "lint:fix": "npm run lint -- --fix", "lint:quiet": "npm run lint -- --quiet", "lint:quiet:fix": "npm run lint:fix -- --quiet", "lint:scss": "stylelint 'src/**/*.scss' '!node_modules/**/*.scss'", "lint:scss:fix": "npm run lint:scss -- --fix", "prepare": "bash ./scripts/process-package-lock.sh", "prettier": "prettier --config ./.prettierrc.json --ignore-unknown --check \"**/*\"", "prettier:fix": "prettier --config ./.prettierrc.json --ignore-unknown --write \"**/*\"", "repo:setup": "bash ./scripts/first-time-setup.sh", "start": "npm run dev", "storybook": "vite-node .storybook/scripts/runStorybook.ts", "storybook:build": "vite-node .storybook/scripts/buildStorybook.ts", "test": "vitest", "test:run": "vitest --run", "test:coverage": "vitest --coverage", "test:e2e": "playwright test", "test:e2e:debug": "cross-env PWDEBUG=console playwright test --debug", "test:e2e:ui": "playwright test --ui", "test:ui": "vitest --ui", "test:watch": "npm run test --watch", "types:build": "tsc --project tsconfig-build.json", "types:check": "tsc && tsc-strict", "types:watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { "@adyen/adyen-document-viewer": "^1.1.3", "@adyen/bento-design-tokens": "^1.31.1", "@adyen/openbankingsdk": "^0.2.3", "@adyen/ui-assets-icons-16": "^4.3.1", "@preact/signals": "^2.0.1", "@tanstack/react-query": "^5.49.2", "@tanstack/react-query-devtools": "^5.62.11", "classnames": "^2.5.1", "container-query-polyfill": "^1.0.2", "isomorphic-dompurify": "^2.17.0", "named-slots": "^0.3.1", "onfido-sdk-ui": "14.38.0", "preact": "^10.25.4", "react": "npm:@preact/compat@^18.3.1", "react-dom": "npm:@preact/compat@^18.3.1", "validator": "^13.7.0", "zustand": "^5.0.2", "zustand-computed": "^2.0.2" }, "devDependencies": { "@commitlint/cli": "^19.6.0", "@commitlint/config-conventional": "^19.6.0", "@commitlint/prompt-cli": "^19.6.0", "@eslint/compat": "^1.1.1", "@eslint/js": "^9.17.0", "@playwright/test": "^1.48.2", "@preact/preset-vite": "^2.9.3", "@storybook/addon-a11y": "^8.4.0", "@storybook/addon-actions": "^8.4.0", "@storybook/addon-essentials": "^8.4.0", "@storybook/addon-storysource": "^7.6.20", "@storybook/core-server": "^8.4.0", "@storybook/experimental-addon-test": "^8.4.0", "@storybook/preact": "^8.4.0", "@storybook/preact-vite": "^8.4.0", "@storybook/test": "^8.4.0", "@tanstack/eslint-plugin-query": "^5.62.1", "@testing-library/jest-dom": "^6.5.0", "@testing-library/preact": "^3.2.3", "@testing-library/user-event": "^14.5.2", "@types/lodash-es": "^4.17.12", "@types/validator": "^13.12.0", "@typescript-eslint/eslint-plugin": "^8.16.0", "@typescript-eslint/parser": "^8.16.0", "@vitest/browser": "^2.1.9", "@vitest/coverage-v8": "^2.1.9", "@vitest/ui": "^2.1.9", "axios": "^1.8.2", "chalk": "^5.4.0", "concurrently": "^9.0.1", "cross-env": "^7.0.3", "dotenv": "^16.4.7", "eslint": "^9.17.0", "eslint-config-prettier": "^8.10.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-check-file": "^2.8.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.10.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.36.1", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-testing-library": "^7.1.1", "inquirer": "^11.1.0", "jsdom": "^25.0.1", "jsonc-eslint-parser": "^2.4.0", "lodash-es": "^4.17.21", "msw": "^2.6.5", "msw-storybook-addon": "^2.0.2", "phone": "^3.1.40", "postcss": "^8.4.49", "prettier": "^3.4.1", "remark-gfm": "^4.0.0", "rollup-plugin-visualizer": "^5.12.0", "sass": "^1.79.3", "stylelint": "^15.9.0", "stylelint-config-recommended-scss": "^11.0.0", "stylelint-config-sass-guidelines": "^10.0.0", "stylelint-scss": "^4.7.0", "type-fest": "^3.13.1", "typescript": "^5.7.2", "typescript-eslint": "^8.16.0", "typescript-strict-plugin": "^2.2.0", "vite": "^5.4.14", "vite-node": "^2.1.6", "vite-plugin-svgr": "^4.3.0", "vitest": "^2.1.9" }, "overrides": { "msw": { "typescript": "^5" }, "@storybook/preact-vite": { "vite": "^4 || ^5" } }, "engines": { "node": ">=20" } }