Files
notesnook/packages/intl/package.json
Abdullah Atta 5fe366f4f3 global: use same versions for dependencies everywhere (#7365)
* global: use same versions for dependencies everywhere

* intl: fix `Cannot find module '@lingui/macro'`

* web: fix `I18n' is not assignable to parameter` type error

* setup: log post install cmd

* setup: more logging

* web: update lockfile
2025-01-21 09:35:38 +05:00

50 lines
1.4 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 --clean --overwrite",
"compile": "lingui compile --typescript",
"build-locale": "node scripts/generate-strings.mjs && npm run extract && npm run compile",
"build": "npm run build-locale && npx vite build && node scripts/postbuild.mjs",
"watch": "nodemon --watch scripts/ --watch src --ext ts,mjs --exec \"npm run build\"",
"postinstall": "patch-package"
},
"devDependencies": {
"@lingui/cli": "5.1.2",
"@lingui/swc-plugin": "5.0.2",
"@types/react": "18.3.5",
"babel-plugin-macros": "^3.1.0",
"nodemon": "^3.1.7",
"react": "18.3.1",
"rollup": "^4.24.4",
"vite": "5.4.11",
"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"
}
}