4.9.9 • Published 6 years ago

aurelia-typescript-plugin v4.9.9

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

aurelia-typescript-plugin

A plugin skeleton for creating Aurelia plugins written using TypeScript. Supports testing, different formats and more.

Aurelia TypeScript Skeleton

  • Supports multiple module formats including; AMD, CommonJS, Native modules and more
  • Works with Aurelia CLI, Webpack and JSPM based Aurelia applications
  • Build an Aurelia plugin using TypeScript
  • Supports testing using Jest
  • Supports linting using TSLint
  • Automatically handles copying of assets including; HTML, CSS and JSON
  • Comes configured with support for SCSS

Scripts

Run the following Node scripts defined in the package.json file to perform linting, testing, building and more.

Lint: yarn lint Test: yarn test Build: yarn build

There are more scripts defined in the package.json file if you want greater control over the build process and other aspects of this plugin.

Structure

  • src this is where your .ts files go. They get compiled into the respective dist folders for each module type.
  • dist automatically transpiled/generated modules go in here, don't edit anything here.
  • styles the root styles directory is where your styles go. These are then put into the dist folder so your modules can include/reference any styles.

Aurelia CLI Support

This plugin skeleton exports an AMD module format which the Aurelia CLI currently consumes.

"dependencies": [
  {
    "name": "my-cool-package",
    "path": "../node_modules/my-cool-package/dist/amd",
    "main": "somefile",
    "env": "dev"
  }
]
4.9.9

6 years ago

4.9.8

6 years ago

4.9.6

6 years ago

4.9.5

6 years ago

4.9.4

6 years ago

4.9.3

6 years ago

4.9.2

6 years ago

4.9.1

6 years ago

4.9.0

6 years ago

4.8.13

6 years ago

4.8.12

6 years ago

4.8.11

6 years ago

4.8.10

6 years ago

4.8.9

6 years ago

4.8.8

6 years ago

4.8.7

6 years ago

4.8.6

6 years ago

4.8.5

6 years ago

4.8.4

6 years ago

4.8.3

6 years ago

4.8.2

6 years ago

4.8.1

6 years ago

4.8.0

6 years ago

4.7.0

6 years ago

4.6.0

6 years ago

4.5.0

6 years ago

4.4.0

6 years ago

4.3.0

6 years ago

4.2.0

6 years ago

4.1.0

6 years ago

1.4.0

6 years ago

3.1.7

6 years ago

3.1.6

6 years ago

3.1.5

6 years ago

3.1.3

6 years ago

3.1.2

6 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago