diff --git a/package.json b/package.json index 968849999..c40566a20 100644 --- a/package.json +++ b/package.json @@ -26,14 +26,14 @@ "storybook": "start-storybook -p 6006 --preview-url=http://localhost:3000/_storybook/external-iframe --no-manager-cache", "storybook:build": "build-storybook", "storybook:publish": "chromatic --exit-zero-on-changes --build-script-name storybook:build", - "graphql:generate": "graphql-codegen-esm", - "graphql:generate:watch": "graphql-codegen-esm --watch", + "graphql:generate": "graphql-codegen", + "graphql:generate:watch": "graphql-codegen --watch", "graphql:validate": "graphql-inspector validate --apollo '{pages,components}/**/*.vue' 'server/**/*.graphql'", "docker:redis": "docker run -d --rm --name JabRefRedis -p 6380:6379 redis --requirepass jabref", "lint": "yarn lint:js && yarn lint:graphql", "lint:js": "eslint --ext .ts,.js,.vue --ignore-path .gitignore .", "lint:graphql": "eslint --ext .graphql,.vue --ignore-path .gitignore .", - "postinstall": "patch-package && yarn generate && nuxi prepare || true", + "postinstall": "patch-package && yarn generate && nuxi prepare", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand", "test:integration": "cross-env NODE_OPTIONS=--experimental-vm-modules jest test.ts --runInBand", "test:unit": "cross-env NODE_OPTIONS=--experimental-vm-modules jest spec.ts",