Matthew Taylor
ceec694b2a
Revert "Migrate to using a loader method"
...
This reverts commit 214430b0c4
.
2016-01-08 13:50:58 -05:00
Matthew Taylor
214430b0c4
Migrate to using a loader method
...
This moves all locale/translation building to a dependency, `scratch-www-intl-loader`, as well as tests associated with it. Also gets rid of the `make translations` step.
2016-01-07 17:01:57 -05:00
Matthew Taylor
21668d6915
Fix tests
2016-01-06 15:08:54 -05:00
Matthew Taylor
8ae98d703f
Make localizations view-based
...
1. Load locale strings into `window._messages` in a separate file added to `template.html`, which contains view-specific and general strings
2. Update build-locales to compile separate files
2016-01-06 14:09:32 -05:00
Ray Schamp
70a0a2d4c4
Rename version to tag to match scratch-api
2015-11-20 11:08:42 -05:00
Ray Schamp
7983d7601b
Quiet EB config status check command
2015-11-20 11:07:39 -05:00
Ray Schamp
82fe07ed8b
Add version.txt file to build directory on build
2015-11-20 11:07:39 -05:00
Ray Schamp
fafff50401
Merge pull request #209 from rschamp/feature/developers-developers-developers
...
Use webpack-dev-middleware for assets in dev
2015-11-20 11:04:10 -05:00
Ray Schamp
3afcd7fd9f
Remove watch
and stop
targets, update README
2015-11-19 15:59:30 -05:00
Ray Schamp
c065df3faa
Use webpack for static assets
2015-11-19 15:25:39 -05:00
Matthew Taylor
fc834b8817
Move scripts to new lib
folder
...
Thanks @thisandagain for the tip!
2015-11-19 10:05:38 -05:00
Matthew Taylor
ca10232498
Clean up build-locales
and add tests for it.
...
1. Use md5 compare instead of string compare for determining presence of translation
2. Strip out whitespace before doing md5 compare
2015-11-09 11:40:36 -05:00
Ray Schamp
b278aa05f5
Add deploy
make target
...
Now that we send the build artifact to EB from Travis, we have to do the same thing locally.
2015-11-03 12:51:45 -05:00
Ray Schamp
07e1a96811
Test the build when we test our build
...
Use webpack --bail to actually return 1 when the build fails
2015-10-21 13:43:26 -04:00
Andrew Sliwinski
9d9a2ca491
Remove nginx build process and clean-up for production
2015-10-20 12:48:32 -04:00
Andrew Sliwinski
0f89152399
Create locale directory if it does not exist
2015-10-19 20:35:36 -04:00
Matthew Taylor
be5d8cd3eb
use po2icu
to get po files as json icu files
2015-10-15 23:02:57 -04:00
Ray Schamp
4fdc4dc49d
Make start also watch, and allow stop to kill it
2015-10-08 16:21:39 -06:00
Ray Schamp
c3bc59fee2
Add a Sass linter
2015-09-24 18:32:21 -04:00
Ray Schamp
2e57805192
Move session from providers to beside main
2015-09-24 18:13:30 -04:00
Ray Schamp
54cca4ef96
Don't lint json in providers
2015-09-22 10:26:20 -04:00
Ray Schamp
d6576409f1
Something like session handling
2015-09-22 10:26:19 -04:00
Andrew Sliwinski
5eca8d03ae
Add deployment configuration
2015-09-19 19:25:54 -04:00
Colby Gutierrez-Kraybill
1cf6cedaee
Initial nginx config generation, can use environment variabes PORT and SERVER_NAME. Dynamically figures out static regex based on build directory
2015-09-16 15:09:15 -04:00
Ray Schamp
2b2029f335
Add a command to stop the watch command
2015-09-08 14:56:54 -04:00
Andrew Sliwinski
3716d0462c
Merge and resolve feedback from review
2015-09-04 08:26:18 -07:00
Andrew Sliwinski
41176aaee1
Extend build process to support multiple views
2015-09-03 22:26:56 -07:00
Andrew Sliwinski
9ba3f729cf
Avoid port conflict with vagrant and clarify readme
2015-09-02 14:59:31 -07:00
Andrew Sliwinski
121b0e106f
Use linux compatible glob strings in makefile
2015-09-02 14:40:14 -07:00
Andrew Sliwinski
ec2ad70ab0
Downgrade eslint and patch makefile
2015-09-02 13:45:58 -07:00
Andrew Sliwinski
79dce3f711
Clean-up travis config and demo code
2015-09-02 13:33:31 -07:00
Andrew Sliwinski
fa4fce1b1c
Initial commit
2015-09-02 12:08:58 -07:00