UNPKG

vue-i18n-composable

Version:
114 lines (113 loc) 3.52 kB
{ "name": "vue-i18n-composable", "description": "Composition API for vue-i18n in Vue 2.x", "version": "2.0.0", "author": "Anthony Fu <anthonyfu117@hotmail.com>", "packageManager": "pnpm@7.4.0", "bugs": { "url": "https://github.com/inlitify/vue-i18n-composable/issues" }, "changelog": { "labels": { "Type: Feature": ":star: Features", "Type: Bug": ":bug: Bug Fixes", "Type: Security": ":lock: Security Fixes", "Type: Performance": ":chart_with_upwards_trend: Performance Fixes", "Type: Improvement": ":zap: Improvement Features", "Type: Breaking": ":boom: Breaking Change", "Type: Deprecated": ":warning: Deprecated Features", "Type: I18n": ":globe_with_meridians: Internationalization", "Type: A11y": ":wheelchair: Accessibility", "Type: Documentation": ":pencil: Documentation" } }, "devDependencies": { "@kazupon/lerna-changelog": "^4.3.0", "@secretlint/secretlint-rule-preset-recommend": "^3.1.0", "@typescript-eslint/eslint-plugin": "^5.30.0", "@typescript-eslint/parser": "^5.30.0", "@types/jest": "^27.0.1", "@vue/test-utils": "^1.3.0", "@vue/vue2-jest": "^28.0.1", "eslint": "^8.19.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^27.1.1", "lint-staged": "^11.1.2", "npm-run-all": "^4.1.5", "prettier": "^2.7.1", "secretlint": "^3.3.0", "shipjs": "^0.23.3", "ts-jest": "^27.0.5", "tsup": "^4.14.0", "typescript": "^4.4.2", "vue": "^2.7.1", "vue-i18n": "^8.25.0", "vue-template-compiler": "^2.7.1", "yorkie": "^2.0.0" }, "exports": { "require": "./dist/index.js", "import": "./dist/index.mjs" }, "files": [ "dist" ], "gitHooks": { "pre-commit": "lint-staged" }, "homepage": "https://github.com/intlify/vue-i18n-composable/tree/master#readme", "keywords": [ "composition-api", "i18n", "internationalization", "intlify", "vue", "vue-i18n", "vue.js" ], "license": "MIT", "lint-staged": { "*.{json,md,yml}": [ "prettier --write" ], "*.{js,vue}": [ "prettier --write", "eslint --fix --ext .js,.vue" ], "*.ts?(x)": [ "prettier --parser=typescript --write", "eslint --fix --ext .ts" ], "*": [ "secretlint" ] }, "main": "dist/index.js", "module": "dist/index.mjs", "peerDependencies": { "vue": ">=2.7 <3", "vue-i18n": ">=8 <9" }, "repository": "https://github.com/intlify/vue-i18n-composable", "scripts": { "build": "tsup src/index.ts --format iife,cjs,esm --dts --external vue,vue-i18n,@vue/composition-api", "dev": "npm run build -- --watch", "fix": "run-p lint:fix format:fix", "format:fix": "run-p \"format:prettier --write\"", "format:prettier": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{js,json,html}'", "lint": "run-p lint:secret lint:codes", "lint:codes": "eslint ./src --ext .js,.ts,.vue,.json", "lint:fix": "run-p \"lint:codes --fix\"", "lint:secret": "secretlint \"**/*\"", "prepublishOnly": "npm run build", "release": "npx bumpp --commit --tag && npm publish && git push", "release:prepare": "shipjs prepare", "release:trigger": "shipjs trigger", "test": "npm run test:cover", "test:cover": "npm run test:unit -- --coverage", "test:unit": "jest --clearCache && jest --env node" }, "sideEffects": false, "types": "dist/index.d.ts" }