-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update @snowpack/app-template-minimal README, package.json (#1419)
* Update @snowpack/app-template-minimal README, package.json * Remove format and lint scripts * Update snapshot * Re-add test script
- Loading branch information
Showing
3 changed files
with
35 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
# app-template-minimal | ||
# New Project | ||
|
||
A bare bones Snowpack animal that serves a webpage and its resources. | ||
> ✨ Bootstrapped with Create Snowpack App (CSA). | ||
## App files | ||
## Available Scripts | ||
|
||
- `index.html`: a simple webpage that includes `index.css` and `index.js` | ||
- `index.js`: a simple JavaScript file that prints "hello world" to the console | ||
- `index.css`: a simple CSS file with some global styles | ||
- `snowpack.config.js`: an example Snowpack config file | ||
- `package.json`: with Snowpack installed as a development dependency and scripts for starting and building | ||
### npm start | ||
|
||
## Using this App | ||
Runs the app in the development mode. | ||
Open http://localhost:8080 to view it in the browser. | ||
|
||
- Run `npm start` to start the dev server. Updates to the code will show instantly. | ||
- Run `npm build` to build for production. | ||
The page will reload if you make edits. | ||
You will also see any lint errors in the console. | ||
|
||
### npm run build | ||
|
||
Builds a static copy of your site to the `build/` folder. | ||
Your app is ready to be deployed! | ||
|
||
**For the best production performance:** Add a build bundler plugin like [@snowpack/plugin-webpack](https://github.com/snowpackjs/snowpack/tree/master/plugins/plugin-webpack) or [snowpack-plugin-rollup-bundle](https://github.com/ParamagicDev/snowpack-plugin-rollup-bundle) to your `snowpack.config.json` config file. | ||
|
||
### Q: What about Eject? | ||
|
||
No eject needed! Snowpack guarantees zero lock-in, and CSA strives for the same. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71f07ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: