mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 08:16:50 +08:00
chore: Remove unused deps, clean up package.json a bit (#1176)
This commit is contained in:
2
.github/workflows/Ci.yml
vendored
2
.github/workflows/Ci.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "16.x"
|
||||
node-version: 16
|
||||
cache: npm
|
||||
|
||||
- name: 📦 Install dependencies
|
||||
|
6
.github/workflows/UpdateDirectory.yml
vendored
6
.github/workflows/UpdateDirectory.yml
vendored
@ -10,10 +10,10 @@ jobs:
|
||||
updateDirectory:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "14"
|
||||
node-version: 16
|
||||
cache: npm
|
||||
|
||||
- name: 📦 Install dependencies
|
||||
|
16
DIRECTORY.md
16
DIRECTORY.md
@ -9,6 +9,7 @@
|
||||
* **Bit-Manipulation**
|
||||
* [BinaryCountSetBits](Bit-Manipulation/BinaryCountSetBits.js)
|
||||
* [IsPowerOfTwo](Bit-Manipulation/IsPowerOfTwo.js)
|
||||
* [LogTwo](Bit-Manipulation/LogTwo.js)
|
||||
* [NextPowerOfTwo](Bit-Manipulation/NextPowerOfTwo.js)
|
||||
* [SetBit](Bit-Manipulation/SetBit.js)
|
||||
* **Cache**
|
||||
@ -20,7 +21,7 @@
|
||||
* **Ciphers**
|
||||
* [AffineCipher](Ciphers/AffineCipher.js)
|
||||
* [Atbash](Ciphers/Atbash.js)
|
||||
* [CaesarsCipher](Ciphers/CaesarsCipher.js)
|
||||
* [CaesarCipher](Ciphers/CaesarCipher.js)
|
||||
* [KeyFinder](Ciphers/KeyFinder.js)
|
||||
* [KeywordShiftedAlphabet](Ciphers/KeywordShiftedAlphabet.js)
|
||||
* [ROT13](Ciphers/ROT13.js)
|
||||
@ -68,7 +69,6 @@
|
||||
* [AddTwoNumbers](Data-Structures/Linked-List/AddTwoNumbers.js)
|
||||
* [CycleDetection](Data-Structures/Linked-List/CycleDetection.js)
|
||||
* [DoublyLinkedList](Data-Structures/Linked-List/DoublyLinkedList.js)
|
||||
* [RotateListRight](Data-Structures/Linked-List/RotateListRight.js)
|
||||
* [SinglyCircularLinkedList](Data-Structures/Linked-List/SinglyCircularLinkedList.js)
|
||||
* [SinglyLinkedList](Data-Structures/Linked-List/SinglyLinkedList.js)
|
||||
* **Queue**
|
||||
@ -85,6 +85,7 @@
|
||||
* **Vectors**
|
||||
* [Vector2](Data-Structures/Vectors/Vector2.js)
|
||||
* **Dynamic-Programming**
|
||||
* [CatalanNumbers](Dynamic-Programming/CatalanNumbers.js)
|
||||
* [ClimbingStairs](Dynamic-Programming/ClimbingStairs.js)
|
||||
* [CoinChange](Dynamic-Programming/CoinChange.js)
|
||||
* [EditDistance](Dynamic-Programming/EditDistance.js)
|
||||
@ -141,8 +142,10 @@
|
||||
* [BinaryConvert](Maths/BinaryConvert.js)
|
||||
* [BinaryExponentiationIterative](Maths/BinaryExponentiationIterative.js)
|
||||
* [BinaryExponentiationRecursive](Maths/BinaryExponentiationRecursive.js)
|
||||
* [BinomialCoefficient](Maths/BinomialCoefficient.js)
|
||||
* [BisectionMethod](Maths/BisectionMethod.js)
|
||||
* [CheckKishnamurthyNumber](Maths/CheckKishnamurthyNumber.js)
|
||||
* [CircularArc](Maths/CircularArc.js)
|
||||
* [CollatzSequence](Maths/CollatzSequence.js)
|
||||
* [Coordinate](Maths/Coordinate.js)
|
||||
* [CoPrimeCheck](Maths/CoPrimeCheck.js)
|
||||
@ -170,15 +173,19 @@
|
||||
* [IsEven](Maths/IsEven.js)
|
||||
* [IsOdd](Maths/IsOdd.js)
|
||||
* [IsPronic](Maths/IsPronic.js)
|
||||
* [IsSquareFree](Maths/IsSquareFree.js)
|
||||
* [JugglerSequence](Maths/JugglerSequence.js)
|
||||
* [LeapYear](Maths/LeapYear.js)
|
||||
* [LinearSieve](Maths/LinearSieve.js)
|
||||
* [LiouvilleFunction](Maths/LiouvilleFunction.js)
|
||||
* [LucasSeries](Maths/LucasSeries.js)
|
||||
* [Mandelbrot](Maths/Mandelbrot.js)
|
||||
* [MatrixExponentiationRecursive](Maths/MatrixExponentiationRecursive.js)
|
||||
* [MatrixMultiplication](Maths/MatrixMultiplication.js)
|
||||
* [MeanAbsoluteDeviation](Maths/MeanAbsoluteDeviation.js)
|
||||
* [MeanSquareError](Maths/MeanSquareError.js)
|
||||
* [MidpointIntegration](Maths/MidpointIntegration.js)
|
||||
* [MobiusFunction](Maths/MobiusFunction.js)
|
||||
* [ModularBinaryExponentiationRecursive](Maths/ModularBinaryExponentiationRecursive.js)
|
||||
* [NumberOfDigits](Maths/NumberOfDigits.js)
|
||||
* [Palindrome](Maths/Palindrome.js)
|
||||
@ -216,13 +223,16 @@
|
||||
* [Problem004](Project-Euler/Problem004.js)
|
||||
* [Problem005](Project-Euler/Problem005.js)
|
||||
* [Problem006](Project-Euler/Problem006.js)
|
||||
* [Problem007](Project-Euler/Problem007.js)
|
||||
* [Problem008](Project-Euler/Problem008.js)
|
||||
* [Problem009](Project-Euler/Problem009.js)
|
||||
* [Problem010](Project-Euler/Problem010.js)
|
||||
* [Problem012](Project-Euler/Problem012.js)
|
||||
* [Problem013](Project-Euler/Problem013.js)
|
||||
* [Problem014](Project-Euler/Problem014.js)
|
||||
* [Problem015](Project-Euler/Problem015.js)
|
||||
* [Problem016](Project-Euler/Problem016.js)
|
||||
* [Problem017](Project-Euler/Problem017.js)
|
||||
* [Problem018](Project-Euler/Problem018.js)
|
||||
* [Problem020](Project-Euler/Problem020.js)
|
||||
* [Problem023](Project-Euler/Problem023.js)
|
||||
@ -245,6 +255,7 @@
|
||||
* [InterpolationSearch](Search/InterpolationSearch.js)
|
||||
* [JumpSearch](Search/JumpSearch.js)
|
||||
* [LinearSearch](Search/LinearSearch.js)
|
||||
* [Minesweeper](Search/Minesweeper.js)
|
||||
* [QuickSelectSearch](Search/QuickSelectSearch.js)
|
||||
* [SlidingWindow](Search/SlidingWindow.js)
|
||||
* [StringSearch](Search/StringSearch.js)
|
||||
@ -296,6 +307,7 @@
|
||||
* [CheckRearrangePalindrome](String/CheckRearrangePalindrome.js)
|
||||
* [CheckSnakeCase](String/CheckSnakeCase.js)
|
||||
* [CheckWordOccurrence](String/CheckWordOccurrence.js)
|
||||
* [CountSubstrings](String/CountSubstrings.js)
|
||||
* [CountVowels](String/CountVowels.js)
|
||||
* [CreatePermutations](String/CreatePermutations.js)
|
||||
* [DiceCoefficient](String/DiceCoefficient.js)
|
||||
|
385
package-lock.json
generated
385
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
19
package.json
19
package.json
@ -3,7 +3,6 @@
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"description": "A repository for All algorithms implemented in Javascript (for educational purposes only)",
|
||||
"main": "",
|
||||
"scripts": {
|
||||
"test": "jest --no-cache",
|
||||
"style": "standard",
|
||||
@ -14,17 +13,7 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.11.6",
|
||||
"@babel/plugin-transform-runtime": "^7.11.5",
|
||||
"@babel/preset-env": "^7.11.5",
|
||||
"atob": "2.1.2",
|
||||
"jsdom": "^16.3.0",
|
||||
"node": "^16.13.2",
|
||||
"node-fetch": "3.1.1"
|
||||
},
|
||||
"standard": {
|
||||
"env": [
|
||||
"jest"
|
||||
],
|
||||
"parser": "@babel/eslint-parser"
|
||||
"@babel/preset-env": "^7.11.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/eslint-parser": "^7.17.0",
|
||||
@ -37,5 +26,11 @@
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.6.0"
|
||||
},
|
||||
"standard": {
|
||||
"env": [
|
||||
"jest"
|
||||
],
|
||||
"parser": "@babel/eslint-parser"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user