-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- upgraded to angularjs 1.6, typescript 2.2 and webpack 2 - added angular-ts-decorators - added tslint and .editorconfig
- Loading branch information
sternbach
committed
Mar 12, 2017
1 parent
a2f0ec2
commit c2532f3
Showing
30 changed files
with
550 additions
and
430 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,18 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.{js,ts,json,css,html}] | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab |
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
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 |
---|---|---|
@@ -1,34 +1,41 @@ | ||
{ | ||
"name": "angularjs-typescript-webpack", | ||
"private": true, | ||
"version": "0.0.0", | ||
"version": "1.0.0", | ||
"description": "Angularjs-typescript-webpack starter project", | ||
"repository": "https://github.com/vsternbach/angularjs-typescript-webpack", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"awesome-typescript-loader": "^0.17.0", | ||
"@types/angular": "^1.6.7", | ||
"@types/angular-ui-router": "^1.1.36", | ||
"@types/jquery": "^2.0.40", | ||
"@types/node": "^7.0.8", | ||
"angular-ts-decorators": "0.0.23", | ||
"awesome-typescript-loader": "^3.1.2", | ||
"copyfiles": "^0.2.1", | ||
"cross-env": "^3.2.3", | ||
"css-loader": "^0.23.1", | ||
"node-sass": "^3.4.2", | ||
"html-loader": "^0.4.5", | ||
"ng-annotate-loader": "^0.2.0", | ||
"node-sass": "^4.5.0", | ||
"rimraf": "^2.5.2", | ||
"sass-loader": "^3.2.0", | ||
"style-loader": "^0.13.1", | ||
"typescript": "^1.8.10", | ||
"typings": "^1.0.4", | ||
"webpack": "^1.13.1", | ||
"webpack-dev-server": "^1.14.1" | ||
"sass-loader": "^6.0.3", | ||
"style-loader": "^0.13.2", | ||
"tslint": "^4.5.1", | ||
"typescript": "^2.2.1", | ||
"webpack": "^2.2.1", | ||
"webpack-dev-server": "^2.4.1" | ||
}, | ||
"dependencies": { | ||
"angular": "^1.5.3", | ||
"angular-sanitize": "^1.5.3", | ||
"angular-ui-router": "^0.2.18", | ||
"angular": "^1.6.3", | ||
"angular-sanitize": "^1.6.3", | ||
"angular-ui-router": "^1.0.0-rc.1", | ||
"ng-tags-input": "^3.0.0" | ||
}, | ||
"scripts": { | ||
"postinstall": "typings install", | ||
"prestart": "npm install", | ||
"start": "webpack-dev-server --hot --port 8081", | ||
"typings": "typings", | ||
"bundle": "rimraf dist & copyfiles -f src/index.html dist/ & copyfiles -f src/assets/* dist/assets & webpack -p ./dist/bundle.js" | ||
"start": "webpack-dev-server", | ||
"webpack-prod": "cross-env NODE_ENV=production webpack --env.prod=true", | ||
"build": "rimraf dist & copyfiles -f src/index.html dist/ & copyfiles -f src/assets/* dist/assets & npm run webpack-prod" | ||
} | ||
} |
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,7 @@ | ||
import { Component } from 'angular-ts-decorators'; | ||
|
||
@Component({ | ||
selector: 'app', | ||
template: `<comment-list></comment-list>` | ||
}) | ||
export class AppComponent {} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import {AppComponent} from "./components/app.component"; | ||
import {IComponentState} from "./decorators"; | ||
import { IComponentState } from './main'; | ||
import { AppComponent } from './app.component'; | ||
|
||
export const routes: IComponentState[] = [ | ||
{ state: 'root', url: '/', component: AppComponent } | ||
]; | ||
]; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.