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
Copy file name to clipboardExpand all lines: packages/create-bison-app/CONTRIBUTING.md
+14-5
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,25 @@
5
5
Run the following commands in the `packages/create-bison-app` directory to start the development server:
6
6
7
7
1. Run `yarn install` to install dependencies
8
-
1. Run `yarn dev` to create a Bison app and start the server. Optionally, you may pass the following arguments:
8
+
1. Run `yarn dev` to create a Bison app and start the server. Optionally, you may pass the following arguments and options:
9
+
-`[script]` Any script in the template's [package.json](/packages/create-bison-app/template/package.json.ejs). By default, the `dev` script is run.
9
10
-`--acceptDefaults` Skip interactive prompts and use default options to create a new Bison app
10
11
-`--clean` When running `yarn dev` subsequent times, use this to reconfigure and create a new Bison app
11
-
-`--port` Specify the port to listen on. Defaults to 3001.
12
12
13
-
Example:
13
+
### Example Usages
14
+
15
+
Start the development server:
16
+
17
+
```
18
+
yarn dev --acceptDefaults --clean
19
+
```
20
+
21
+
Run the `test` script in Bison's [package.json](/packages/create-bison-app/template/package.json.ejs):
22
+
14
23
```
15
-
yarn dev --acceptDefaults --clean --port=5000
24
+
yarn dev test
16
25
```
17
26
18
27
## Making Changes to the Bison Template
19
28
20
-
After you have the development server running, you can make your changes in the `packages/create-bison-app/template/` directory which will trigger the server to recompile.
29
+
After you have the development server running, you can make your changes in the `packages/create-bison-app/template/` directory which will trigger the server to recompile.
0 commit comments