1.0.0 • Published 5 years ago
@rseikel/ssv1 v1.0.0
📦 SSV
SSV deployment test
Installation
Clone this repo and npm install.
npm iUsage
Development server
npm startYou can view the development server at localhost:8080.
Production build
npm run buildNote: Install http-server globally to deploy a simple server.
npm i -g http-serverYou can view the deploy by creating a server in dist.
cd dist && http-serverFeatures
Dependencies
webpack
- webpack- Module and asset bundler.
- webpack-cli- Command line interface for webpack
- webpack-dev-server- Development server for webpack
- webpack-merge- Simplify development/production configuration
- cross-env- Cross platform configuration
Babel
- @babel/core- Transpile ES6+ to backwards compatible JavaScript
- @babel/plugin-proposal-class-properties- Use properties directly on a class (an example Babel config)
- @babel/preset-env- Smart defaults for Babel
Loaders
- babel-loader- Transpile files with Babel and webpack
- sass-loader- Load SCSS and compile to CSS- node-sass- Node Sass
 
- postcss-loader- Process CSS with PostCSS- postcss-preset-env- Sensible defaults for PostCSS
 
- css-loader- Resolve CSS imports
- style-loader- Inject CSS into the DOM
Plugins
- clean-webpack-plugin- Remove/clean build folders
- copy-webpack-plugin- Copy files to build directory
- html-webpack-plugin- Generate HTML files from template
- mini-css-extract-plugin- Extract CSS into separate files
- css-minimizer-webpack-plugin- Optimize and minimize CSS assets
Author
Publishing as npm package (Minimal steps)
- npm login
- https://github.com/new to create new repo
- https://shields.io/ to create badge
- Chose MIT License
- Create README.md
- Create package.json as in this directory
- npm publish --access=public
License
This project is open source and available under the MIT License.
1.0.0
5 years ago