svelte-i18n/package.json

112 lines
2.9 KiB
JSON
Raw Permalink Normal View History

2018-07-26 03:40:38 +02:00
{
"name": "svelte-i18n",
2020-11-24 14:48:57 +01:00
"version": "3.3.0",
"main": "dist/runtime.cjs.js",
"module": "dist/runtime.esm.js",
"types": "types/runtime/index.d.ts",
2019-11-19 17:18:42 +01:00
"bin": {
"svelte-i18n": "dist/cli.js"
},
2019-06-12 03:51:01 +02:00
"license": "MIT",
2018-08-09 16:23:01 +02:00
"description": "Internationalization library for Svelte",
2018-07-26 03:40:38 +02:00
"author": "Christian Kaisermann <christian@kaisermann.me>",
"repository": "https://github.com/kaisermann/svelte-i18n",
2018-08-09 16:23:01 +02:00
"keywords": [
"svelte",
"i18n",
"internationalization",
"localization",
"translation"
],
2019-11-19 17:18:42 +01:00
"engines": {
"node": ">= 11.15.0"
},
2018-07-26 03:40:38 +02:00
"scripts": {
"clean": "rm -rf dist/ types/",
2019-06-12 05:04:34 +02:00
"build": "rollup -c",
"build:types": "tsc -p src/runtime --emitDeclarationOnly",
2019-06-12 05:04:34 +02:00
"dev": "rollup -c -w",
"test": "cross-env NODE_ICU_DATA=node_modules/full-icu jest",
"test:ci": "npm run test -- --silent",
2020-11-05 14:01:23 +01:00
"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",
2020-11-05 20:02:09 +01:00
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1 && git add CHANGELOG.md",
"prepublishOnly": "npm run test && npm run build"
2018-07-26 03:40:38 +02:00
},
2019-06-08 00:19:09 +02:00
"files": [
"dist/",
"types/"
2019-06-08 00:19:09 +02:00
],
2020-01-29 15:49:28 +01:00
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"jest": {
2019-11-19 17:18:42 +01:00
"collectCoverage": true,
"testMatch": [
"<rootDir>/test/**/*.test.ts"
],
2019-11-19 17:18:42 +01:00
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts"
],
2019-11-19 17:18:42 +01:00
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"peerDependencies": {
"svelte": "^3.25.1"
},
2018-07-26 03:40:38 +02:00
"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",
2019-11-19 17:18:42 +01:00
"@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",
2019-06-12 05:04:34 +02:00
"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",
2019-11-19 17:18:42 +01:00
"tiny-glob": "^0.2.6"
2018-07-26 03:40:38 +02:00
}
}