Coder Social home page Coder Social logo

miltonquirino / angular-webpack-skeleton Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ks89/angular-webpack-skeleton

0.0 2.0 0.0 201 KB

A simple skeleton project to use Angular4, Webpack2, Boostrap 4 alpha, bootstrap-loader 2, ng-bootstrap alpha, karma (unit tests), protractor (e2e tests) and istanbul (code coverage) together

License: MIT License

JavaScript 30.09% TypeScript 50.77% Shell 4.46% HTML 9.24% CSS 5.45%

angular-webpack-skeleton's Introduction

Travis Build AppVeyor Build CircleCI Build Code Climate CodeClimate Coverage Coveralls Coverage Known Vulnerabilities


angular-webpack-skeleton

A simple skeleton project to use Angular 4, Webpack2, Bootstrap 4 alpha, ng-bootstrap and bootstrap-loader 2 together

This project is a personal skeleton. If you want to use it feel free to fork it. I share this with you as it is.

Project renamed to "angular-webpack-skeleton"

News

  • 05/20/2017 - Alpha 20 - Check HERE
  • 04/25/2017 - Alpha 19 - Check HERE
  • 04/23/2017 - Alpha 18 - Check HERE
  • 03/26/2017 - Alpha 17 - Check HERE
  • 03/23/2017 - Alpha 16 - Check HERE
  • 03/05/2017 - Alpha 15 - Check HERE
  • 02/26/2017 - Alpha 14 - Check HERE
  • 02/26/2017 - Alpha 13 - Check HERE
  • 02/26/2017 - Alpha 12 - Check HERE
  • 02/26/2017 - Alpha 11 - Check HERE
  • 02/26/2017 - Alpha 10 - Check HERE
  • 01/30/2017 - Alpha 9 - Check HERE
  • 01/28/2017 - Alpha 8 - Check HERE
  • 01/22/2017 - Alpha 7 - Check HERE
  • 01/21/2017 - Alpha 6 - Check HERE
  • 01/15/2017 - Alpha 5 - Check HERE

Changelog

Full changelog HERE

Install global dependencies

I created some scripts inside 'setup' folder to initialize the environment. If you are already ready, you can execute this (sudo if you are using macOS):

  • npm install -g lite-server

Install local dependencies

  • npm install

Run with webpack-dev-server (developing mode)

  • npm start

Build the application in 'dist' folder (debug mode)

  • npm run build:dev
  • cd dist
  • lite-server

Build the application in 'dist' folder (production mode)

  • npm run build:prod
  • cd dist
  • lite-server

Build the application in 'dist' folder (production + AOT mode)

  • npm run build:prod:aot
  • cd dist
  • lite-server

Test (check coverage/html/index.html with the results)

  • npm test

Test e2e with protractor

  • npm run webdriver:update (if you have problems, try again removing ./node_modules and executing npm install)
  • npm run e2e

To generate typescript's documentation (check docs/index.html with the result)

  • npm run docs

I have to write the documentation, but this project is ready to use typedocs

To generate webpack bundle's results

  • npm run build:dev (or build:prod or build:prod:aot)
  • npm run analyze:bundle

To use webpack-visualizer-plugin

  • npm run build:dev (or build:prod or build:prod:aot)
  • open in your browser dist/webpack-visualizer-report.html

Credits

A special thanks to both qdouble and AngularClass projects.

License

MIT License

Copyright (c) 2017 Stefano Cappa

This license is valid to all my files in this repo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


**Created by Stefano Cappa**

angular-webpack-skeleton's People

Contributors

ks89 avatar greenkeeper[bot] avatar joshuaharrison avatar

Watchers

James Cloos avatar Milton Quirino avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.