Standardize repository settings
Add missing file type to `.gitattributes`. Use `node` instead of deprecated `stable` version specifier for Travis. Set dev tool to `cheap-module-source-map`.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -17,6 +17,7 @@
|
|||||||
*.md text eol=lf
|
*.md text eol=lf
|
||||||
*.vert text eol=lf
|
*.vert text eol=lf
|
||||||
*.xml text eol=lf
|
*.xml text eol=lf
|
||||||
|
*.yml text eol=lf
|
||||||
|
|
||||||
# Prefer LF for these files
|
# Prefer LF for these files
|
||||||
.editorconfig text eol=lf
|
.editorconfig text eol=lf
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "4.2"
|
- "4.2"
|
||||||
- "stable"
|
- "node"
|
||||||
sudo: false
|
sudo: false
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const base = {
|
|||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
port: process.env.PORT || 8361
|
port: process.env.PORT || 8361
|
||||||
},
|
},
|
||||||
devtool: 'source-map',
|
devtool: 'cheap-module-source-map',
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user