Coder Social home page Coder Social logo

hotell / react-tools-for-better-angular-apps Goto Github PK

View Code? Open in Web Editor NEW
28.0 7.0 8.0 1.75 MB

Use React ecosystem for unified and top notch DX for angular developement

JavaScript 11.01% TypeScript 87.24% HTML 1.38% CSS 0.37%
angular-cli jest testcafe storybook redux-observable axios

react-tools-for-better-angular-apps's Introduction

Angular CLI with better defaults from React ecosystem

This project was generated with Angular CLI version 1.7.1.

It also adds better tooling defaults from React ecosystem, for much better and faster DX with Angular. Core remains unchanged so you get all Angular CLI benefits indefinitely ๐Ÿ˜Ž๐Ÿ‘Œ

Project Guidelines

Git

https://github.com/wearehive/project-guidelines#git

Running your app

Run yarn start for booting up your app with dev server or yarn start --open and it will boot and open your browser.

If you wanna use HMR you can run yarn start:hmr

Code scaffolding

Run yarn ng g c component-name to generate a new component.

You can also use yarn ng g directive|pipe|service|class|guard|interface|enum|module.

Build

Run yarn build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run yarn test to execute the unit tests via Jest.

For getting code coverage execute yarn test:coverage

Running end-to-end tests

Run yarn e2e to execute the end-to-end tests in chrome in watch mode via TestCafe.

Run yarn e2e:ci to execute whole test suite in all browsers

Running Storybook

Run yarn storybook and go to localhost:6006

Reformat whole code

Note: you don't need to do this, lint-staged and husky will do that for you

You can run yarn format for executing prettier and yarn lint for linting and fixing lint mistakes in your codebase.

Upgrade dependencies

Run yarn upgrade-interactive --latest and choose what you wanna bump up!

Example app

Check out this branch to explore real life usage of provided tools

Further help

To get more help on the Angular CLI use yarn ng help or go check out the Angular CLI README.

react-tools-for-better-angular-apps's People

Contributors

angular-cli avatar hotell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  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.