mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 18:10:43 +01:00
109 lines
2.9 KiB
JSON
109 lines
2.9 KiB
JSON
{
|
|
"name": "svelte-i18n",
|
|
"version": "3.0.0",
|
|
"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": "jest",
|
|
"test:ci": "jest --silent",
|
|
"test:watch": "jest --verbose --watchAll",
|
|
"lint": "eslint \"src/**/*.ts\"",
|
|
"format": "prettier --loglevel silent --write \"src/**/*.ts\" && eslint --fix \"src/**/*.ts\"",
|
|
"release": " git add package.json && git commit -m \"chore(release): v$npm_package_version :tada:\"",
|
|
"pretest": "npm run build",
|
|
"prebuild": "yarn clean",
|
|
"postbuild": "yarn build:types",
|
|
"prerelease": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1 && git add CHANGELOG.md",
|
|
"postrelease": "git tag -a v$npm_package_version -m 'Release v$npm_package_version'",
|
|
"prepublishOnly": "run-s test:ci build release"
|
|
},
|
|
"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.14.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.7.2",
|
|
"@babel/preset-env": "^7.7.1",
|
|
"@types/estree": "0.0.39",
|
|
"@types/intl": "^1.2.0",
|
|
"@types/jest": "^24.0.23",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-jest": "^24.9.0",
|
|
"conventional-changelog-cli": "^2.0.28",
|
|
"eslint": "^6.6.0",
|
|
"eslint-config-kaisermann": "0.0.3",
|
|
"husky": "^4.2.1",
|
|
"jest": "^24.9.0",
|
|
"lint-staged": "^10.0.4",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^1.19.1",
|
|
"rollup": "^1.26.5",
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
"rollup-plugin-terser": "^5.1.3",
|
|
"rollup-plugin-typescript2": "^0.25.2",
|
|
"sass": "^1.23.6",
|
|
"svelte": "^3.14.1",
|
|
"svelte-preprocess": "^3.2.6",
|
|
"ts-jest": "^24.1.0",
|
|
"typescript": "^3.7.2"
|
|
},
|
|
"dependencies": {
|
|
"commander": "^4.0.1",
|
|
"estree-walker": "^0.9.0",
|
|
"intl-messageformat": "^7.5.2",
|
|
"tiny-glob": "^0.2.6"
|
|
}
|
|
}
|