lr-i18n
Version:
Allows to connect your `Laravel` Framework localization files with `React`.
67 lines (66 loc) • 2.14 kB
JSON
{
"name": "lr-i18n",
"version": "0.0.1",
"author": {
"name": "Arif Sajal",
"email": "arif.is.sajal@gmail.com"
},
"keywords": [
"vite-plugin",
"vite-plugin-laravel",
"laravel",
"react",
"i18n",
"inertiajs"
],
"engines": {
"npm": ">=9.0.0",
"node": ">=16.0.0"
},
"repository": "https://github.com/asajal/laravel-react-i18n",
"license": "MIT",
"description": "Allows to connect your `Laravel` Framework localization files with `React`.",
"main": "dist/cjs/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"prettier": "prettier -c \"src/**/*.(ts|tsx)\" --write",
"build": "npm run build:client && npm run build:commonjs && npm run build:plugin",
"build:client": "tsc -p tsconfig.client.json",
"build:commonjs": "tsc -p tsconfig.commonjs.json",
"build:plugin": "tsc -p tsconfig.plugin.json",
"prepare": "npm run build",
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags"
},
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.1",
"@types/node": "^18.16.8",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"eslint": "^8.40.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^2.8.8",
"typescript": "^5.0.4",
"vite": "^4.3.5"
},
"dependencies": {
"php-array-reader": "^2.1.2",
"react": "^18.2.0"
}
}