https://github.com/tony-go/notools
Bike shed tooling app 🔩 !
https://github.com/tony-go/notools
Last synced: 3 months ago
JSON representation
Bike shed tooling app 🔩 !
- Host: GitHub
- URL: https://github.com/tony-go/notools
- Owner: tony-go
- Created: 2020-09-20T14:22:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T10:21:03.000Z (over 4 years ago)
- Last Synced: 2025-02-04T16:18:26.438Z (5 months ago)
- Language: Reason
- Size: 212 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# No tools app
Bike shed tooling app.
## Run Project
Add a `firebase.config.json` file with your firebase config.
```sh
npm install
npm start
# in another tab
npm run server
```View the app in the browser at http://localhost:8000. Running in this environment provides hot reloading and support for routing; just edit and save the file and the browser will automatically refresh.
To use a port other than 8000 set the `PORT` environment variable (`PORT=8080 npm run server`).
## Build for Production
```sh
npm run clean
npm run build
npm run webpack:production
```This will replace the development artifact `build/Index.js` for an optimized version as well as copy `src/index.html` into `build/`. You can then deploy the contents of the `build` directory (`index.html` and `Index.js`).
**To enable dead code elimination**, change `bsconfig.json`'s `package-specs` `module` from `"commonjs"` to `"es6"`. Then re-run the above 2 commands. This will allow Webpack to remove unused code.