Code Monkey home page Code Monkey logo

cli-build-widget-demo's Introduction

cli-build-widget-demo

This project was generated with the Dojo CLI & Dojo CLI create app command.

Build

Run npm run build or dojo build --mode dist (the mode option defaults to dist) to create a production build for the project. The built artifacts will be stored in the output/dist directory.

Development Build

Run npm run build:dev or dojo build --mode dev to create a development build for the project. The built artifacts will be stored in the output/dev directory.

Development server

Run npm run dev or dojo build --mode dev --watch file --serve to create a development build and start a development server. By default the server runs on port 9999, navigate to http://localhost:9999/.

To change the port of the development server use the --port option on the dojo build command.

To create an in memory development build and start a development server with hot reload, switch the --watch option to memory.

Running unit tests

To run units tests in node only use npm run test or dojo test which uses JIT (just in time) compilation.

To run the unit tests against built bundles, run npm run test:unit.

To be re-run the unit tests without needing to re-build the full application each time, first build the app with --mode unit and the --watch option, dojo build --mode unit --watch. Then run dojo test --config local to run the unit tests as needed.

The build test artifacts are written to the output/tests/unit directory. These tests are located in the tests/unit directory.

Running functional tests

To run the functional tests, run npm run test:functional. These tests are located in the tests/functional directory.

Running unit and functional tests together

To run both unit and functional tests as the same time, run npm run test:all.

Further help

To get help for these commands and more, run dojo on the command line.

cli-build-widget-demo's People

Contributors

xiaohulu avatar

Watchers

 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.