mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 07:16:17 +08:00
Fix (#2550)
* Update package.json * Update CONTRIBUTING.md * Update install.cmd * Update pr-check.yml
This commit is contained in:
parent
7cbd9d2722
commit
1233d266a1
2
.github/workflows/pr-check.yml
vendored
2
.github/workflows/pr-check.yml
vendored
|
@ -59,7 +59,7 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
if: steps.filter.outputs.changes != '[]'
|
||||
run: npm run install
|
||||
run: npm run install:all
|
||||
|
||||
# - name: Run webpack
|
||||
# run: npm run build:live
|
||||
|
|
|
@ -93,7 +93,7 @@ Follow these steps if you want to work on anything involving the database/accoun
|
|||
|
||||
Once you have completed the above steps, you are ready to build and run Monkeytype.
|
||||
|
||||
1. Run `npm run install` in the project root to install all dependencies.
|
||||
1. Run `npm run install:all` in the project root to install all dependencies.
|
||||
- If you are on Windows, use `npm run install:windows`.
|
||||
- If none of this works, you will have to run `npm install` in root, frontend, and backend directories.
|
||||
2. Run `npm run start:dev` (`npm run start:dev:fe` if you skipped the mongo section) to start a local dev server on [port 5000](http://localhost:5000). It will watch for changes and rebuild when you edit files in `src/` or `public/` directories. Note that rebuilding doesn't happen instantaneously so be patient for changes to appear. Use <kbd>Ctrl+C</kbd> to kill it.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
npm ci
|
||||
call npm ci
|
||||
cd .\frontend
|
||||
npm ci
|
||||
call npm ci
|
||||
cd ..\backend
|
||||
npm ci
|
||||
call npm ci
|
||||
cd ..\
|
||||
PAUSE
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"start:dev:be": "cd backend && npm run start:dev",
|
||||
"start:dev:fe": "cd frontend && npm run start:dev",
|
||||
"deploy:live": "cd frontend && npm run deploy:live",
|
||||
"install": "sh ./bin/install.sh",
|
||||
"install:all": "sh ./bin/install.sh",
|
||||
"install:windows": ".\\bin\\install.cmd",
|
||||
"lint": "run-script-os",
|
||||
"lint:windows": ".\\node_modules\\.bin\\eslint \"./backend/**/*.{ts,js}\" \"./frontend/src/scripts/**/*.{ts,js}\"",
|
||||
|
|
Loading…
Reference in a new issue