1.0.8 • Published 6 years ago

generator-aladin v1.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Aladin App

Installation

  1. If not already installed, install Node.js v10 or higher (minimum required version is Node.js v8).

  2. Create a new directory and cd into it:

    mkdir hello-aladin
    cd hello-aladin
  3. Generate a Aladin app, you can specify the framework.

    FrameworkUse this command to install
    Plain Javascriptnpx generator-aladin --plain
    Reactnpx generator-aladin --react
    Vuenpx generator-aladin --vue

    For additional options run npx generator-aladin --help.

    Alternatively, global package installation can be used. Try this if running into problems:

    npm install -g yo generator-aladin
    yo aladin
  4. Start the development server:

    npm run start

Testing the generated app

The single tests works for all generators:

npm run test

Testing the generator project

Within the repo directory, run npm run test. This command will generate the variants of Aladin apps in folders called .app-gen-test, .webpack-gen-test, .react-gen-test, and .vue-gen-test. The test asserts that all expected files were actually created. It also runs the npm run test command within each app. For the React, Webpack, and Vue generators, npm run test currently builds the app, but that command can be changed. (For a React app, the typical test command is react-scripts test.)

1.0.8

6 years ago

1.0.7

6 years ago

1.0.2

6 years ago

1.0.3-beta

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.8.0

6 years ago