Commit graph

25 commits

Author SHA1 Message Date
Kimmo Puputti
a1236c66a8 Add subdir wildcards explicitly in the glob pattern
Prettier has an open bug where it doesn't correctly handle the
globstart pattern:

https://github.com/jlongster/prettier/issues/145

Listing the subdir globstars explicitly (to a deep enough level) fixes
this for now.
2017-01-19 11:29:29 +02:00
Kimmo Puputti
ac40c080c4 Add Prettier script + options 2017-01-18 13:53:59 +02:00
Kimmo Puputti
5d4379f7e8 Update packages, add Prettier 2017-01-18 13:53:42 +02:00
Kimmo Puputti
7a623b7660 Specify Yarn version 2017-01-17 15:00:50 +02:00
Kimmo Puputti
9fb2495af8 Add basic auth for production mode 2017-01-16 15:15:47 +02:00
Kimmo Puputti
34f6225cb4 Specify exact Node.js version 2017-01-16 15:15:47 +02:00
Kimmo Puputti
de026d621a Move nodemon to dev deps 2017-01-16 15:15:47 +02:00
Kimmo Puputti
e48c3e74b8 Move sharetribe-scripts from dev deps to deps 2017-01-16 15:15:47 +02:00
Kimmo Puputti
d2d1e3da74 Heroku setup 2017-01-16 15:15:47 +02:00
Kimmo Puputti
f69c708b7a Add missing source-map-support package 2017-01-16 15:15:47 +02:00
Kimmo Puputti
f97c1f1498 Add gzip compression middleware to the express server 2017-01-16 15:15:47 +02:00
Kimmo Puputti
91399a9137 Add helmet middleware package 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
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
c28bb84a84 Add react-test-renderer package 2017-01-12 11:28:54 +02:00
Kimmo Puputti
26407dbdfc Use the published version of sharetribe-scripts 2017-01-11 15:08:16 +02:00
Kimmo Puputti
23126a60c4 Update React to 15.4.2 2017-01-09 10:29:41 +02:00
Kimmo Puputti
db8cde8ce0 Add clean script 2017-01-05 17:02:10 +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
c32f88da47 Add react-helmet 2017-01-05 14:28:28 +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
5f38b1d74f Point to the local react-scripts fork 2017-01-04 21:39:46 +02:00
Kimmo Puputti
d9dd053277 Init new app with create-react-app 2017-01-04 21:12:15 +02:00