Skip to content

Commit 180a11b

Browse files
committed
Initial setup
1 parent adbaa2d commit 180a11b

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
77

8+
package-lock.json
9+
810
# Runtime data
911
pids
1012
*.pid

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
# javascript-algorithm-examples
22
A collection of some JS algorithms
3+
4+
5+
To run the tests for each algorithm, open up your terminal and navigate to the root directory of the codebase.
6+
Once inside, run the command below:
7+
8+
```npm run test <folder name>```

package.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "javascript-algorithm-examples",
3+
"version": "1.0.0",
4+
"description": "A collection of some JS algorithms",
5+
"main": "index.js",
6+
"devDependencies": {
7+
"jest": "^24.9.0"
8+
},
9+
"scripts": {
10+
"test": "jest"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "git+https://github.com/Tittoh/javascript-algorithm-examples.git"
15+
},
16+
"keywords": [
17+
"algorithms"
18+
],
19+
"author": "Titus Kipkemboi",
20+
"license": "ISC",
21+
"bugs": {
22+
"url": "https://github.com/Tittoh/javascript-algorithm-examples/issues"
23+
},
24+
"homepage": "https://github.com/Tittoh/javascript-algorithm-examples#readme"
25+
}

0 commit comments

Comments
 (0)