Added usage npm ci

main
Dmitry Kalinin 5 years ago
parent 8697d52079
commit d35f472dbf

@ -67,9 +67,9 @@ patches and features.
- Install npm packages for UI and start UI debug server (run the following command from CVAT root directory): - Install npm packages for UI and start UI debug server (run the following command from CVAT root directory):
```sh ```sh
npm install && \ npm ci && \
cd cvat-core && npm install && \ cd cvat-core && npm ci && \
cd ../cvat-ui && npm install && npm start cd ../cvat-ui && npm ci && npm start
``` ```
> Note for Mac users > Note for Mac users

@ -25,19 +25,19 @@ RUN npm config set loglevel info
# Install cvat-data dependencies # Install cvat-data dependencies
WORKDIR /tmp/cvat-data/ WORKDIR /tmp/cvat-data/
RUN npm install RUN npm ci
# Install cvat-core dependencies # Install cvat-core dependencies
WORKDIR /tmp/cvat-core/ WORKDIR /tmp/cvat-core/
RUN npm install RUN npm ci
# Install cvat-canvas dependencies # Install cvat-canvas dependencies
WORKDIR /tmp/cvat-canvas/ WORKDIR /tmp/cvat-canvas/
RUN npm install RUN npm ci
# Install cvat-ui dependencies # Install cvat-ui dependencies
WORKDIR /tmp/cvat-ui/ WORKDIR /tmp/cvat-ui/
RUN npm install RUN npm ci
# Build source code # Build source code
COPY cvat-data/ /tmp/cvat-data/ COPY cvat-data/ /tmp/cvat-data/

@ -12874,7 +12874,6 @@
"requires": { "requires": {
"axios": "^0.20.0", "axios": "^0.20.0",
"browser-or-node": "^1.2.1", "browser-or-node": "^1.2.1",
"cvat-data": "file:../cvat-data",
"detect-browser": "^5.0.0", "detect-browser": "^5.0.0",
"error-stack-parser": "^2.0.2", "error-stack-parser": "^2.0.2",
"form-data": "^2.5.0", "form-data": "^2.5.0",

Loading…
Cancel
Save