diff --git a/package-lock.json b/package-lock.json index 26e08e9d26..b0bef06f42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "packages": { "": { "name": "fractal-interface", + "hasInstallScript": true, "dependencies": { "@apollo/client": "^3.7.10", "@chakra-ui/react": "^2.8.2", diff --git a/package.json b/package.json index 9eb2b66650..3807d7150a 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,8 @@ "graphql:build": "graphclient build", "graphql:dev-server": "graphclient serve-dev", "test": "vitest --dir=test", - "tests": "playwright test" + "tests": "playwright test", + "postinstall": "npm run graphql:build" }, "engines": { "node": "20.11.1",