Kimmo Puputti
3cdea72060
Expand prod docs
2017-01-13 13:41:04 +02:00
Kimmo Puputti
9a02c772b8
Use yarn run instead of npm run
2017-01-13 13:41:04 +02:00
Kimmo Puputti
0fc9222976
Add missing semicolon
2017-01-13 13:41:04 +02:00
Kimmo Puputti
99ae2e3b19
Merge pull request #8 from sharetribe/improve-ci-jest-performance
...
Improve test performance in Circle CI
2017-01-13 10:44:57 +02:00
Kimmo Puputti
7a6cd57aa9
Use --runInBand flag for Jest to improve performance in Circle CI
...
http://stackoverflow.com/questions/36747251/error-running-jest-on-circleci-npm-test-died-unexpectedly
2017-01-13 09:26:45 +02:00
Kimmo Puputti
34c6db37e0
Merge pull request #6 from sharetribe/test-setup
...
Test setup
2017-01-12 15:06:51 +02:00
Kimmo Puputti
eab0d725f0
Add Circle CI configuration
2017-01-12 13:31:56 +02:00
Kimmo Puputti
c6cda685e3
Add test documentation
2017-01-12 13:08:19 +02:00
Kimmo Puputti
90257a9fe9
Add snapshot tests for pages
2017-01-12 11:31:48 +02:00
Kimmo Puputti
957f3c7d68
Add basic "does not crash" tests for client and server apps
2017-01-12 11:29:45 +02:00
Kimmo Puputti
5e0aa3c175
Add doc section about running tests
2017-01-12 11:29:06 +02:00
Kimmo Puputti
c28bb84a84
Add react-test-renderer package
2017-01-12 11:28:54 +02:00
Kimmo Puputti
4e2aedbd14
Move client and server apps to a separate file
...
index.js is the entrypoint file for the bundle and has to render the
app when running within a browser. Separating the app routing init
etc. to a different file allows us to import both ClientApp and
ServerApp in e.g. tests no matter which env we are in.
2017-01-11 16:01:35 +02:00
Kimmo Puputti
82640d4d0c
Remove unnecessary step from requirements
2017-01-11 15:17:31 +02:00
Kimmo Puputti
2160cd9640
Merge pull request #5 from sharetribe/use-sharetribe-scripts
...
Use the published version of sharetribe-scripts
2017-01-11 15:11:32 +02:00
Kimmo Puputti
26407dbdfc
Use the published version of sharetribe-scripts
2017-01-11 15:08:16 +02:00
Kimmo Puputti
ff72391ea1
Merge pull request #4 from sharetribe/update-cra-fork
...
Update cra fork
2017-01-11 11:12:36 +02:00
Kimmo Puputti
40c23217e9
Add documentation.
2017-01-11 10:06:49 +02:00
Kimmo Puputti
b39cc3545e
Add required CSS variables file
2017-01-10 15:18:25 +02:00
Kimmo Puputti
f5ce2c283c
Add latest react-scripts fork
2017-01-10 15:18:06 +02:00
Kimmo Puputti
c2e17f55d1
Merge pull request #1 from sharetribe/use-custom-scripts
...
Initial skeleton application
2017-01-09 12:07:56 +02:00
Kimmo Puputti
ba3418c661
Add documentation
2017-01-09 11:54:38 +02:00
Kimmo Puputti
53903cef70
Update README
2017-01-09 11:01:03 +02:00
Kimmo Puputti
23126a60c4
Update React to 15.4.2
2017-01-09 10:29:41 +02:00
Kimmo Puputti
c14fe8efe8
Fix ServerRouter props
2017-01-05 20:57:33 +02:00
Kimmo Puputti
a6907b7139
Change directory layout
2017-01-05 20:57:29 +02:00
Kimmo Puputti
9f5f24bfee
Change template syntax to work with dev mode as well
2017-01-05 20:56:43 +02:00
Kimmo Puputti
db8cde8ce0
Add clean script
2017-01-05 17:02:10 +02:00
Kimmo Puputti
15a8e85b6e
Use ComponentName/index.js convention for Page
2017-01-05 17:01:48 +02:00
Kimmo Puputti
83f80b6950
Implement page title handling with SSR support using react-helmet
2017-01-05 17:01:14 +02:00
Kimmo Puputti
f6755882f1
Change server dev setup
...
- `npm start` only starts the applications and requires that `npm run
build` is already run
- `npm run dev-server` runs the build and starts the server with
nodemon
- update README
2017-01-05 15:33:01 +02:00
Kimmo Puputti
4c554fea50
Add nodemon
2017-01-05 15:32:33 +02:00
Kimmo Puputti
04c2fabbdc
Clean up html template
2017-01-05 15:32:03 +02:00
Kimmo Puputti
c32f88da47
Add react-helmet
2017-01-05 14:28:28 +02:00
Kimmo Puputti
322ec599b8
Add page structure and universal routing
2017-01-05 14:23:06 +02:00
Kimmo Puputti
6f93d85a7d
Render application in the server
2017-01-05 14:22:40 +02:00
Kimmo Puputti
e986b235a7
Change NPM scripts
...
- `npm run dev` to start dev mode
- `npm start` to build production bundle and start the node server
=> Default to production with `npm start` and be explicit when
starting the dev server
2017-01-05 12:33:21 +02:00
Kimmo Puputti
af2d9b8e21
Add express, react-router, and lodash
2017-01-05 12:33:17 +02:00
Kimmo Puputti
cab920a688
Update README
2017-01-04 21:49:34 +02:00
Kimmo Puputti
df0b51282c
Clean up boilerplate app
2017-01-04 21:49:02 +02:00
Kimmo Puputti
089910cf4e
Make app entry point Universal
...
- Render to DOM in a browser
- Export a render function for the server
2017-01-04 21:42:27 +02:00
Kimmo Puputti
5f38b1d74f
Point to the local react-scripts fork
2017-01-04 21:39:46 +02:00
Kimmo Puputti
c9e51363f7
Add README file
2017-01-04 21:15:44 +02:00
Kimmo Puputti
875056cce2
Move create-react-app readme file to docs
2017-01-04 21:15:02 +02:00
Kimmo Puputti
d9dd053277
Init new app with create-react-app
2017-01-04 21:12:15 +02:00