Skip to content
This repository was archived by the owner on Aug 24, 2019. It is now read-only.

Commit 0a2bc39

Browse files
committed
update framework
1 parent 7608c93 commit 0a2bc39

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+9085
-1237
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ charset = utf-8
1616
trim_trailing_whitespace = true
1717
insert_final_newline = true
1818

19-
[*.md]
20-
trim_trailing_whitespace = false
19+
# editorconfig-tools is unable to ignore longs strings or urls
20+
max_line_length = null

.gitattributes

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# (this is required in order to prevent newline related issues like,
88
# for example, after the build script is run)
99
.* text eol=lf
10-
*.css text eol=lf
1110
*.html text eol=lf
12-
*.jade text eol=lf
13-
*.js text eol=lf
14-
*.json text eol=lf
11+
*.css text eol=lf
1512
*.less text eol=lf
1613
*.scss text eol=lf
14+
*.sss text eol=lf
15+
*.js text eol=lf
16+
*.json text eol=lf
1717
*.md text eol=lf
1818
*.sh text eol=lf
1919
*.txt text eol=lf

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ build
55
node_modules
66
ncp-debug.log
77
npm-debug.log
8+
stats.json
9+
report.html
810
.DS_Store

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
node_js:
3+
- '7'
34
- '6'
4-
- '5'
55
env:
66
- CXX=g++-4.8
77
addons:
@@ -11,5 +11,5 @@ addons:
1111
packages:
1212
- g++-4.8
1313
script:
14-
- npm run lint
15-
- npm run test
14+
- yarn lint
15+
- yarn test

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM node:6.9.5-alpine
2+
3+
# Copy application files
4+
COPY ./build /usr/src/app
5+
WORKDIR /usr/src/app
6+
7+
# Install Yarn and Node.js dependencies
8+
RUN npm install yarn --global --no-progress --silent --depth 0 && \
9+
yarn install --production --no-progress
10+
11+
CMD [ "node", "server.js" ]

LICENSE renamed to LICENSE.txt

File renamed without changes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ $ node ./server.js
3434
## BASE ON [React Starter Kit](https://github.com/kriasoft/react-starter-kit)
3535

3636
## License
37-
MIT License [read](https://github.com/lisong/code-push-web/blob/master/LICENSE)
37+
MIT License [read](https://github.com/lisong/code-push-web/blob/master/LICENSE.txt)

0 commit comments

Comments
 (0)