Skip to content

Commit

Permalink
WPS-13 docs(readme): fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Xesenix committed Mar 8, 2018
1 parent 5646953 commit a665d9c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Check live [demo](https://webpack-3-scaffold.herokuapp.com) of running this scaf

## About

This is basic starting point for application using __webpack v3__ with some default configuration setup to properly load assets from diffrent locations.
This is basic starting point for application using __webpack v3__ with some default configuration setup to properly load assets from different locations.

### Workflow

Expand All @@ -43,7 +43,7 @@ It's work in progress but you can use those processes:

#### Extracting segments for translation:

* Run `npm run xi18n` this will extract all occurences of `__(...)` into `src/locales/messages.pot` you can modify that behavior in `scripts/extract.ts`
* Run `npm run xi18n` this will extract all occurrences of `__(...)` into `src/locales/messages.pot` you can modify that behavior in `scripts/extract.ts`

### Features

Expand All @@ -62,11 +62,11 @@ It's work in progress but you can use those processes:
### TODO

This project is using __webpack v3__ and probably has a lot place for improvement like:
* find a way to avoid need for using `$srcRoot` variable in stylesheet (without copying every asset)
* auto detect assets included in html template (this is problem if you override default behaviour of copying to production all assets)
* handle lazy loading of modules
* use react router
* use [SVG Sprite loader](https://www.npmjs.com/package/svg-sprite-loader) or [react-svg-loader](https://www.npmjs.com/package/react-svg-loader)
- [ ] find a way to avoid need for using `$srcRoot` variable in stylesheet (without copying every asset)
- [ ] auto detect assets included in html template (this is problem if you override default behavior of copying to production all assets)
- [ ] handle lazy loading of modules
- [ ] use react router
- [ ] use [SVG Sprite loader](https://www.npmjs.com/package/svg-sprite-loader) or [react-svg-loader](https://www.npmjs.com/package/react-svg-loader)

## Documentation

Expand Down Expand Up @@ -121,7 +121,7 @@ __process.env__ won't have those phrases listed as its params when trying to cal

### Additional environmental configuration via _.env_ file

If you need to add any secret configuration to your project you can use similar proccess of replacing source code as above with variables provided in _.env_ file.
If you need to add any secret configuration to your project you can use similar process of replacing source code as above with variables provided in _.env_ file.
For example:

_file: .env_
Expand Down Expand Up @@ -241,7 +241,7 @@ import { __ } from 'lib/localize.ts';
console.log(__('text for translation'));
```

You can extract each occurence of `__(...)` by calling:
You can extract each occurrence of `__(...)` by calling:

```bash
npm run xi18n
Expand Down Expand Up @@ -295,8 +295,8 @@ Some additional resources that can clarify concepts behind this scaffold project
* [Ducks modular Redux](https://github.com/erikras/ducks-modular-redux)
* [ReDucks](https://github.com/alexnm/re-ducks)

## Localisation
I am aiming to have each translations as seperate file loaded at runtime so I don't have to build project for each language.
## Localization
I am aiming to have each translations as separate file loaded at runtime so I don't have to build project for each language.

* [gettext-extract](https://github.com/sinedied/gettext-extract)
* [gettext-extractor](https://github.com/lukasgeiter/gettext-extractor)
Expand All @@ -315,11 +315,11 @@ I am aiming to have each translations as seperate file loaded at runtime so I do
* [How to mock dependencies in node js and why?](https://medium.com/@antonkorzunov/how-to-mock-dependency-in-a-node-js-and-why-2ad4386f6587)
* [Inject webpack loader](https://github.com/plasticine/inject-loader)

## Project managment related resources
## Project management related resources
* [Travis CLI installation](https://github.com/travis-ci/travis.rb#installation)
* [Setup Travis Heroku build](https://docs.travis-ci.com/user/deployment/heroku/)
* [Continous Integration Travis](https://docs.travis-ci.com)
* [Continous Integration for Windows with Appveyor](https://www.appveyor.com/docs/)
* [Continuos Integration Travis](https://docs.travis-ci.com)
* [Continuos Integration for Windows with Appveyor](https://www.appveyor.com/docs/)
* [Badges](https://shields.io/)
* [Yoman generators](http://yeoman.io/authoring/)
* [Splitting project with bit](https://github.com/teambit/bit)
Expand Down

0 comments on commit a665d9c

Please sign in to comment.