mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 09:59:58 +01:00
112 lines
2.9 KiB
JSON
112 lines
2.9 KiB
JSON
{
|
|
"name": "svelte-i18n",
|
|
"version": "3.2.5",
|
|
"main": "dist/runtime.cjs.js",
|
|
"module": "dist/runtime.esm.js",
|
|
"types": "types/runtime/index.d.ts",
|
|
"bin": {
|
|
"svelte-i18n": "dist/cli.js"
|
|
},
|
|
"license": "MIT",
|
|
"description": "Internationalization library for Svelte",
|
|
"author": "Christian Kaisermann <christian@kaisermann.me>",
|
|
"repository": "https://github.com/kaisermann/svelte-i18n",
|
|
"keywords": [
|
|
"svelte",
|
|
"i18n",
|
|
"internationalization",
|
|
"localization",
|
|
"translation"
|
|
],
|
|
"engines": {
|
|
"node": ">= 11.15.0"
|
|
},
|
|
"scripts": {
|
|
"clean": "rm -rf dist/ types/",
|
|
"build": "rollup -c",
|
|
"build:types": "tsc -p src/runtime --emitDeclarationOnly",
|
|
"dev": "rollup -c -w",
|
|
"test": "cross-env NODE_ICU_DATA=node_modules/full-icu jest",
|
|
"test:ci": "npm run test -- --silent",
|
|
"lint": "eslint \"{src,test}/**/*.ts\"",
|
|
"format": "prettier --loglevel silent --write \"{src,test}/**/*.ts\"",
|
|
"release": " git add package.json && git commit -m \"chore(release): v$npm_package_version :tada:\"",
|
|
"prebuild": "yarn clean",
|
|
"postbuild": "yarn build:types",
|
|
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1 && git add CHANGELOG.md",
|
|
"prepublishOnly": "npm run test && npm run build"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"types/"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,js}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.json": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"jest": {
|
|
"collectCoverage": true,
|
|
"testMatch": [
|
|
"<rootDir>/test/**/*.test.ts"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"<rootDir>/src/**/*.ts"
|
|
],
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
}
|
|
},
|
|
"peerDependencies": {
|
|
"svelte": "^3.25.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.11.6",
|
|
"@babel/preset-env": "^7.11.5",
|
|
"@kiwi/eslint-config": "^1.2.0",
|
|
"@kiwi/prettier-config": "^1.1.0",
|
|
"@types/dlv": "^1.1.2",
|
|
"@types/estree": "0.0.45",
|
|
"@types/intl": "^1.2.0",
|
|
"@types/jest": "^26.0.14",
|
|
"@types/sade": "^1.7.2",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-jest": "^26.3.0",
|
|
"conventional-changelog-cli": "^2.1.0",
|
|
"cross-env": "^7.0.2",
|
|
"eslint": "^7.9.0",
|
|
"full-icu": "^1.3.1",
|
|
"husky": "^4.3.0",
|
|
"jest": "^26.4.2",
|
|
"lint-staged": "^10.4.0",
|
|
"prettier": "^2.1.2",
|
|
"rollup": "^2.27.1",
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-typescript2": "^0.27.2",
|
|
"sass": "^1.26.11",
|
|
"svelte": "^3.25.1",
|
|
"svelte-preprocess": "^4.3.0",
|
|
"ts-jest": "^26.4.0",
|
|
"typescript": "^4.0.3"
|
|
},
|
|
"dependencies": {
|
|
"deepmerge": "^4.2.2",
|
|
"dlv": "^1.1.3",
|
|
"estree-walker": "^2.0.1",
|
|
"intl-messageformat": "^9.3.15",
|
|
"sade": "^1.7.4",
|
|
"tiny-glob": "^0.2.6"
|
|
}
|
|
}
|