diff --git a/.gitattributes b/.gitattributes index 6313b56c57..af827e336e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,6 @@ +# Requires Git to check out files with the LF (not CRLF) line endings for files it automatically recognizes as being text-based +# The `*` targets all files +# The `text=auto` makes it apply a conversion only to files detected as text-based +# The `eol=lf` sets the conversion to an LF line ending +# https://git-scm.com/docs/gitattributes * text=auto eol=lf diff --git a/frontend/package.json b/frontend/package.json index e119d37c74..a874407c5a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,6 +3,7 @@ "description": "Graphite's web app frontend. Planned to be replaced by a native GUI written in Rust in the future.", "private": true, "scripts": { + "start": "vue-cli-service serve || (npm install && vue-cli-service serve)", "serve": "vue-cli-service serve || (npm install && vue-cli-service serve)", "build": "vue-cli-service build || (npm install && vue-cli-service build)", "lint": "vue-cli-service lint || echo There were lint errors. If the linter execution fails, try running `npm install` first.", diff --git a/package.json b/package.json index 8f2b8bb54d..dae2ddf362 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "description": "A convenience package for calling the real package.json in ./frontend", "private": true, "scripts": { + "start": "cd frontend && npm run serve", "serve": "cd frontend && npm run serve", "build": "cd frontend && npm run build", "lint": "cd frontend && npm run lint",