au-plugin-a
TypeScript icon, indicating that this package has built-in type declarations

0.1.34 • Public • Published

test plugin of the aurelia-typescript-plugin

https://github.com/Vheissu/aurelia-typescript-plugin

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"
  }
]

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.340latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.340
0.1.330
0.1.320
0.1.300
0.1.290
0.1.280
0.1.270
0.1.260
0.1.250
0.1.240
0.1.230
0.1.220
0.1.210
0.1.200
0.1.190
0.1.180
0.1.170
0.1.160
0.1.140
0.1.130
0.1.120
0.1.110
0.1.100
0.1.90
0.1.80
0.1.70
0.1.60
0.1.50
0.1.40
0.1.20
0.1.10
0.1.00

Package Sidebar

Install

npm i au-plugin-a

Weekly Downloads

0

Version

0.1.34

License

MIT

Unpacked Size

189 kB

Total Files

71

Last publish

Collaborators

  • mwallink