2018-07-26 03:40:38 +02:00
|
|
|
{
|
|
|
|
"name": "svelte-i18n",
|
2019-06-06 23:05:30 +02:00
|
|
|
"version": "1.0.3",
|
2018-08-07 22:44:05 +02:00
|
|
|
"license": "MIT",
|
|
|
|
"main": "dist/i18n.js",
|
2019-05-19 03:59:26 +02:00
|
|
|
"module": "dist/i18n.mjs",
|
2018-08-07 22:44:05 +02:00
|
|
|
"types": "src/index.d.ts",
|
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>",
|
2018-08-07 22:44:05 +02:00
|
|
|
"repository": "https://github.com/kaisermann",
|
2018-08-09 16:23:01 +02:00
|
|
|
"keywords": [
|
|
|
|
"svelte",
|
|
|
|
"i18n",
|
|
|
|
"internationalization",
|
|
|
|
"localization",
|
|
|
|
"translation"
|
|
|
|
],
|
2018-07-26 03:40:38 +02:00
|
|
|
"scripts": {
|
2019-05-19 03:59:26 +02:00
|
|
|
"build": "microbundle --format=cjs,es --no-sourcemap",
|
2018-08-09 16:23:01 +02:00
|
|
|
"start": "microbundle watch --format=cjs,es",
|
2018-08-07 22:44:05 +02:00
|
|
|
"test": "jest --no-cache --verbose",
|
|
|
|
"test:watch": "jest --no-cache --verbose --watchAll",
|
2018-08-09 00:47:16 +02:00
|
|
|
"lint": "eslint \"src/**/*.js\"",
|
2019-06-06 23:05:30 +02:00
|
|
|
"format": "prettier --loglevel silent --write \"src/**/*.js\" && eslint --fix \"src/**/*.js\"",
|
|
|
|
"prepublishOnly": "npm run format && npm run test && npm run build"
|
2018-07-26 03:40:38 +02:00
|
|
|
},
|
2018-08-08 07:17:09 +02:00
|
|
|
"jest": {
|
|
|
|
"verbose": true,
|
|
|
|
"testURL": "http://localhost/",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.jsx?$": "babel-jest"
|
|
|
|
},
|
|
|
|
"testRegex": "(/test/.*|\\.(test|spec))\\.js$",
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js"
|
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
2018-08-09 00:47:16 +02:00
|
|
|
"/test/",
|
|
|
|
"/src/formatter.js"
|
2018-08-08 07:17:09 +02:00
|
|
|
],
|
|
|
|
"coverageThreshold": {
|
|
|
|
"global": {
|
|
|
|
"branches": 90,
|
|
|
|
"functions": 95,
|
|
|
|
"lines": 95,
|
|
|
|
"statements": 95
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"collectCoverage": true
|
|
|
|
},
|
2018-07-26 03:40:38 +02:00
|
|
|
"devDependencies": {
|
2019-05-19 03:59:26 +02:00
|
|
|
"@babel/core": "^7.4.4",
|
|
|
|
"@babel/preset-env": "^7.4.4",
|
2018-08-08 07:17:09 +02:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
2019-05-19 03:59:26 +02:00
|
|
|
"babel-jest": "^24.8.0",
|
|
|
|
"eslint": "^5.16.0",
|
|
|
|
"eslint-config-prettier": "^4.3.0",
|
|
|
|
"eslint-config-standard": "^12.0.0",
|
|
|
|
"eslint-plugin-import": "^2.17.2",
|
|
|
|
"eslint-plugin-node": "^9.0.1",
|
|
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
|
|
"eslint-plugin-promise": "^4.1.1",
|
|
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
|
|
"jest": "^24.8.0",
|
|
|
|
"microbundle": "^0.11.0",
|
|
|
|
"prettier": "^1.17.1",
|
|
|
|
"svelte": "^3.4.1"
|
2018-08-08 07:17:09 +02:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2019-05-19 03:59:26 +02:00
|
|
|
"svelte": "^3.4.1"
|
2018-07-27 04:24:17 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-05-19 03:59:26 +02:00
|
|
|
"deepmerge": "^3.2.0",
|
|
|
|
"intl-messageformat": "^2.2.0",
|
|
|
|
"micro-memoize": "^3.0.1",
|
2018-07-31 00:57:05 +02:00
|
|
|
"object-resolve-path": "^1.1.1"
|
2018-07-26 03:40:38 +02:00
|
|
|
}
|
|
|
|
}
|