@adyen/adyen-web
Version:
[](https://www.npmjs.com/package/@adyen/adyen-web)
151 lines (150 loc) • 5.34 kB
JSON
{
"name": "@adyen/adyen-web",
"version": "6.33.0",
"license": "MIT",
"homepage": "https://docs.adyen.com/checkout",
"type": "module",
"sideEffects": [
"*.css",
"./auto/auto.js",
"./auto/auto.cjs"
],
"main": "dist/cjs/index.cjs",
"module": "dist/es-legacy/index.js",
"types": "dist/es/index.d.ts",
"style": "dist/es/adyen.css",
"exports": {
".": {
"import": {
"types": "./dist/es/index.d.ts",
"default": "./dist/es/index.js"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"./auto": {
"import": {
"types": "./auto/auto.d.ts",
"default": "./auto/auto.js"
},
"require": {
"types": "./auto/auto.d.cts",
"default": "./auto/auto.cjs"
}
},
"./styles/adyen.css": "./dist/es/adyen.css"
},
"keywords": [
"adyen",
"adyen-web",
"checkout",
"payment",
"payments",
"components"
],
"repository": "github:Adyen/adyen-web",
"bugs": {
"url": "https://support.adyen.com/"
},
"files": [
"auto/**",
"dist/cjs/**",
"dist/es/**",
"dist/es-legacy/**",
"styles/**",
"LICENSE",
"README"
],
"scripts": {
"start": "yarn run dev-server",
"story": "storybook dev --port 3020 --disable-telemetry",
"dev-server": "rollup --watch --config config/rollup.dev.js",
"build": "rm -rf dist/ && yarn run lint && yarn run lint-styles && yarn run type-check && yarn run build:types && rollup --config config/rollup.prod.js && rm -rf dist/temp-types",
"build:types": "tsc --emitDeclarationOnly && node scripts/add-type-references.cjs",
"docs:generate": "typedoc --out docs src --exclude \"**/*+(index|.test).ts\"",
"start:storybook": "node .storybook/run.cjs",
"build:storybook": "storybook build --disable-telemetry",
"test": "jest --config config/jest.config.cjs",
"test:watch": "yarn run test --watchAll",
"test:coverage": "yarn run test --coverage",
"type-check": "tsc --noEmit",
"format": "yarn run lint:fix && yarn run prettier:fix && yarn run styles:fix",
"lint": "eslint .",
"lint-styles": "stylelint \"**/*.scss\"",
"styles:fix": "yarn run lint-styles --fix",
"lint:fix": "yarn run lint --fix",
"prettier:fix": "prettier \"src/**/*.{js,jsx,ts,tsx,html,md}\" \"package.json\" --write --loglevel silent",
"prepublishOnly": "yarn run build && rm -rf ./styles && mkdir ./styles && cp ./dist/es/adyen.css ./styles/adyen.css",
"size": "yarn run build && size-limit",
"validate:fix": "lint-staged",
"validate:strict": "tsc --project tsconfig.strict.json --noEmit"
},
"devDependencies": {
"@adyen/bento-design-tokens": "1.10.0",
"@eslint/js": "9.39.2",
"@preact/preset-vite": "2.10.3",
"@rollup/plugin-commonjs": "29.0.0",
"@rollup/plugin-eslint": "9.2.0",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-replace": "6.0.3",
"@rollup/plugin-terser": "0.4.4",
"@size-limit/preset-big-lib": "12.0.0",
"@storybook/addon-a11y": "10.2.10",
"@storybook/addon-docs": "10.2.10",
"@storybook/preact-vite": "10.2.10",
"@swc/core": "1.15.11",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/preact": "3.2.4",
"@testing-library/preact-hooks": "1.1.0",
"@testing-library/user-event": "14.6.1",
"@types/jest": "29.5.14",
"autoprefixer": "10.4.24",
"cssnano": "7.1.2",
"dotenv": "17.3.1",
"eslint": "9.39.2",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-storybook": "10.2.10",
"eslint-plugin-testing-library": "7.16.0",
"globals": "17.3.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-fixed-jsdom": "^0.0.11",
"jest-mock-extended": "4.0.0",
"msw": "2.12.10",
"msw-storybook-addon": "2.0.6",
"postcss": "8.5.6",
"rollup": "4.59.0",
"rollup-plugin-dts": "6.3.0",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-stylelint": "1.0.0",
"rollup-plugin-swc3": "0.12.1",
"sass": "1.97.3",
"size-limit": "12.0.0",
"storybook": "10.2.10",
"stylelint": "16.26.1",
"stylelint-config-standard-scss": "16.0.0",
"ts-jest": "29.4.6",
"tslib": "2.8.1",
"typescript": "5.9.3",
"typescript-eslint": "7.18.0",
"vite": "6.4.1",
"vite-plugin-stylelint": "6.0.4",
"whatwg-fetch": "3.6.20"
},
"dependencies": {
"@types/applepayjs": "14.0.9",
"@types/googlepay": "0.7.10",
"classnames": "2.5.1",
"preact": "10.28.3"
},
"msw": {
"workerDirectory": [
"storybook/public"
]
}
}