UNPKG

@automattic/shopping-cart

Version:
50 lines 1.41 kB
{ "name": "@automattic/shopping-cart", "version": "2.0.1", "description": "A library to use the WordPress.com shopping cart.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "calypso:src": "src/index.ts", "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/shopping-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/shopping-cart#readme", "dependencies": { "debug": "^4.3.3" }, "peerDependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@automattic/calypso-typescript-config": "^1.0.0", "@testing-library/jest-dom": "^6.4.5", "@testing-library/react": "^15.0.7", "typescript": "^5.3.3" } }