Skip to content
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.

niieani/aurelia-skeleton-plugin

Repository files navigation

NO LONGER MAINTAINED. PLEASE DO NOT USE.

aurelia-skeleton-plugin (typescript)

Building The Plugin

To build the plugin, follow these steps.

  1. Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
  2. From the project folder, execute the following command:
npm install
  1. Ensure that Gulp is installed globally. If you need to install it, use the following command:
npm install -g gulp

Note: Gulp must be installed globally, but a local version will also be installed to ensure a compatible version is used for the project.

  1. To build the plugin in the background, execute the following command:
gulp watch
  1. Link your plugin with an Aurelia app for local development and testing:
npm link

# at this point, change the directory to your Aurelia app, e.g.
cd ../aurelia-skeleton-navigation

# if using Webpack, simply run:
npm link aurelia-skeleton-plugin

# if using JSPM you will need to re-run this
# after every change you make to your code:
jspm link -y aurelia-skeleton-plugin
  1. Make your Aurelia app load the plugin by adding the following line to the configure function in the main.js file of your src folder, e.g.
  export function configure(aurelia) {
    aurelia.use
      .standardConfiguration()
      .developmentLogging();

+   aurelia.use.plugin('aurelia-skeleton-plugin');

    aurelia.start().then(a => a.setRoot());
  }

Running The Unit Tests

To run the unit tests, simply run the command:

npm test

About

DEPRECATED: A opinionated starter kit for building an Aurelia plugin using TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published