mirror of
https://github.com/jlengrand/adyen-web.git
synced 2026-03-10 08:01:22 +00:00
143 lines
5.3 KiB
JSON
143 lines
5.3 KiB
JSON
{
|
|
"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": {
|
|
".": {
|
|
"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.49.1",
|
|
"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.0.20",
|
|
"@storybook/addon-essentials": "^7.0.20",
|
|
"@storybook/manager-api": "^7.0.20",
|
|
"@storybook/preact": "^7.0.20",
|
|
"@storybook/preact-vite": "^7.0.20",
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/preact": "3.2.3",
|
|
"@testing-library/preact-hooks": "1.1.0",
|
|
"@testing-library/user-event": "14.4.3",
|
|
"@types/jest": "29.5.2",
|
|
"@typescript-eslint/eslint-plugin": "5.59.1",
|
|
"@typescript-eslint/parser": "5.59.1",
|
|
"autoprefixer": "10.4.14",
|
|
"babel-jest": "29.5.0",
|
|
"cross-env": "^7.0.3",
|
|
"cssnano": "5.1.15",
|
|
"dotenv": "^16.0.3",
|
|
"enzyme": "3.11.0",
|
|
"enzyme-adapter-preact-pure": "4.1.0",
|
|
"eslint": "8.39.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.12",
|
|
"eslint-plugin-testing-library": "^5.9.1",
|
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
"filesize": "^10.0.0",
|
|
"gzip-size": "^6.0.0",
|
|
"husky": "^8.0.1",
|
|
"jest": "29.5.0",
|
|
"jest-environment-jsdom": "29.5.0",
|
|
"jest-mock-extended": "^3.0.1",
|
|
"lint-staged": "^13.0.3",
|
|
"postcss": "8.4.24",
|
|
"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.62.1",
|
|
"storybook": "^7.0.20",
|
|
"stylelint": "15.10.1",
|
|
"stylelint-config-standard-scss": "7.0.1",
|
|
"tslib": "^2.4.1",
|
|
"typescript": "4.9.5",
|
|
"vite": "4.3.9",
|
|
"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": "^3.0.4",
|
|
"@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"
|
|
}
|
|
}
|