Skip to content

Commit 00a0c0c

Browse files
committed
feat: swith to npm instead of yarn. update dependencies
1 parent 3b94576 commit 00a0c0c

File tree

8 files changed

+11213
-6518
lines changed

8 files changed

+11213
-6518
lines changed

README.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,30 @@ promise that future updates will not break your existing application.**
1111

1212
## Get started
1313

14-
Install [yarn](https://github.com/yarnpkg/yarn) if you don't have it already:
15-
```
16-
npm install -g yarn
17-
```
18-
19-
Then copy environment variables and edit them if necessary:
14+
Copy environment variables and edit them if necessary:
2015
```
2116
cp .env.example .env
2217
```
2318

2419
Then:
2520
```
26-
yarn install
27-
yarn start
21+
npm install
22+
npm start
2823
```
2924

3025
Direct your browser to `http://localhost:3000`.
3126

3227
For production builds:
3328

3429
```
35-
yarn run prod:start
30+
npm run prod:build
31+
npm run serve
3632
```
3733

38-
Note: pm2 must be installed to run production builds.
34+
For Heroku, simply add a `Procfile`:
35+
```
36+
web: npm run serve
37+
```
3938

4039
## Directory Structure
4140
```
@@ -93,13 +92,13 @@ Make sure you have it installed:
9392
npm install -g mocha
9493
```
9594

96-
Tests should reside alongside the component/module/selector/etc that it is
97-
testing. For example:
95+
Tests should reside in `test/spec` in their appropriate folders:
9896

9997
```
100-
├── reducers
101-
│   ├── todos.js
102-
│   ├── todos.test.js
98+
├── test
99+
│   ├── spec
100+
│   │   ├── api
101+
│   │   │   ├── todos.test.js
103102
```
104103

105104
Tests can be written with ES2015, since it passes through `babel-register`.

0 commit comments

Comments
 (0)