UNPKG

@atlas-kitchen/adyen-web

Version:
165 lines (164 loc) 5.22 kB
{ "name": "@atlas-kitchen/adyen-web", "version": "6.15.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:atlas-kitchen/adyen-web", "bugs": { "url": "https://support.adyen.com/" }, "files": [ "auto/**", "dist/cjs/**", "dist/es/**", "dist/es-legacy/**", "styles/**", "LICENSE", "README" ], "scripts": { "start": "npm run dev-server", "story": "storybook dev --port 3020 --disable-telemetry", "dev-server": "rollup --watch --config config/rollup.dev.js", "build": "rm -rf dist/ && npm run lint && npm run lint-styles && npm run type-check && npm 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", "start:storybook:e2e": "cross-env DISABLE_MSW=true node .storybook/run.cjs", "build:storybook": "storybook build --disable-telemetry", "test": "jest --config config/jest.config.cjs", "test:watch": "npm run test -- --watchAll", "test:coverage": "npm run test -- --coverage", "type-check": "tsc --noEmit", "format": "npm run lint:fix && npm run prettier:fix && npm run styles:fix", "lint": "eslint .", "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 && rm -rf ./styles && mkdir ./styles && cp ./dist/es/adyen.css ./styles/adyen.css", "prepare": "cd ../.. && husky packages/lib/.husky", "size": "npm run build && size-limit" }, "devDependencies": { "@adyen/bento-design-tokens": "1.10.0", "@eslint/compat": "1.2.8", "@eslint/js": "9.25.1", "@preact/preset-vite": "2.10.1", "@rollup/plugin-commonjs": "28.0.3", "@rollup/plugin-eslint": "9.0.5", "@rollup/plugin-json": "6.1.0", "@rollup/plugin-node-resolve": "16.0.1", "@rollup/plugin-replace": "6.0.2", "@rollup/plugin-terser": "0.4.4", "@size-limit/preset-big-lib": "11.2.0", "@storybook/addon-a11y": "8.6.12", "@storybook/addon-essentials": "8.6.12", "@storybook/manager-api": "8.6.12", "@storybook/preact": "8.6.12", "@storybook/preact-vite": "8.6.12", "@swc/core": "1.11.21", "@testing-library/jest-dom": "6.6.3", "@testing-library/preact": "3.2.4", "@testing-library/preact-hooks": "1.1.0", "@testing-library/user-event": "14.5.2", "@types/eslint__js": "8.42.3", "@types/jest": "29.5.14", "autoprefixer": "10.4.21", "cross-env": "7.0.3", "cssnano": "7.0.6", "dotenv": "16.5.0", "enzyme": "3.11.0", "enzyme-adapter-preact-pure": "4.1.0", "eslint": "9.25.1", "eslint-plugin-import": "2.31.0", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-react": "7.37.5", "eslint-plugin-storybook": "0.12.0", "eslint-plugin-testing-library": "6.5.0", "globals": "15.15.0", "husky": "9.1.7", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "jest-fixed-jsdom": "^0.0.9", "jest-mock-extended": "3.0.7", "lint-staged": "15.5.1", "msw": "2.7.5", "msw-storybook-addon": "2.0.4", "postcss": "8.5.3", "rollup": "4.37.0", "rollup-plugin-dts": "6.2.1", "rollup-plugin-postcss": "4.0.2", "rollup-plugin-stylelint": "1.0.0", "rollup-plugin-swc3": "0.12.1", "sass": "1.77.8", "size-limit": "11.2.0", "storybook": "8.6.12", "stylelint": "16.18.0", "stylelint-config-standard-scss": "13.1.0", "ts-jest": "29.3.2", "tslib": "2.8.1", "typescript": "5.5.3", "typescript-eslint": "7.18.0", "vite": "6.3.5", "vite-plugin-stylelint": "6.0.0", "whatwg-fetch": "3.6.20" }, "dependencies": { "@types/applepayjs": "14.0.9", "@types/googlepay": "0.7.6", "classnames": "2.5.1", "preact": "10.22.1" }, "lint-staged": { "*.{js,jsx,ts,tsx}": "eslint", "*.{scss,css}": "stylelint", "*.{js,jsx,ts,tsx,html,md}": "prettier --write" }, "msw": { "workerDirectory": [ "storybook/public" ] } }