Git Product home page Git Product logo

inito-ts's Introduction

INITO TS

INITO on Typescript

GENERATE NEW PROJECT

INITO STACK

  • react
  • react-router
  • i18next + react-i18next
  • CSS Modules
  • proptypes
  • eslint
  • babel
  • webpack + webpack-dev-server
  • enabled code splitting with React.lazy and Suspense
  • components generation with create-component-app
  • built in HttpClient with axios

CREATE NEW COMPONENT

  • npm run generate:component
  • it will ask the component name
  • it will create a component under the src/components folder
  • components are composed by:
    • COMPONENT_NAME.js
    • COMPONENT_NAME.styles.js

CREATE NEW PAGE

  • npm run generate:page
  • it will ask the page name
  • it will create a page under the src/pages folder
  • components are composed by:
    • PAGE_NAME.js
    • PAGE_NAME.styles.js

UPDATE VERSION

  • npm run version
  • it will ask you the level of version to update (1.0.0) from 1 to 3
  • update package.json and package-lock.json version

FORMAT PROJECT STYLE

  • npm run prettier
  • it will update all files with the .prettierrc and .eslintrc.js configurations

BUILD APP

  • npm run build
  • it will create a project build in /dist

DEV INSTALL

  • clone repository: git clone <repository_url>
  • cd path/to/app
  • run npm install
  • npm run build - first time and when there are changes in /public
  • npm start
  • app will run at http://localhost:3000

inito-ts's People

Stargazers

Giovanni Bieller avatar

Watchers

Giovanni Bieller 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.