mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 18:10:43 +01:00
86 lines
2.2 KiB
JSON
86 lines
2.2 KiB
JSON
{
|
|
"name": "svelte-i18n",
|
|
"version": "1.1.1-beta",
|
|
"main": "dist/i18n.cjs.js",
|
|
"module": "src/index.js",
|
|
"license": "MIT",
|
|
"description": "Internationalization library for Svelte",
|
|
"author": "Christian Kaisermann <christian@kaisermann.me>",
|
|
"repository": "https://github.com/kaisermann",
|
|
"keywords": [
|
|
"svelte",
|
|
"i18n",
|
|
"internationalization",
|
|
"localization",
|
|
"translation"
|
|
],
|
|
"scripts": {
|
|
"build": "rollup -c",
|
|
"dev": "rollup -c -w",
|
|
"pretest": "npm run build",
|
|
"test": "jest --no-cache --verbose",
|
|
"test:watch": "jest --no-cache --verbose --watchAll",
|
|
"lint": "eslint \"src/**/*.js\"",
|
|
"format": "prettier --loglevel silent --write \"src/**/*.js\" && eslint --fix \"src/**/*.js\"",
|
|
"prepublishOnly": "npm run format && npm run test && npm run build"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"src/"
|
|
],
|
|
"jest": {
|
|
"verbose": true,
|
|
"testURL": "http://localhost/",
|
|
"transform": {
|
|
"^.+\\.jsx?$": "babel-jest"
|
|
},
|
|
"testRegex": "(/test/.*|\\.(test|spec))\\.js$",
|
|
"moduleFileExtensions": [
|
|
"js"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/test/"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 90,
|
|
"functions": 95,
|
|
"lines": 95,
|
|
"statements": 95
|
|
}
|
|
},
|
|
"collectCoverage": true
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.4.5",
|
|
"@babel/preset-env": "^7.4.5",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"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.3",
|
|
"eslint-plugin-node": "^9.1.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-promise": "^4.1.1",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"jest": "^24.8.0",
|
|
"prettier": "^1.18.2",
|
|
"rollup": "^1.15.1",
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
"rollup-plugin-commonjs": "^10.0.0",
|
|
"rollup-plugin-node-resolve": "^5.0.1",
|
|
"rollup-plugin-terser": "^5.0.0",
|
|
"svelte": "^3.5.1"
|
|
},
|
|
"peerDependencies": {
|
|
"svelte": "^3.5.1"
|
|
},
|
|
"dependencies": {
|
|
"intl-messageformat": "^4.0.1",
|
|
"micro-memoize": "^4.0.7",
|
|
"object-resolve-path": "^1.1.1"
|
|
}
|
|
}
|