Skip to content

Commit

Permalink
DEX-413 fix: added scripts in a seperate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kamal-skyflow committed Nov 15, 2023
1 parent b97f39f commit 6fa3ac4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prettier": "prettier --list-different '**/*.{js,ts}'",
"lint": "npm run prettier && npm run eslint",
"lint-fix": "prettier --write '**/*.{js,ts}' && eslint --fix '**/*.js'",
"docs-gen": "typedoc && node markdown-gen.js && npx ts-node scripts/processMarkdown.ts"
"docs-gen": "typedoc && node scripts/docs-script/markdown-gen.js && npx ts-node scripts/docs-script/processMarkdown.ts"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,9 +42,7 @@
"jsonwebtoken": "^9.0.0",
"jwt-decode": "^2.2.0",
"promise.allsettled": "^1.0.5",
"qs": "^6.10.3",
"typedoc": "^0.24.4",
"typedoc-plugin-markdown": "^3.15.1"
"qs": "^6.10.3"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
Expand Down Expand Up @@ -79,6 +77,8 @@
"null-loader": "^0.1.1",
"nyc": "^15.1.0",
"prettier": "^1.13.7",
"typescript": "^4.7.3"
"typescript": "^4.7.3",
"typedoc": "^0.24.4",
"typedoc-plugin-markdown": "^3.15.1"
}
}
2 changes: 1 addition & 1 deletion markdown-gen.js → scripts/docs-script/markdown-gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function getModuleName(filePath) {
return moduleName;
}

const directoryPath = path.join(__dirname, './docs/classes');
const directoryPath = path.join(__dirname, '../../docs/classes');

fs.readdir(directoryPath, (err, files) => {
if (err) {
Expand Down
File renamed without changes.

0 comments on commit 6fa3ac4

Please sign in to comment.