https://github.com/nucliweb/lighthouse-gh-action
https://github.com/nucliweb/lighthouse-gh-action
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nucliweb/lighthouse-gh-action
- Owner: nucliweb
- Created: 2021-06-12T09:06:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-02T08:21:58.000Z (about 2 years ago)
- Last Synced: 2023-12-03T00:36:13.803Z (about 2 years ago)
- Language: JavaScript
- Size: 1.44 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://app.netlify.com/sites/shortstax/deploys)
### CSS
[PostCSS](https://postcss.org) to **bundle**, **import from NPM, local or remote URLs**, handy [easings](https://easings.net), plus [postcss-preset-env](https://preset-env.cssdb.org/) for **latest CSS features**.
### JS
[Rollup](https://rollupjs.org) to **bundle**, **treeshake**, **import from NPM, local or remote URLs**, **import processed CSS**, plus [babel-preset-env](https://babeljs.io/docs/en/babel-preset-env) for **latest JS features**.
### Servers
[Browsersync](https://www.browsersync.io) with all the goodies for local dev: **live reload**, **hot swap CSS**, **scroll syncing**, **remote debugging**, [etc](https://www.browsersync.io). Prod server is just a static server.
> Watch me break it down on [YouTube!](https://links.argyle.ink/shortstack)
## Getting Started
[use this as a Github template](https://github.com/argyleink/shortstack/generate)
OR
#### Clone Shortstack into a new folder
1. `mkdir new-project-name && cd $_`
1. `git clone --depth=1 https://github.com/argyleink/shortstack.git . && rm -rf ./.git`
OR (essentially the same thing with npx+degit)
1. `npx degit argyleink/shortstack#main`
#### Install tools and spin it up
1. `npm i`
1. `npm start`
## Development
Running `npm start` runs Browsersync, Rollup and Postcss concurrently, watching changes to your files in `./app` and refreshes connected browsers.
## Production
Running `npm run build` compiles and minifies your code in `app` and outputs the optimised result to a folder called `dist` that's ready for static hosting.
Running `npm run production` will build your project and start a server at `dist`.