Files
notesnook/packages/intl/package.json

53 lines
1.5 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": "^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",
"nodemon": "^3.1.7",
"react": "18.2.0",
"rollup": "^4.24.4",
"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"
}
}