2018-07-26 03:40:38 +02:00
|
|
|
{
|
|
|
|
"name": "svelte-i18n",
|
2021-02-21 17:17:41 +01:00
|
|
|
"version": "3.3.5",
|
2020-01-23 14:11:04 +01:00
|
|
|
"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>",
|
2019-11-22 17:41:39 +01:00
|
|
|
"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": {
|
2020-01-23 14:11:04 +01:00
|
|
|
"clean": "rm -rf dist/ types/",
|
2019-06-12 05:04:34 +02:00
|
|
|
"build": "rollup -c",
|
2020-01-23 14:11:04 +01:00
|
|
|
"build:types": "tsc -p src/runtime --emitDeclarationOnly",
|
2019-06-12 05:04:34 +02:00
|
|
|
"dev": "rollup -c -w",
|
2020-11-07 15:39:20 +01:00
|
|
|
"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\"",
|
2019-11-22 17:41:39 +01:00
|
|
|
"release": " git add package.json && git commit -m \"chore(release): v$npm_package_version :tada:\"",
|
2020-01-23 14:11:04 +01:00
|
|
|
"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": [
|
2020-01-23 14:11:04 +01:00
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
2018-08-08 07:17:09 +02:00
|
|
|
"jest": {
|
2019-11-19 17:18:42 +01:00
|
|
|
"collectCoverage": true,
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/test/**/*.test.ts"
|
2018-08-08 07:17:09 +02:00
|
|
|
],
|
2019-11-19 17:18:42 +01:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/src/**/*.ts"
|
2018-08-08 07:17:09 +02:00
|
|
|
],
|
2019-11-19 17:18:42 +01:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2020-09-20 15:14:26 +02:00
|
|
|
"svelte": "^3.25.1"
|
2018-08-08 07:17:09 +02:00
|
|
|
},
|
2018-07-26 03:40:38 +02:00
|
|
|
"devDependencies": {
|
2020-09-20 15:14:26 +02:00
|
|
|
"@babel/core": "^7.11.6",
|
|
|
|
"@babel/preset-env": "^7.11.5",
|
|
|
|
"@kiwi/eslint-config": "^1.2.0",
|
|
|
|
"@kiwi/prettier-config": "^1.1.0",
|
2020-11-05 13:44:40 +01:00
|
|
|
"@types/dlv": "^1.1.2",
|
2020-09-20 15:14:26 +02:00
|
|
|
"@types/estree": "0.0.45",
|
2019-11-19 17:18:42 +01:00
|
|
|
"@types/intl": "^1.2.0",
|
2020-09-20 15:14:26 +02:00
|
|
|
"@types/jest": "^26.0.14",
|
2020-11-05 21:51:26 +01:00
|
|
|
"@types/sade": "^1.7.2",
|
2018-08-08 07:17:09 +02:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
2020-09-20 15:14:26 +02:00
|
|
|
"babel-jest": "^26.3.0",
|
|
|
|
"conventional-changelog-cli": "^2.1.0",
|
2020-11-07 15:39:20 +01:00
|
|
|
"cross-env": "^7.0.2",
|
2020-09-20 15:14:26 +02:00
|
|
|
"eslint": "^7.9.0",
|
2020-11-07 15:39:20 +01:00
|
|
|
"full-icu": "^1.3.1",
|
2020-09-20 15:14:26 +02:00
|
|
|
"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",
|
2019-11-12 03:15:09 +01:00
|
|
|
"rollup-plugin-commonjs": "^10.1.0",
|
2020-09-20 15:14:26 +02:00
|
|
|
"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"
|
2018-07-27 04:24:17 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-11-05 13:44:40 +01:00
|
|
|
"deepmerge": "^4.2.2",
|
2020-11-05 21:55:36 +01:00
|
|
|
"estree-walker": "^2.0.1",
|
|
|
|
"intl-messageformat": "^9.3.15",
|
2020-11-05 21:51:26 +01:00
|
|
|
"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
|
|
|
}
|
|
|
|
}
|