Skip to content

Commit

Permalink
Add AoT support
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonatan committed Oct 31, 2016
1 parent f336d9a commit 5a235af
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 20 deletions.
21 changes: 9 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
node_modules/
typings/
npm-debug.log
/node_modules/
/typings/
/compiled/

linky-pipe.js
linky-pipe.js.map
linky-pipe.d.ts
index.js
index.js.map
index.d.ts
*.spec.js
*.spec.js.map
*.spec.d.ts
*.js
*.js.map
*.d.ts
*.metadata.json

npm-debug.log
18 changes: 11 additions & 7 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
typings/
node_modules/
/node_modules/
/typings/
/compiled/

*.ts
!*.d.ts
*.spec.ts
*.spec.d.ts
*.spec.js
*.spec.js.map

.travis.yml
.karma.conf.js
tsconfig.json

linky-pipe.spec.ts
linky-pipe.spec.d.ts
linky-pipe.spec.js
linky-pipe.spec.js.map
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

This is just a wrapper for [Autolinker.js](https://github.com/gregjacobs/Autolinker.js) so all issues and feature requests related to **autolinker** should go to their [issues](https://github.com/gregjacobs/Autolinker.js/issues)!

**AoT ready.**


## Installation
`npm install --save angular2-linky`
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"pretest": "npm run build",
"test": "karma start",
"build": "tsc",
"build": "ngc",
"prepublish": "npm run build"
},
"repository": {
Expand All @@ -29,7 +29,10 @@
"autolinker": "^1.1.0"
},
"devDependencies": {
"@angular/compiler": "^2.1.2",
"@angular/compiler-cli": "^2.1.2",
"@angular/core": "^2.0.0",
"@angular/platform-server": "^2.1.2",
"@types/es6-shim": "0.0.31",
"@types/jasmine": "^2.2.31",
"es6-shim": "^0.35.1",
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"sourceMap": true,
"declaration": true
},
"angularCompilerOptions": {
"genDir": "compiled"
},
"files": [
"linky-pipe.ts",
"linky-pipe.spec.ts",
Expand Down

0 comments on commit 5a235af

Please sign in to comment.