Skip to content

Commit

Permalink
chore(schema): specify tsconfig file (allows for importing json)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Apr 11, 2021
1 parent 120fbf2 commit 28664fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"scripts": {
"coverage": "jest --coverage",
"lint": "eslint . --ext .js,.ts",
"schema": "ts-json-schema-generator -p 'src/modules/**/*.ts' -t '*' | node bin/schema-tweak.js > schema.json",
"schema": "ts-json-schema-generator -f tsconfig.json -p 'src/modules/**/*.ts' -t '*' | node bin/schema-tweak.js > schema.json",
"generateSchema": "yarn schema",
"prepublishOnly": "tsc && yarn generateSchema",
"test": "jest",
Expand Down

0 comments on commit 28664fa

Please sign in to comment.