File size: 1,512 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
{
"name": "@automattic/calypso-paypal",
"version": "1.0.0",
"description": "A set of helper functions and components for using PayPal on WordPress.com.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"calypso:src": "index.ts",
"exports": {
".": {
"calypso: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",
"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/calypso-paypal"
},
"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/calypso-paypal#readme",
"dependencies": {
"@paypal/react-paypal-js": "^8.7.0",
"@wordpress/i18n": "^5.23.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@automattic/calypso-typescript-config": "workspace:^",
"typescript": "^5.8.3"
},
"private": true
}
|