-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
58ca877
commit 31f87b0
Showing
12 changed files
with
73 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
package-lock.json | ||
yarn-error.log | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"name": "@foes/react-i18n-routing", | ||
"version": "0.1.0", | ||
"license": "MIT", | ||
"description": "Provides components and functions to make i18n routing React apps with ease.", | ||
"keywords": [ | ||
"i18n", | ||
"react", | ||
"routing" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Beñat Espiña Diaz", | ||
"email": "benatespina@gmail.com", | ||
"homepage": "https://benatespina.com" | ||
}, | ||
{ | ||
"name": "Gorka Laucirica Ibarra", | ||
"email": "gorka.lauzirika@gmail.com" | ||
} | ||
], | ||
"main": "src/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/FriendsOfECMAScript/ReactI18nRouting" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/FriendsOfECMAScript/ReactI18nRouting/issues" | ||
}, | ||
"scripts": { | ||
"test": "yarn test --env=jsdom", | ||
"fixer-js": "node_modules/.bin/prettier 'server/**/*.js' 'src/**/*.js' --write --single-quote --no-bracket-spacing --trailing-comma all", | ||
"fixer-css": "node_modules/.bin/stylelint -c .stylelintrc.js src/**/*.css --fix" | ||
}, | ||
"devDependencies": { | ||
"prettier": "^1.10.2", | ||
"stylelint": "^9.0.0", | ||
"stylelint-order": "^0.8.0", | ||
"stylelint-selector-bem-pattern": "^2.0.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "16.x", | ||
"react-intl": "2.x", | ||
"react-redux": "5.x", | ||
"prop-types": "15.x", | ||
"react-router-dom": "4.x", | ||
"react-router-named-routes": "0.x", | ||
"lodash.flatmap": "4.x" | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
component/BrowserIntlProvider.js → src/component/BrowserIntlProvider.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import BrowserIntlProvider from './component/BrowserIntlProvider.js'; | ||
import FormattedLink from './component/FormattedLink.js'; | ||
import defaultUnPrefixed from './languageStrategy/defaultUnprefixed.js'; | ||
import subdomainBased from './languageStrategy/subdomainBased.js'; | ||
import * as Reducer from './reducer.js'; | ||
import * as RenderTranslatedRoutes from './renderTranslatedRoutes.js'; | ||
|
||
export { | ||
BrowserIntlProvider, | ||
FormattedLink, | ||
defaultUnPrefixed, | ||
subdomainBased, | ||
Reducer, | ||
RenderTranslatedRoutes | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.