Skip to content

Commit b608432

Browse files
committed
bring back npm ls to preversion script
... but with --prod flag (so that it doesn't fail on dev-dep peer dependencies that have no effect on the dist bundles)
1 parent 87e2d30 commit b608432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"start-image_viewer": "node devtools/image_viewer/server.js",
4545
"start": "npm run start-test_dashboard",
4646
"baseline": "node tasks/baseline.js",
47-
"preversion": "npm-link-check && npm dedupe",
47+
"preversion": "npm-link-check && npm dedupe && npm ls --prod",
4848
"version": "npm run build && git add -A dist src build",
4949
"postversion": "node -e \"console.log('Version bumped and committed. If ok, run: git push && git push --tags')\""
5050
},

0 commit comments

Comments
 (0)