3.1.0 • Published 12 months ago

aurelia-deco v3.1.0

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
12 months 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"
  }
]
3.1.0

12 months ago

3.0.52

2 years ago

3.0.53

2 years ago

3.0.51

2 years ago

3.0.49

2 years ago

3.0.48

2 years ago

3.0.50

2 years ago

3.0.47

2 years ago

3.0.45

2 years ago

3.0.46

2 years ago

3.0.44

2 years ago

3.0.43

3 years ago

3.0.41

3 years ago

3.0.42

3 years ago

3.0.40

3 years ago

3.0.16

3 years ago

3.0.17

3 years ago

3.0.15

3 years ago

3.0.23

3 years ago

3.0.24

3 years ago

3.0.21

3 years ago

3.0.22

3 years ago

3.0.27

3 years ago

3.0.28

3 years ago

3.0.25

3 years ago

3.0.26

3 years ago

3.0.20

3 years ago

3.0.18

3 years ago

3.0.19

3 years ago

3.0.34

3 years ago

3.0.35

3 years ago

3.0.32

3 years ago

3.0.33

3 years ago

3.0.38

3 years ago

3.0.39

3 years ago

3.0.36

3 years ago

3.0.37

3 years ago

3.0.30

3 years ago

3.0.31

3 years ago

3.0.29

3 years ago

3.0.14

3 years ago

3.0.13

3 years ago

3.0.12

3 years ago

3.0.11

3 years ago

3.0.10

3 years ago

3.0.9

3 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.17

3 years ago

2.0.18

3 years ago

2.0.15

3 years ago

2.0.16

3 years ago

2.0.14

3 years ago

2.0.13

3 years ago

2.0.11

3 years ago

2.0.12

3 years ago

2.0.9

3 years ago

2.0.10

3 years ago

2.0.7

3 years ago

2.0.8

3 years ago

2.0.6

3 years ago