diff --git a/package.json b/package.json index 4c8cfb03c02..669f4a69102 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "plugin:build-no-bridge": "mvn install", "plugin:build:fast": "npm run plugin:build-no-bridge -- -DskipTests", "pbf": "npm run plugin:build:fast", - "td": "node typedoc/scripts/setup-plugins.js && ./node_modules/.bin/typedoc --options typedoc/typedoc.js", + "td": "node typedoc/scripts/setup-plugins.js && npx typedoc --options typedoc/typedoc.js", "prepare": "husky install", "precommit": "pretty-quick --staged", "count-rules": "node tools/count-rules.js", diff --git a/typedoc/typedoc.js b/typedoc/typedoc.js index 8c4addd498d..917d44bcae8 100644 --- a/typedoc/typedoc.js +++ b/typedoc/typedoc.js @@ -6,7 +6,7 @@ module.exports = { searchInComments: true, plugin: ['searchable-parameters-plugin'], readme: './main.md', - tsconfig: '../packages/tsconfig.json', + tsconfig: '../packages/jsts/src/rules/tsconfig.json', json: 'models/reflections.json', pretty: true, sidebarLinks: {