@automattic/wpcom-checkout
Version:
Functions and components used by WordPress.com checkout.
81 lines • 2.5 kB
JSON
{
"name": "@automattic/wpcom-checkout",
"version": "1.0.4",
"description": "Functions and components used by WordPress.com checkout.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"calypso:src": "src/index.ts",
"exports": {
".": {
"calypso:src": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"sideEffects": false,
"scripts": {
"clean": "tsc --build ./tsconfig.json ./tsconfig-cjs.json --clean && rm -rf dist",
"build": "tsc --build ./tsconfig.json ./tsconfig-cjs.json && copy-assets",
"prepack": "yarn run clean && yarn run build",
"watch": "tsc --build ./tsconfig.json --watch"
},
"files": [
"dist",
"src"
],
"keywords": [
"checkout",
"payments",
"automattic"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Automattic/wp-calypso.git",
"directory": "packages/wpcom-checkout"
},
"author": "Automattic Inc.",
"license": "GPL-2.0-or-later",
"bugs": "https://github.com/Automattic/wp-calypso/issues",
"homepage": "https://github.com/Automattic/wp-calypso/tree/HEAD/packages/wpcom-checkout#readme",
"dependencies": {
"@automattic/calypso-config": "^1.0.0-alpha.0",
"@automattic/calypso-products": "^1.2.2",
"@automattic/calypso-razorpay": "^0.0.1",
"@automattic/calypso-stripe": "^1.0.0",
"@automattic/components": "^3.0.1",
"@automattic/composite-checkout": "^2.0.1",
"@automattic/js-utils": "^0.1.0",
"@automattic/number-formatters": "^1.0.1",
"@automattic/shopping-cart": "^2.0.1",
"@emotion/styled": "^11.11.0",
"@fnando/cnpj": "2.0.0",
"@fnando/cpf": "1.0.2",
"@stripe/stripe-js": "^1.54.2",
"@wordpress/data": "^10.23.0",
"@wordpress/i18n": "^5.23.0",
"@wordpress/react-i18n": "^4.23.0",
"debug": "^4.4.1",
"i18n-calypso": "^7.4.0",
"postcss": "^8.5.3",
"prop-types": "^15.8.1"
},
"devDependencies": {
"@automattic/calypso-build": "^10.0.0",
"@automattic/calypso-typescript-config": "^1.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.8.3",
"webpack": "^5.99.8"
},
"peerDependencies": {
"@emotion/react": "^11.4.1"
}
}