mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-08 00:05:00 +00:00
Add npm start
script alias for npm run serve
This commit is contained in:
parent
e101d4524d
commit
c255c7eac6
3 changed files with 7 additions and 0 deletions
5
.gitattributes
vendored
5
.gitattributes
vendored
|
@ -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
|
||||
|
|
|
@ -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.",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue