Files
notesnook/packages/intl/package.json
2024-10-10 12:35:58 +05:00

51 lines
1.3 KiB
JSON

{
"name": "@notesnook/intl",
"version": "1.0.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"license": "GPL-3.0-or-later",
"exports": {
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
},
"./locales/*.json": "./dist/locales/*.json"
},
"repository": {
"type": "git",
"url": "git://github.com/streetwriters/notesnook.git"
},
"scripts": {
"extract": "lingui extract",
"compile": "lingui compile --typescript",
"build-locale": "npm run extract && npm run compile",
"build": "npm run build-locale && npx vite build && node scripts/postbuild.mjs",
"watch": "nodemon --watch ./src/*.ts --exec \"npx vite build\"",
"postinstall": "patch-package"
},
"devDependencies": {
"@lingui/cli": "^4.11.4",
"@lingui/macro": "^4.11.4 ",
"@lingui/swc-plugin": "^4.0.10",
"@types/react": "^18.2.39",
"babel-plugin-macros": "^3.1.0",
"react": "18.2.0",
"typescript": "5.5.3",
"vite": "^5.4.8",
"vite-plugin-dts": "^4.2.3",
"vite-plugin-static-copy": "^2.0.0",
"vite-plugin-swc-transform": "^1.0.1"
},
"peerDependencies": {
"@lingui/macro": "*",
"react": ">=18"
}
}