Merge branch 'master' into fix/v2

This commit is contained in:
Christian Kaisermann 2019-11-29 22:18:53 -03:00
commit b545f07c92
3 changed files with 5106 additions and 16 deletions

View File

@ -8,8 +8,8 @@
**Requirements**
- Node: `>= 11.15.0`
- Browsers: `Chrome 38+`, `Edge 12+`, `Firefox 13+`, `Opera 25+`, `Safari 8+`.
- Node: `>= 11.15.0`
- Browsers: `Chrome 38+`, `Edge 12+`, `Firefox 13+`, `Opera 25+`, `Safari 8+`.
```svelte
<script>
@ -28,20 +28,20 @@
```jsonc
// en.json
{
"page": {
"home": {
"title": "Homepage",
"nav": "Home"
},
"about": {
"title": "About",
"nav": "About"
},
"contact": {
"title": "Contact",
"nav": "Contact Us"
}
}
"page": {
"home": {
"title": "Homepage",
"nav": "Home"
},
"about": {
"title": "About",
"nav": "About"
},
"contact": {
"title": "Contact",
"nav": "Contact Us"
}
}
}
```

View File

@ -1,6 +1,10 @@
{
"name": "svelte-i18n",
<<<<<<< HEAD
"version": "2.1.0",
=======
"version": "1.1.2",
>>>>>>> master
"main": "dist/i18n.js",
"module": "dist/i18n.mjs",
"bin": {
@ -24,6 +28,7 @@
"build": "rollup -c",
"dev": "rollup -c -w",
"pretest": "npm run build",
<<<<<<< HEAD
"test": "jest",
"test:ci": "jest --silent",
"test:watch": "jest --verbose --watchAll",
@ -33,6 +38,14 @@
"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'",
"prepublishOnly": "run-s test:ci build release"
=======
"test": "jest --no-cache --verbose",
"test:watch": "jest --no-cache --verbose --watchAll",
"test:ci": "jest --no-cache --silent",
"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"
>>>>>>> master
},
"files": [
"dist/"

5077
yarn.lock Normal file

File diff suppressed because it is too large Load Diff