Skip to content

Commit

Permalink
Merge pull request #6 from w4ffl35/feature-minor-directory-restructure
Browse files Browse the repository at this point in the history
Minor directory restructure for better code organization
  • Loading branch information
w4ffl35 authored Aug 25, 2022
2 parents ac1b9f5 + b7cd6d9 commit 4a2b139
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@

`npm run test`

![img.png](img.png)
![img.png](resources/img.png)

---

## Run encryption from command line

`npm run encrypt`

![img_1.png](img_1.png)
![img_1.png](resources/img_1.png)

---

Expand All @@ -49,4 +49,4 @@ Please keep the following in mind when developing:
- Use no dependencies
- Comment everything (see example)

![img_3.png](img_3.png)
![img_3.png](resources/img_3.png)
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "js-ktc",
"version": "1.1.9",
"version": "1.1.10",
"description": "Javascript Keyword Transposition Cipher",
"main": "cipher.min.js",
"scripts": {
"test": "jest",
"cipher": "node index.js",
"build": "npx jsmin -o cipher.min.js cipher.js"
"cipher": "node src/index.js",
"build": "npx jsmin -o cipher.min.js src/cipher.js"
},
"repository": {
"type": "git",
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion index.js → src/index.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const C = require('./cipher.min.js');
const C = require('../cipher.min.js');
const readline = require('readline');

class CipherRunner {
Expand Down

0 comments on commit 4a2b139

Please sign in to comment.