fix(graphdoc): always build graphdoc with production environement

This commit is contained in:
Paul Chavard 2022-07-12 11:46:19 +02:00
parent bb5cc70676
commit 8b5c26215f

View file

@ -77,7 +77,7 @@
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx ./app/javascript", "lint:js": "eslint --ext .js,.jsx,.ts,.tsx ./app/javascript",
"webpack:build": "NODE_ENV=production bin/webpack", "webpack:build": "NODE_ENV=production bin/webpack",
"lint:types": "tsc", "lint:types": "tsc",
"graphql:doc:build": "bin/rake graphql:schema:json && graphdoc --force", "graphql:doc:build": "RAILS_ENV=production bin/rake graphql:schema:json && graphdoc --force",
"postinstall": "patch-package", "postinstall": "patch-package",
"test": "vitest", "test": "vitest",
"coverage": "vitest run --coverage" "coverage": "vitest run --coverage"