Files
notesnook/packages/intl/package.json

52 lines
1.4 KiB
JSON
Raw Permalink Normal View History

2024-07-27 10:19:01 +05:00
{
"name": "@notesnook/intl",
"version": "1.0.0",
"main": "./dist/index.js",
2024-10-03 15:12:35 +05:00
"module": "./dist/index.mjs",
2024-07-27 10:19:01 +05:00
"types": "./dist/index.d.ts",
2024-10-03 15:12:35 +05:00
"license": "GPL-3.0-or-later",
"exports": {
2024-10-10 12:19:33 +05:00
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
2024-10-03 15:12:35 +05:00
},
2024-10-10 12:19:33 +05:00
"./locales/*.json": "./dist/locales/*.json"
2024-10-03 15:12:35 +05:00
},
"repository": {
"type": "git",
"url": "git://github.com/streetwriters/notesnook.git"
},
2024-07-27 10:19:01 +05:00
"scripts": {
"extract": "lingui extract --clean --overwrite",
2024-07-27 10:19:01 +05:00
"compile": "lingui compile --typescript",
"build-locale": "node scripts/generate-strings.mjs && npm run extract && npm run compile",
2024-10-10 12:19:33 +05:00
"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\"",
2024-10-10 12:19:33 +05:00
"postinstall": "patch-package"
2024-07-27 10:19:01 +05:00
},
"devDependencies": {
"@lingui/cli": "5.1.2",
"@lingui/swc-plugin": "5.0.2",
2025-01-21 13:01:36 +05:00
"@lingui/core": "5.1.2",
"@types/react": "18.3.5",
2024-07-27 10:19:01 +05:00
"babel-plugin-macros": "^3.1.0",
"nodemon": "^3.1.7",
"react": "18.3.1",
"rollup": "^4.24.4",
"vite": "5.4.11",
2024-10-03 15:12:35 +05:00
"vite-plugin-dts": "^4.2.3",
2024-10-10 12:19:33 +05:00
"vite-plugin-static-copy": "^2.0.0",
"vite-plugin-swc-transform": "^1.0.1"
2024-07-27 10:19:01 +05:00
},
"peerDependencies": {
"@lingui/macro": "*",
"react": ">=18"
}
2025-01-21 13:01:36 +05:00
}