forked from ui-router/quickstart-ng2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial uprev to ng2.rc1 -- some issues with ui-router need alpha5
- Loading branch information
Showing
30 changed files
with
997 additions
and
83 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 @@ | ||
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,20 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
|
||
[*.md] | ||
max_line_length = 0 | ||
trim_trailing_whitespace = false | ||
|
||
# Indentation override | ||
#[lib/**.js] | ||
#[{package.json,.travis.yml}] | ||
#[**/**.js] |
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,7 +1,23 @@ | ||
typings/ | ||
node_modules/ | ||
.idea | ||
typings/** | ||
node_modules | ||
jspm_packages | ||
link-checker-results.txt | ||
**/*npm-debug.log.* | ||
*.js | ||
*.js.map | ||
<<<<<<< HEAD | ||
*.ipr | ||
*.iml | ||
*.iws | ||
======= | ||
_test-output | ||
_temp | ||
|
||
!**/*e2e-spec.js | ||
!karma*.js | ||
!protractor*.js | ||
!systemjs.config.js | ||
!typings/typings.d.ts | ||
!wallaby.js | ||
>>>>>>> fdf619609f2a85940fe1b9a021648b68f8aea822 |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# To build and run with Docker: | ||
# | ||
# $ docker build -t ng2-quickstart . | ||
# $ docker run -it --rm -p 3000:3000 -p 3001:3001 ng2-quickstart | ||
# | ||
FROM node:latest | ||
|
||
RUN mkdir -p /quickstart /home/nodejs && \ | ||
groupadd -r nodejs && \ | ||
useradd -r -g nodejs -d /home/nodejs -s /sbin/nologin nodejs && \ | ||
chown -R nodejs:nodejs /home/nodejs | ||
|
||
WORKDIR /quickstart | ||
COPY package.json typings.json /quickstart/ | ||
RUN npm install --unsafe-perm=true | ||
|
||
COPY . /quickstart | ||
RUN chown -R nodejs:nodejs /quickstart | ||
USER nodejs | ||
|
||
CMD npm 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
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
Oops, something went wrong.