2021-08-03 21:44:39 +00:00
|
|
|
# iris-messenger
|
|
|
|
|
2021-08-03 21:45:36 +00:00
|
|
|
https://iris.to
|
|
|
|
|
2021-07-08 21:31:30 +00:00
|
|
|
## CLI Commands
|
2020-03-12 14:13:11 +00:00
|
|
|
|
2021-07-08 21:31:30 +00:00
|
|
|
``` bash
|
|
|
|
# install dependencies
|
|
|
|
npm install
|
2020-01-14 08:41:30 +00:00
|
|
|
|
2021-07-08 21:31:30 +00:00
|
|
|
# serve with hot reload at localhost:8080
|
|
|
|
npm run dev
|
2020-01-30 10:21:43 +00:00
|
|
|
|
2021-07-08 21:31:30 +00:00
|
|
|
# build for production with minification
|
|
|
|
npm run build
|
2020-01-30 11:10:53 +00:00
|
|
|
|
2021-07-08 21:31:30 +00:00
|
|
|
# test the production build locally
|
|
|
|
npm run serve
|
2020-01-30 11:10:53 +00:00
|
|
|
|
2021-07-08 21:31:30 +00:00
|
|
|
# run tests with jest and enzyme
|
|
|
|
npm run test
|
|
|
|
```
|
2020-12-20 07:14:18 +00:00
|
|
|
|
2021-07-08 21:31:30 +00:00
|
|
|
For detailed explanation on how things work, checkout the [CLI Readme](https://github.com/developit/preact-cli/blob/master/README.md).
|
2021-08-03 21:45:17 +00:00
|
|
|
|
|
|
|
## Non-webpacked version
|
|
|
|
Branch [no-buildtools](https://github.com/irislib/iris-messenger/tree/no-buildtools) ([deployed](https://iris-simple.netlify.app/)).
|
|
|
|
|