| { | |
| "name": "i18n-calypso", | |
| "version": "7.4.0", | |
| "description": "I18n JavaScript library on top of Tannin originally used in Calypso.", | |
| "main": "dist/cjs/index.js", | |
| "module": "dist/esm/index.js", | |
| "calypso:src": "src/index.ts", | |
| "types": "src/types", | |
| "exports": { | |
| ".": { | |
| "calypso:src": "./src/index.ts", | |
| "types": "./src/types/index.d.ts", | |
| "import": "./dist/esm/index.js", | |
| "require": "./dist/cjs/index.js" | |
| } | |
| }, | |
| "sideEffects": false, | |
| "repository": { | |
| "type": "git", | |
| "url": "git+https://github.com/Automattic/wp-calypso.git", | |
| "directory": "packages/i18n-calypso" | |
| }, | |
| "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/i18n-calypso#readme", | |
| "scripts": { | |
| "clean": "tsc --build ./tsconfig.json ./tsconfig-cjs.json --clean && rm -rf dist", | |
| "build": "tsc --build ./tsconfig.json ./tsconfig-cjs.json", | |
| "prepare": "yarn run clean && yarn run build", | |
| "watch": "tsc --build ./tsconfig.json --watch", | |
| "test": "yarn jest" | |
| }, | |
| "dependencies": { | |
| "@automattic/interpolate-components": "workspace:^", | |
| "@babel/runtime": "^7.27.1", | |
| "@tannin/sprintf": "^1.1.0", | |
| "@wordpress/compose": "^7.23.0", | |
| "debug": "^4.4.1", | |
| "hash.js": "^1.1.7", | |
| "lru": "^3.1.0", | |
| "tannin": "^1.2.0", | |
| "use-subscription": "1.11.0" | |
| }, | |
| "devDependencies": { | |
| "@automattic/calypso-typescript-config": "workspace:^", | |
| "@testing-library/jest-dom": "^6.6.3", | |
| "@types/jest": "^29.5.14", | |
| "@types/react": "^18.3.23", | |
| "react": "^18.3.1", | |
| "react-dom": "^18.3.1", | |
| "react-test-renderer": "^18.3.1", | |
| "typescript": "^5.8.3" | |
| }, | |
| "peerDependencies": { | |
| "react": "^18.3.1" | |
| } | |
| } | |