项目作者: array-analytics

项目描述 :
A Leaflet maps plugin for Aurelia written in Typescript based off Vheissu/aurelia-typescript-plugin.
高级语言: TypeScript
项目地址: git://github.com/array-analytics/aurelia-leaflet-ts.git
创建时间: 2018-02-17T07:22:34Z
项目社区:https://github.com/array-analytics/aurelia-leaflet-ts

开源协议:

下载


aurelia-leaflet-plugin

An Aurelia plugin for LeafletJS.

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.

Supported

  • Multiple module formats: commonjs, es2015, system and amd.
  • Write plugins in TypeScript
  • Definition files automatically generated using the TypeScript native compiler
  • Implement testing
  • Implement better linting
  • Better definition generation and singular index.js export strategy

Disclaimers

This plugin is originally based on https://github.com/benib/aurelia-leaflet js code that uses JSPM and is written in javascript. The typescript aurelia plugin template (https://github.com/Vheissu/aurelia-typescript-plugin) was used as a basis for this repository.

Aurelia CLI Support

This plugin skeleton exports an AMD module format which works with Aurelia CLI > v0.30.x.

  1. "dependencies": [
  2. {
  3. "name": "aurelia-leaflet-plugin",
  4. "path": "../node_modules/aurelia-leaflet-plugin/dist/amd",
  5. "main": "index",
  6. "resources": [
  7. "**/*.html",
  8. "**/*.css"
  9. ]
  10. }
  11. ]