You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
@@ -53,33 +53,33 @@ First fork the project on Github. Then set up locally.
53
53
```sh
54
54
$ git clone git@github.com:USER_NAME/undernet.git
55
55
$ cd undernet/
56
-
$ npm install
56
+
$ npm install# or `yarn install`
57
57
```
58
58
59
59
The site is both a demo and marketing tool. It is built with my own webpack setup called [Pulsar](https://github.com/geotrev/pulsar). It's basically just Webpack + React, so don't panic. :)
60
60
61
61
### Run the dev server
62
62
63
63
```sh
64
-
$ npm run watch
64
+
$ yarn watch
65
65
```
66
66
67
67
### Make a production build (mostly for sanity checks)
68
68
69
69
```sh
70
-
$ npm run build
70
+
$ yarn build
71
71
```
72
72
73
73
### Run Jest tests (for site + framework)
74
74
75
75
```sh
76
-
$ npmtest
76
+
$ yarntest
77
77
```
78
78
79
79
### Load tests on file save
80
80
81
81
```sh
82
-
$ npm run test:watch
82
+
$ yarn test:watch
83
83
```
84
84
85
85
### Building the framework
@@ -88,10 +88,10 @@ The site itself is a demo of the framework, so you should be able to work on the
88
88
89
89
The build environment works in any bash/unix environment. If you're on Windows, that means you'll need [WSL](https://docs.microsoft.com/en-us/windows/wsl/install-win10) or an equivalent solution.
90
90
91
-
If you've already run `npm install`, these commands should Just Work™.
91
+
If you've already run `yarn install`, these commands should Just Work™.
92
92
93
93
```sh
94
-
$ npm run build:dist
94
+
$ yarn build:dist
95
95
```
96
96
97
97
The script processes the SCSS and JS, then compiles the output to the `dist/` folder.
@@ -101,7 +101,7 @@ The script processes the SCSS and JS, then compiles the output to the `dist/` fo
101
101
To continually reload fresh JS assets while running the site's dev server, run the below command in a separate terminal session.
0 commit comments