File size: 1,728 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 58 59 |
{
"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"
}
}
|