Skip to content

Commit

Permalink
Merge pull request #17 from rokaicker/issue-13
Browse files Browse the repository at this point in the history
moved source filed to a ./src folder to clean up project
  • Loading branch information
rokaicker authored Sep 25, 2022
2 parents 252b4ec + 3a664bc commit dfe336a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.0.2",
"main": "rohan-ssg.js",
"bin": {
"rohan-ssg": "./rohan-ssg.js"
"rohan-ssg": "./src/rohan-ssg.js"
},
"dependencies": {
"commander": "^9.4.0"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion rohan-ssg.js → src/rohan-ssg.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const program = new Command();

// get version from package.json file
// - based on https://stackoverflow.com/questions/41123631/how-to-get-the-version-from-the-package-json-in-typescript
const pj = require('./package.json');
const pj = require('../package.json');
const version = pj.version;

program
Expand Down

0 comments on commit dfe336a

Please sign in to comment.