Merge pull request #392 from fabulousgk/fabulousgk/issue250
Javascript exercises - Update package.json and package-lock to latest module versions
This commit is contained in:
commit
406b1667aa
|
@ -15,7 +15,8 @@ If you have a suggestion to improve an exercise, an idea for a new exercise, or
|
||||||
- Copies of repositories on your machine are called clones. If you need help cloning to your local environment you can learn how from the GitHub documentation on [cloning a repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository-from-github/cloning-a-repository).
|
- Copies of repositories on your machine are called clones. If you need help cloning to your local environment you can learn how from the GitHub documentation on [cloning a repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository-from-github/cloning-a-repository).
|
||||||
2. Before you start working on any exercises, you should first ensure you have the following installed:
|
2. Before you start working on any exercises, you should first ensure you have the following installed:
|
||||||
- **NPM**. You should have installed NPM already in our [Installing Node.js](https://www.theodinproject.com/paths/foundations/courses/foundations/lessons/installing-node-js) lesson. Just in case you need to check, type `npm --version` in your terminal. If you get back `Command 'npm' not found, but can be installed with:`, **do not follow the instructions in the terminal** to install with `apt-get` as this causes permission issues. Instead, go back to the installation lesson and install Node with NVM by following the instructions there.
|
- **NPM**. You should have installed NPM already in our [Installing Node.js](https://www.theodinproject.com/paths/foundations/courses/foundations/lessons/installing-node-js) lesson. Just in case you need to check, type `npm --version` in your terminal. If you get back `Command 'npm' not found, but can be installed with:`, **do not follow the instructions in the terminal** to install with `apt-get` as this causes permission issues. Instead, go back to the installation lesson and install Node with NVM by following the instructions there.
|
||||||
- **Jest**. After cloning this repository to your local machine and installing NPM, go into the newly created directory (`cd javascript-exercises`) and run `npm install`. This will install Jest and set up the testing platform based on our preconfigured settings.
|
- **Jest**. After cloning this repository to your local machine and installing NPM, go into the newly created directory (`cd javascript-exercises`) and run `npm install`. This will install Jest and set up the testing platform based on our preconfigured settings. (Note: if you get warnings that packages are out of date or contain vulnerabilities, you can safely ignore them for these exercises.)
|
||||||
|
|
||||||
3. Each exercise includes the following:
|
3. Each exercise includes the following:
|
||||||
|
|
||||||
- A markdown file with a description of the task, an empty (or mostly empty) JavaScript file, and a set of tests.
|
- A markdown file with a description of the task, an empty (or mostly empty) JavaScript file, and a set of tests.
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
|
@ -14,11 +14,11 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/TheOdinProject/javascript-exercises#readme",
|
"homepage": "https://github.com/TheOdinProject/javascript-exercises#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"jest": "^26.6.3",
|
"eslint": "^8.47.0",
|
||||||
"jest-cli": "^26.6.3",
|
"eslint-config-airbnb-base": "^15.0.0",
|
||||||
"eslint": "^7.26.0",
|
"eslint-plugin-import": "^2.28.1",
|
||||||
"eslint-config-airbnb-base": "^14.2.1",
|
"jest": "^29.6.4",
|
||||||
"eslint-plugin-import": "^2.22.1"
|
"jest-cli": "^29.6.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"root": true
|
"root": true
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"testPathIgnorePatterns": [
|
"testPathIgnorePatterns": [
|
||||||
"generator-exercise/"
|
"generator-exercise/"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue