-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provides Angular (v2) style annotations such as NgModule, Component, Directive, Input, Injectable, Inject, ... and transforms the declarations into AngularJS (v1) modules, components, ...
- Loading branch information
Jason Bedard
committed
Feb 4, 2017
1 parent
513aab9
commit e2383a6
Showing
9 changed files
with
4,789 additions
and
0 deletions.
There are no files selected for viewing
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 @@ | ||
coverage/ | ||
dist/ | ||
node_modules/ |
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 @@ | ||
coverage/ | ||
node_modules/ | ||
dist/*.spec.* |
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,49 @@ | ||
"use strict"; | ||
|
||
module.exports = function(config) { | ||
config.set({ | ||
basePath: "", | ||
|
||
frameworks: ["jasmine", "karma-typescript"], | ||
|
||
client: { | ||
jasmine: { | ||
random: true | ||
} | ||
}, | ||
|
||
files: [ | ||
{pattern: "src/**/*.ts"} | ||
], | ||
|
||
reporters: ["progress", "karma-typescript"], | ||
|
||
coverageReporter: { | ||
type: "in-memory" | ||
}, | ||
|
||
preprocessors: { | ||
"**/*.ts": ["karma-typescript"] | ||
}, | ||
|
||
karmaTypescriptConfig: { | ||
coverageOptions: { | ||
//Enabled coverage when running in non-server mode | ||
instrumentation: config.singleRun | ||
}, | ||
}, | ||
|
||
port: 9876, | ||
|
||
colors: true, | ||
|
||
logLevel: "INFO", | ||
|
||
reportSlowerThan: 100, | ||
|
||
browsers: config.browsers.length ? config.browsers : ["Chrome"], | ||
|
||
captureTimeout: 60000, | ||
browserNoActivityTimeout: 60000 | ||
}); | ||
}; |
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,34 @@ | ||
{ | ||
"name": "ng-facade", | ||
"version": "0.1.1", | ||
"description": "Angular style annotations in AngularJS", | ||
"main": "dist/facade.js", | ||
"types": "dist/facade.d.ts", | ||
"author": "Jason Bedard", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/angular": "^1.6", | ||
"@types/jasmine": "^2.5", | ||
"istanbul": "^0.4", | ||
"jasmine": "^2.5", | ||
"jasmine-core": "^2.5", | ||
"karma": "^1.3", | ||
"karma-chrome-launcher": "^2.0", | ||
"karma-coverage": "^1.1", | ||
"karma-jasmine": "^1.1", | ||
"karma-typescript": "^2.1", | ||
"tslib": "^1.5.0", | ||
"tslint": "^4.4", | ||
"typescript": "^2.1" | ||
}, | ||
"dependencies": { | ||
"angular": "^1.5", | ||
"reflect-metadata": "^0.1" | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"test": "karma start karma.conf.js --single-run", | ||
"test-server": "karma start karma.conf.js", | ||
"lint": "tslint -c ./tslint.json --type-check --project ./tsconfig.json ./src/*.ts" | ||
} | ||
} |
Oops, something went wrong.