@automattic/mini-cart
Version:
A simple wp.com shopping-cart interface.
71 lines • 2.03 kB
JSON
{
"name": "@automattic/mini-cart",
"version": "1.0.4",
"description": "A simple wp.com shopping-cart interface.",
"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 && npx rimraf 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",
"cart",
"shopping",
"payments",
"automattic"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Automattic/wp-calypso.git",
"directory": "packages/mini-cart"
},
"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/mini-cart#readme",
"dependencies": {
"@automattic/composite-checkout": "^2.0.1",
"@automattic/number-formatters": "^1.0.1",
"@automattic/shopping-cart": "^2.0.1",
"@automattic/wpcom-checkout": "^1.0.4",
"@emotion/styled": "^11.11.0",
"@wordpress/i18n": "^5.23.0",
"@wordpress/react-i18n": "^4.23.0",
"debug": "^4.4.1",
"i18n-calypso": "^7.4.0"
},
"devDependencies": {
"@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"
},
"peerDependencies": {
"@emotion/react": "^11.4.1"
}
}