-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3efe2f3
Showing
57 changed files
with
1,563 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+366 Bytes
...1c0a1b63bc8592ddb87baa46d632827ecd0b00c0bc3428cef5eea5c7de39ab8be058cbd476bf4ab.json.gzip
Binary file not shown.
Binary file added
BIN
+1.64 KB
...75af27379fc67e17a4d8e4e74b21791c4da148e5611f1ce532506147219bd361647f1b28ef016e9.json.gzip
Binary file not shown.
Binary file added
BIN
+414 Bytes
...b0d8fb53c0203c2cc2d07d0bc90318eb0bf6335000a7b75f82e00d7ec585a6026917a1d84595ca3.json.gzip
Binary file not shown.
Binary file added
BIN
+844 Bytes
...4d966aaf83026922690cb04a498fc0d1d6f5c7e71626d70c5bff9c6050fb86f847df7f4caca861c.json.gzip
Binary file not shown.
Binary file added
BIN
+2.04 KB
...2a5fe50b8296d29c732df9e823dc9b5859ea687e7f0bf5897225265aeb289c3ffde5dd375ce6ca2.json.gzip
Binary file not shown.
Binary file added
BIN
+1.67 KB
...c17e8fa4ee1ed3c88460875bb9984cddf9cc31d05585ccf7c7b172df49a4384c1529eca51e7ca70.json.gzip
Binary file not shown.
Binary file added
BIN
+1.65 KB
...f046538e355224b9d3463fc8b734b0cd2bf78e47012cec5c42bbfa6bf68707a53224d7321315bcf.json.gzip
Binary file not shown.
Binary file added
BIN
+6.99 KB
...15ccefe8861940dc2abf2f13dd8ad30ec342bac57834509da1893fe95f0ee057f72e5c07c8954b1.json.gzip
Binary file not shown.
Binary file added
BIN
+1.64 KB
...9c941d2f20f3bd9474bbfb6e4983369737e4ecf26796f7f326720bdc3c2c3c05daa145517356603.json.gzip
Binary file not shown.
Binary file added
BIN
+1.64 KB
...fc18d32d17061c856f57860c159a01c25d954f0df6c4144ca7ff48dad90cfa3b799af08e6288d2e.json.gzip
Binary file not shown.
Binary file added
BIN
+1.74 KB
...bfd8297b6e9bf8467b5133204f175f8b92b31031a5942c6187198b18c84a6c8f554a14807694f77.json.gzip
Binary file not shown.
Binary file added
BIN
+854 Bytes
...41a2e1cb1461a8cb50aae8e0e72f401067da9444522b59813b42028fedf8080f5c861080329a59c.json.gzip
Binary file not shown.
Binary file added
BIN
+167 Bytes
...23728b2b5722a8b0e81f25f397851086f074c18332a9184013be31ad475a1c4563284a5102031df.json.gzip
Binary file not shown.
Binary file added
BIN
+1.67 KB
...77ca600897b5a87f9039fc0a58531d49522b2e6a2283680ec883c1cc0e74caaf92b76e034e97add.json.gzip
Binary file not shown.
Binary file added
BIN
+1.47 KB
...b8b7cd84d5502c5bb5b59a06862e27f08c2fc7c0f15eeaca1e96ce98706eaec55b740ea5fc29399.json.gzip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
# 2 space indentation | ||
[**.*] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "./node_modules/aurelia-tools/.eslintrc.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
node_modules | ||
jspm_packages | ||
bower_components | ||
.idea | ||
.DS_STORE | ||
build/reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
jspm_packages | ||
bower_components | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Contributing | ||
|
||
We'd love for you to contribute and to make this project even better than it is today! If this interests you, please begin by reading [our contributing guidelines](https://github.com/DurandalProject/about/blob/master/CONTRIBUTING.md). The contributing document will provide you with all the information you need to get started. Once you have read that, you will need to also [sign our CLA](http://goo.gl/forms/dI8QDDSyKR) before we can accept a Pull Request from you. More information on the process is included in the [contributor's guide](https://github.com/DurandalProject/about/blob/master/CONTRIBUTING.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<!-- | ||
BUGS: Please use this template. | ||
SUPPORT REQUESTS/QUESTIONS: If you have a support request or question please | ||
submit them to StackOverflow using the tags aurelia and aurelia-framework | ||
http://stackoverflow.com/questions/tagged/aurelia | ||
or the Aurelia Gitter https://gitter.im/aurelia/discuss | ||
Blue Spire offers paid support agreements. Further information regarding paid support | ||
may be obtained by emailing [email protected] | ||
Future support requests submitted here will be closed. | ||
The HTML comments below are for your reference, and are not displayed | ||
when your issue is submitted, feel free to leave them. | ||
Choose one of the two headings, delete the other. | ||
--> | ||
**I'm submitting a bug report** | ||
**I'm submitting a feature request** | ||
|
||
* **Framework Version:** | ||
major.minor.patch-pre | ||
|
||
**Please tell us about your environment:** | ||
* **Operating System:** | ||
OSX 10.x|Linux (distro)|Windows [7|8|8.1|10] | ||
|
||
* **Node Version:** | ||
6.2.0 | ||
<!-- | ||
Minimum supported Node version is latest Node 4.x LTS | ||
run `node -v` | ||
--> | ||
|
||
* **NPM Version:** | ||
3.8.9 | ||
<!-- | ||
Minimum supported NPM version is 3.x | ||
run `npm -v` | ||
--> | ||
|
||
* **JSPM OR Webpack AND Version** | ||
JSPM 0.16.32 | webpack 2.1.0-beta.17 | ||
<!-- | ||
If using JSPM | ||
run `jspm -v` | ||
If using Webpack | ||
run `webpack --help | grep webpack` | ||
--> | ||
|
||
* **Browser:** | ||
all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView | ||
|
||
* **Language:** | ||
all | TypeScript X.X | ESNext | ||
|
||
|
||
**Current behavior:** | ||
|
||
|
||
**Expected/desired behavior:** | ||
<!-- | ||
If the current behavior is a bug, please provide the steps to reproduce and, if possible, a minimal demo of the | ||
problem along with a runnable gist, if possible. | ||
To create a runnable gist, go to https://gist.run/?id=7542e061bc940cde506b&sha=6821c521a6c7bae6f59a36fb8628ecd1032b2d10 | ||
Then click "Fork to Public Gist". | ||
Create your gist, then finally click "Update Gist." Include a link to the gist.run below. | ||
--> | ||
|
||
|
||
* **What is the expected behavior?** | ||
|
||
|
||
* **What is the motivation / use case for changing the behavior?** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
Creative Commons Legal Code | ||
|
||
CC0 1.0 Universal | ||
|
||
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE | ||
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN | ||
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS | ||
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES | ||
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS | ||
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM | ||
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED | ||
HEREUNDER. | ||
|
||
Statement of Purpose | ||
|
||
The laws of most jurisdictions throughout the world automatically confer | ||
exclusive Copyright and Related Rights (defined below) upon the creator | ||
and subsequent owner(s) (each and all, an "owner") of an original work of | ||
authorship and/or a database (each, a "Work"). | ||
|
||
Certain owners wish to permanently relinquish those rights to a Work for | ||
the purpose of contributing to a commons of creative, cultural and | ||
scientific works ("Commons") that the public can reliably and without fear | ||
of later claims of infringement build upon, modify, incorporate in other | ||
works, reuse and redistribute as freely as possible in any form whatsoever | ||
and for any purposes, including without limitation commercial purposes. | ||
These owners may contribute to the Commons to promote the ideal of a free | ||
culture and the further production of creative, cultural and scientific | ||
works, or to gain reputation or greater distribution for their Work in | ||
part through the use and efforts of others. | ||
|
||
For these and/or other purposes and motivations, and without any | ||
expectation of additional consideration or compensation, the person | ||
associating CC0 with a Work (the "Affirmer"), to the extent that he or she | ||
is an owner of Copyright and Related Rights in the Work, voluntarily | ||
elects to apply CC0 to the Work and publicly distribute the Work under its | ||
terms, with knowledge of his or her Copyright and Related Rights in the | ||
Work and the meaning and intended legal effect of CC0 on those rights. | ||
|
||
1. Copyright and Related Rights. A Work made available under CC0 may be | ||
protected by copyright and related or neighboring rights ("Copyright and | ||
Related Rights"). Copyright and Related Rights include, but are not | ||
limited to, the following: | ||
|
||
i. the right to reproduce, adapt, distribute, perform, display, | ||
communicate, and translate a Work; | ||
ii. moral rights retained by the original author(s) and/or performer(s); | ||
iii. publicity and privacy rights pertaining to a person's image or | ||
likeness depicted in a Work; | ||
iv. rights protecting against unfair competition in regards to a Work, | ||
subject to the limitations in paragraph 4(a), below; | ||
v. rights protecting the extraction, dissemination, use and reuse of data | ||
in a Work; | ||
vi. database rights (such as those arising under Directive 96/9/EC of the | ||
European Parliament and of the Council of 11 March 1996 on the legal | ||
protection of databases, and under any national implementation | ||
thereof, including any amended or successor version of such | ||
directive); and | ||
vii. other similar, equivalent or corresponding rights throughout the | ||
world based on applicable law or treaty, and any national | ||
implementations thereof. | ||
|
||
2. Waiver. To the greatest extent permitted by, but not in contravention | ||
of, applicable law, Affirmer hereby overtly, fully, permanently, | ||
irrevocably and unconditionally waives, abandons, and surrenders all of | ||
Affirmer's Copyright and Related Rights and associated claims and causes | ||
of action, whether now known or unknown (including existing as well as | ||
future claims and causes of action), in the Work (i) in all territories | ||
worldwide, (ii) for the maximum duration provided by applicable law or | ||
treaty (including future time extensions), (iii) in any current or future | ||
medium and for any number of copies, and (iv) for any purpose whatsoever, | ||
including without limitation commercial, advertising or promotional | ||
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each | ||
member of the public at large and to the detriment of Affirmer's heirs and | ||
successors, fully intending that such Waiver shall not be subject to | ||
revocation, rescission, cancellation, termination, or any other legal or | ||
equitable action to disrupt the quiet enjoyment of the Work by the public | ||
as contemplated by Affirmer's express Statement of Purpose. | ||
|
||
3. Public License Fallback. Should any part of the Waiver for any reason | ||
be judged legally invalid or ineffective under applicable law, then the | ||
Waiver shall be preserved to the maximum extent permitted taking into | ||
account Affirmer's express Statement of Purpose. In addition, to the | ||
extent the Waiver is so judged Affirmer hereby grants to each affected | ||
person a royalty-free, non transferable, non sublicensable, non exclusive, | ||
irrevocable and unconditional license to exercise Affirmer's Copyright and | ||
Related Rights in the Work (i) in all territories worldwide, (ii) for the | ||
maximum duration provided by applicable law or treaty (including future | ||
time extensions), (iii) in any current or future medium and for any number | ||
of copies, and (iv) for any purpose whatsoever, including without | ||
limitation commercial, advertising or promotional purposes (the | ||
"License"). The License shall be deemed effective as of the date CC0 was | ||
applied by Affirmer to the Work. Should any part of the License for any | ||
reason be judged legally invalid or ineffective under applicable law, such | ||
partial invalidity or ineffectiveness shall not invalidate the remainder | ||
of the License, and in such case Affirmer hereby affirms that he or she | ||
will not (i) exercise any of his or her remaining Copyright and Related | ||
Rights in the Work or (ii) assert any associated claims and causes of | ||
action with respect to the Work, in either case contrary to Affirmer's | ||
express Statement of Purpose. | ||
|
||
4. Limitations and Disclaimers. | ||
|
||
a. No trademark or patent rights held by Affirmer are waived, abandoned, | ||
surrendered, licensed or otherwise affected by this document. | ||
b. Affirmer offers the Work as-is and makes no representations or | ||
warranties of any kind concerning the Work, express, implied, | ||
statutory or otherwise, including without limitation warranties of | ||
title, merchantability, fitness for a particular purpose, non | ||
infringement, or the absence of latent or other defects, accuracy, or | ||
the present or absence of errors, whether or not discoverable, all to | ||
the greatest extent permissible under applicable law. | ||
c. Affirmer disclaims responsibility for clearing rights of other persons | ||
that may apply to the Work or any use thereof, including without | ||
limitation any person's Copyright and Related Rights in the Work. | ||
Further, Affirmer disclaims responsibility for obtaining any necessary | ||
consents, permissions or other rights required for any use of the | ||
Work. | ||
d. Affirmer understands and acknowledges that Creative Commons is not a | ||
party to this document and has no duty or obligation with respect to | ||
this CC0 or use of the Work. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# aurelia-skeleton-plugin | ||
|
||
[![ZenHub](https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png)](https://zenhub.io) | ||
[![Join the chat at https://gitter.im/aurelia/discuss](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aurelia/discuss?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
|
||
This skeleton is part of the [Aurelia](http://www.aurelia.io/) platform. It sets up a standard aurelia plugin using gulp to build your ES6 code with the Babel compiler. Karma/Jasmine testing is also configured. | ||
|
||
> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.aurelia.io/) and [our email list](http://eepurl.com/ces50j). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions, please [join our community on Gitter](https://gitter.im/aurelia/discuss) or use [stack overflow](http://stackoverflow.com/search?q=aurelia). Documentation can be found [in our developer hub](http://aurelia.io/hub.html). If you would like to have deeper insight into our development process, please install the [ZenHub](https://zenhub.io) Chrome or Firefox Extension and visit any of our repository's boards. | ||
## Building The Code | ||
|
||
To build the code, follow these steps. | ||
|
||
1. Ensure that [NodeJS](http://nodejs.org/) is installed. This provides the platform on which the build tooling runs. | ||
2. From the project folder, execute the following command: | ||
|
||
```shell | ||
npm install | ||
``` | ||
3. Ensure that [Gulp](http://gulpjs.com/) is installed. If you need to install it, use the following command: | ||
|
||
```shell | ||
npm install -g gulp | ||
``` | ||
4. To build the code, you can now run: | ||
|
||
```shell | ||
gulp build | ||
``` | ||
5. You will find the compiled code in the `dist` folder, available in three module formats: AMD, CommonJS and ES6. | ||
|
||
6. See `gulpfile.js` for other tasks related to generating the docs and linting. | ||
|
||
## Running The Tests | ||
|
||
To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps: | ||
|
||
1. Ensure that the [Karma](http://karma-runner.github.io/) CLI is installed. If you need to install it, use the following command: | ||
|
||
```shell | ||
npm install -g karma-cli | ||
``` | ||
2. Ensure that [jspm](http://jspm.io/) is installed. If you need to install it, use the following commnand: | ||
|
||
```shell | ||
npm install -g jspm | ||
``` | ||
3. Install the client-side dependencies with jspm: | ||
|
||
```shell | ||
jspm install | ||
``` | ||
|
||
4. You can now run the tests with this command: | ||
|
||
```shell | ||
karma start | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
var yargs = require('yargs'); | ||
|
||
var argv = yargs.argv; | ||
var validBumpTypes = 'major|minor|patch|prerelease'.split('|'); | ||
var bump = (argv.bump || 'patch').toLowerCase(); | ||
|
||
if (validBumpTypes.indexOf(bump) === -1) { | ||
throw new Error('Unrecognized bump "' + bump + '".'); | ||
} | ||
|
||
module.exports = { | ||
bump: bump, | ||
depth: parseInt(argv.depth || '0') | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
var path = require('path'); | ||
var paths = require('./paths'); | ||
|
||
exports.base = function() { | ||
return { | ||
filename: '', | ||
filenameRelative: '', | ||
sourceMap: true, | ||
sourceRoot: '', | ||
moduleRoot: path.resolve('src').replace(/\\/g, '/'), | ||
moduleIds: false, | ||
comments: false, | ||
compact: false, | ||
code:true, | ||
presets: [ 'es2015-loose', 'stage-1'], | ||
plugins: [ | ||
'syntax-flow', | ||
'transform-decorators-legacy', | ||
'transform-flow-strip-types' | ||
] | ||
}; | ||
} | ||
|
||
exports.commonjs = function() { | ||
var options = exports.base(); | ||
options.plugins.push('transform-es2015-modules-commonjs'); | ||
return options; | ||
}; | ||
|
||
exports.amd = function() { | ||
var options = exports.base(); | ||
options.plugins.push('transform-es2015-modules-amd'); | ||
return options; | ||
}; | ||
|
||
exports.system = function() { | ||
var options = exports.base(); | ||
options.plugins.push('transform-es2015-modules-systemjs'); | ||
return options; | ||
}; | ||
|
||
exports.es2015 = function() { | ||
var options = exports.base(); | ||
options.presets = ['stage-1'] | ||
return options; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
var appRoot = 'src/'; | ||
var outputRoot = 'dist/'; | ||
|
||
module.exports = { | ||
root: appRoot, | ||
source: appRoot + '**/*.js', | ||
html: appRoot + '**/*.html', | ||
css: appRoot + '**/*.css', | ||
style: 'styles/**/*.css', | ||
output: outputRoot, | ||
doc: './doc', | ||
e2eSpecsSrc: 'test/e2e/src/*.js', | ||
e2eSpecsDist: 'test/e2e/dist/' | ||
}; |
Oops, something went wrong.