Skip to content

Commit

Permalink
Skip build:lint if installed without source
Browse files Browse the repository at this point in the history
  • Loading branch information
ybnd committed Apr 24, 2024
1 parent 858d69c commit 80be4fc
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 @@ -46,7 +46,7 @@
"env:yaml": "ts-node --project ./tsconfig.ts-node.json scripts/env-to-yaml.ts",
"base-href": "ts-node --project ./tsconfig.ts-node.json scripts/base-href.ts",
"check-circ-deps": "npx madge --exclude '(bitstream|bundle|collection|config-submission-form|eperson|item|version)\\.model\\.ts$' --circular --extensions ts ./",
"postinstall": "yarn build:lint"
"postinstall": "if [ -f lint/tsconfig.json ]; then yarn build:lint ; fi"
},
"browser": {
"fs": false,
Expand Down

0 comments on commit 80be4fc

Please sign in to comment.