@gftdcojp/weblate-nextjs-sdk
Version:
A Next.js SDK for integrating with Weblate translation management system
72 lines (71 loc) • 2.41 kB
JSON
{
"name": "@gftdcojp/weblate-nextjs-sdk",
"version": "2025.07.2",
"description": "A Next.js SDK for integrating with Weblate translation management system",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"dev": "cd example && next dev",
"build": "tsc",
"start": "cd example && next start",
"type-check": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"test": "jest",
"test:watch": "jest --watch",
"prepare": "husky install",
"prepublishOnly": "npm run build && npm run test",
"calver": "node scripts/calver.js",
"calver:major": "node scripts/calver.js major",
"release": "npm run calver && npm run build && npm test && git add . && git commit -m \"chore: release $(node -p \"require('./package.json').version\")\" && git tag v$(node -p \"require('./package.json').version\") && git push origin main --tags && npm publish",
"release:major": "npm run calver:major && npm run build && npm test && git add . && git commit -m \"chore: major release $(node -p \"require('./package.json').version\")\" && git tag v$(node -p \"require('./package.json').version\") && git push origin main --tags && npm publish",
"example:dev": "cd example && next dev",
"example:build": "cd example && next build"
},
"keywords": [
"weblate",
"nextjs",
"i18n",
"translation",
"sdk",
"typescript"
],
"author": "",
"license": "MIT",
"dependencies": {
"axios": "^1.6.0",
"next": "^14.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"swr": "^2.2.0"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"eslint-config-next": "^14.0.0",
"husky": "^8.0.0",
"jest": "^29.0.0",
"ts-jest": "^29.4.0",
"typescript": "^5.0.0"
},
"peerDependencies": {
"next": ">=13.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gftdcojp/weblate-nextjs-sdk.git"
},
"bugs": {
"url": "https://github.com/gftdcojp/weblate-nextjs-sdk/issues"
},
"homepage": "https://github.com/gftdcojp/weblate-nextjs-sdk#readme",
"publishConfig": {
"access": "public"
}
}