mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +08:00
chore: add instruction for installing dependencies (#1120)
This commit is contained in:
@ -82,6 +82,12 @@ and inspect the outcome. Example: [RatInAMaze.test.js](Backtracking/tests/RatInA
|
|||||||
|
|
||||||
Please refrain from using `console` in your implementation AND test code.
|
Please refrain from using `console` in your implementation AND test code.
|
||||||
|
|
||||||
|
First you should install all dependencies using:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
You can (and should!) run all tests locally before committing your changes:
|
You can (and should!) run all tests locally before committing your changes:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -23,7 +23,7 @@
|
|||||||
"babel-jest": "^26.3.0",
|
"babel-jest": "^26.3.0",
|
||||||
"globby": "^12.0.2",
|
"globby": "^12.0.2",
|
||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"jest": "^26.4.2",
|
"jest": "^26.6.3",
|
||||||
"standard": "^16.0.4"
|
"standard": "^16.0.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"babel-jest": "^26.3.0",
|
"babel-jest": "^26.3.0",
|
||||||
"globby": "^12.0.2",
|
"globby": "^12.0.2",
|
||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"jest": "^26.4.2",
|
"jest": "^26.6.3",
|
||||||
"standard": "^16.0.4"
|
"standard": "^16.0.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
Reference in New Issue
Block a user