feat: reduce number of steps needed to get going for local development (#454)

* feat: reduce number of steps to get going for local development

* fix: set default sync server in SNJS

* chore: keep --force in submodules command
This commit is contained in:
Baptiste Grob
2020-09-02 17:37:50 +02:00
committed by GitHub
parent 6a1c10d3f7
commit 57aa942c91
11 changed files with 449 additions and 25 deletions

View File

@@ -7,11 +7,12 @@
"url": "https://github.com/standardnotes/web"
},
"scripts": {
"setup": "npm run submodules && npm install",
"start": "webpack-dev-server --progress --config webpack.dev.js",
"watch": "webpack -w --config webpack.dev.js",
"bundle": "webpack --config webpack.prod.js",
"build": "bundle install && npm ci && bundle exec rails assets:precompile && npm run bundle",
"submodules": "git submodule update --init --force --remote",
"submodules": "git submodule update --init --force",
"lint": "eslint --fix app/assets/javascripts/**/*.js",
"tsc": "tsc --project app/assets/javascripts/tsconfig.json"
},
@@ -36,6 +37,7 @@
"chai": "^4.2.0",
"connect": "^3.7.0",
"css-loader": "^3.4.2",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-semistandard": "^15.0.0",
@@ -44,6 +46,7 @@
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"file-loader": "^5.1.0",
"html-webpack-plugin": "^4.3.0",
"lodash": "^4.17.19",
"mini-css-extract-plugin": "^0.9.0",
"mocha": "^7.1.0",