svelte-i18n/package.json

80 lines
2.0 KiB
JSON
Raw Normal View History

2018-07-26 03:40:38 +02:00
{
"name": "svelte-i18n",
2019-06-19 22:20:36 +02:00
"version": "1.1.2-beta",
2019-06-19 22:34:18 +02:00
"main": "dist/i18n.js",
"module": "dist/i18n.mjs",
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>",
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-06-12 05:04:34 +02:00
"build": "rollup -c",
"dev": "rollup -c -w",
"pretest": "npm run build",
2018-08-07 22:44:05 +02:00
"test": "jest --no-cache --verbose",
"test:watch": "jest --no-cache --verbose --watchAll",
"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
},
2019-06-08 00:19:09 +02:00
"files": [
2019-06-19 22:20:26 +02:00
"dist/",
"src/"
2019-06-08 00:19:09 +02:00
],
"jest": {
"verbose": true,
"testURL": "http://localhost/",
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"testRegex": "(/test/.*|\\.(test|spec))\\.js$",
"moduleFileExtensions": [
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
2019-06-19 15:42:04 +02:00
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverage": true
},
2018-07-26 03:40:38 +02:00
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.9.0",
"eslint": "^6.6.0",
2019-11-12 01:11:57 +01:00
"eslint-config-kaisermann": "0.0.3",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"rollup": "^1.26.5",
2019-06-12 05:04:34 +02:00
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"svelte": "^3.14.0"
},
"peerDependencies": {
"svelte": "^3.14.0"
},
"dependencies": {
"intl-messageformat": "^7.5.2",
"micro-memoize": "^4.0.8",
2018-07-31 00:57:05 +02:00
"object-resolve-path": "^1.1.1"
2018-07-26 03:40:38 +02:00
}
}