GithubHelp home page GithubHelp logo

i18n's Introduction

Struttura

root
 |- __build__/
     |- build.js            -> il file contenente tutta l'applicazione, generato da webpack
 |- app/
     |- actions/            -> action creators
     |- components/         -> file dei componenti (con eventuali sottocartelle)
     |- config/             -> file di configurazione (percorsi API, routing...)
     |- constants/          -> costanti
     |- dispatcher/         -> dispatcher
     |- stores/             -> stores locali
     |- utils/              -> utilities varie
     |- App.js              -> entry point dell'applicazione
 |- test/                   -> contiene il framework di testing e il file di test
     |- tests.js            -> il file principale per il testing, eventuali altri files devono essere inclusi in questo file
 |- .gitignore              -> gitignore
 |- .eslintrc               -> configurazione di eslint
 |- .eslintignore           -> ignore list per eslint
 |- db.json                 -> database json per json-server
 |- index.html              -> la pagina principale dell'applicazione
 |- package.json            -> descrizione dell'applicazione e delle sue dipendenze
 |- README.md               -> questo file
 |- webpack.config.js       -> configurazione di webpack

Scripts

- start
    attiva il server webpack-dev-server
    webpack-dev-server --inline
    npm start
- deploy
    imposta l'ambiente node di produzione, genera il file globale minificato e lo shrinkwrap delle dipendenze
    NODE_ENV=production webpack -p && npm shrinkwrap
    npm run deploy
- test
    esegue i test nella console
    babel-node test/tests.js
    npm test
- check
    esegue un check dei pacchetti node installati
    npm-check -u
    npm run check
- json-server
    avvia il json-server
    json-server --watch db.json
    npm run json-server
- npm-version
    pubblica una nuova versione del pacchetto
    npm version -v 'Deploying %s'
    npm run npm-version [version]

Gitignore

- node_modules/     -> sorgenti delle dipendenze - non versioniamo le dipendenze ma usiamo il file di shrinkwrap
                       per "bloccare" l'albero delle dipendenze quando viene fatto un deploy
- npm-debug.log     -> log degli errori di node
- .sass-cache/      -> cache di sass

i18n's People

Contributors

goffreder avatar

Watchers

 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.