3.1.0 • Published 2 years ago

aurelia-deco v3.1.0

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

2 years ago

3.0.52

3 years ago

3.0.53

3 years ago

3.0.51

3 years ago

3.0.49

3 years ago

3.0.48

3 years ago

3.0.50

3 years ago

3.0.47

3 years ago

3.0.45

3 years ago

3.0.46

3 years ago

3.0.44

3 years ago

3.0.43

4 years ago

3.0.41

4 years ago

3.0.42

4 years ago

3.0.40

4 years ago

3.0.16

4 years ago

3.0.17

4 years ago

3.0.15

4 years ago

3.0.23

4 years ago

3.0.24

4 years ago

3.0.21

4 years ago

3.0.22

4 years ago

3.0.27

4 years ago

3.0.28

4 years ago

3.0.25

4 years ago

3.0.26

4 years ago

3.0.20

4 years ago

3.0.18

4 years ago

3.0.19

4 years ago

3.0.34

4 years ago

3.0.35

4 years ago

3.0.32

4 years ago

3.0.33

4 years ago

3.0.38

4 years ago

3.0.39

4 years ago

3.0.36

4 years ago

3.0.37

4 years ago

3.0.30

4 years ago

3.0.31

4 years ago

3.0.29

4 years ago

3.0.14

4 years ago

3.0.13

4 years ago

3.0.12

4 years ago

3.0.11

4 years ago

3.0.10

4 years ago

3.0.9

4 years ago

3.0.8

4 years ago

3.0.7

4 years ago

3.0.6

4 years ago

3.0.5

4 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.17

4 years ago

2.0.18

4 years ago

2.0.15

4 years ago

2.0.16

4 years ago

2.0.14

4 years ago

2.0.13

4 years ago

2.0.11

4 years ago

2.0.12

4 years ago

2.0.9

4 years ago

2.0.10

4 years ago

2.0.7

4 years ago

2.0.8

4 years ago

2.0.6

4 years ago