2018-07-26 03:40:38 +02:00
|
|
|
{
|
|
|
|
"name": "svelte-i18n",
|
2020-01-14 01:21:16 +01:00
|
|
|
"version": "2.2.2",
|
2020-01-14 01:20:04 +01:00
|
|
|
"main": "dist/i18n.cjs.js",
|
|
|
|
"module": "dist/i18n.esm.js",
|
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": {
|
2019-06-12 05:04:34 +02:00
|
|
|
"build": "rollup -c",
|
|
|
|
"dev": "rollup -c -w",
|
|
|
|
"pretest": "npm run build",
|
2019-11-22 17:41:39 +01:00
|
|
|
"test": "jest",
|
|
|
|
"test:ci": "jest --silent",
|
|
|
|
"test:watch": "jest --verbose --watchAll",
|
2019-11-19 17:18:42 +01:00
|
|
|
"lint": "eslint \"src/**/*.ts\"",
|
|
|
|
"format": "prettier --loglevel silent --write \"src/**/*.ts\" && eslint --fix \"src/**/*.ts\"",
|
2019-11-22 17:41:39 +01:00
|
|
|
"prerelease": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1 && git add CHANGELOG.md",
|
|
|
|
"release": " git add package.json && git commit -m \"chore(release): v$npm_package_version :tada:\"",
|
|
|
|
"postrelease": "git tag -a v$npm_package_version -m 'Release v$npm_package_version'",
|
2019-11-29 23:13:20 +01:00
|
|
|
"prepublishOnly": "run-s test:ci build release"
|
2018-07-26 03:40:38 +02:00
|
|
|
},
|
2019-06-08 00:19:09 +02:00
|
|
|
"files": [
|
2019-11-22 17:41:39 +01:00
|
|
|
"dist/"
|
2019-06-08 00:19:09 +02:00
|
|
|
],
|
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": {
|
|
|
|
"svelte": "^3.14.1"
|
2018-08-08 07:17:09 +02:00
|
|
|
},
|
2018-07-26 03:40:38 +02:00
|
|
|
"devDependencies": {
|
2019-11-12 03:15:09 +01:00
|
|
|
"@babel/core": "^7.7.2",
|
|
|
|
"@babel/preset-env": "^7.7.1",
|
2019-11-19 17:18:42 +01:00
|
|
|
"@types/estree": "0.0.39",
|
|
|
|
"@types/intl": "^1.2.0",
|
|
|
|
"@types/jest": "^24.0.23",
|
2018-08-08 07:17:09 +02:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
2019-11-12 03:15:09 +01:00
|
|
|
"babel-jest": "^24.9.0",
|
2019-11-22 17:41:39 +01:00
|
|
|
"conventional-changelog-cli": "^2.0.28",
|
2019-11-12 03:15:09 +01:00
|
|
|
"eslint": "^6.6.0",
|
2019-11-12 01:11:57 +01:00
|
|
|
"eslint-config-kaisermann": "0.0.3",
|
2019-11-12 03:15:09 +01:00
|
|
|
"jest": "^24.9.0",
|
2019-11-29 23:13:20 +01:00
|
|
|
"npm-run-all": "^4.1.5",
|
2019-11-12 03:15:09 +01:00
|
|
|
"prettier": "^1.19.1",
|
|
|
|
"rollup": "^1.26.5",
|
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-01-08 15:32:26 +01:00
|
|
|
"rollup-plugin-terser": "^5.1.3",
|
2019-11-19 17:18:42 +01:00
|
|
|
"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"
|
2018-07-27 04:24:17 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-11-19 17:18:42 +01:00
|
|
|
"commander": "^4.0.1",
|
|
|
|
"estree-walker": "^0.9.0",
|
2019-11-20 20:31:55 +01:00
|
|
|
"fast-memoize": "^2.5.1",
|
2019-11-12 03:15:09 +01:00
|
|
|
"intl-messageformat": "^7.5.2",
|
2019-11-19 17:18:42 +01:00
|
|
|
"tiny-glob": "^0.2.6"
|
2018-07-26 03:40:38 +02:00
|
|
|
}
|
|
|
|
}
|