diff --git a/package.json b/package.json index f680e3807..22902c81a 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,9 @@ "version": "0.1.0", "repository": "https://github.com/danskernesdigitalebibliotek/dpl-design-system", "scripts": { - "storybook": "start-storybook -p 6006 -s public", - "storybook:axe": "build-storybook && axe-storybook", - "build-storybook": "build-storybook -s public", + "storybook": "NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006 -s public", + "storybook:axe": "NODE_OPTIONS=--openssl-legacy-provider build-storybook && axe-storybook", + "build-storybook": "NODE_OPTIONS=--openssl-legacy-provider build-storybook -s public", "js:eslint": "eslint 'src/**/*.{js,ts,tsx}' --max-warnings=0", "js:prettier": "prettier 'src/**/*.{js,ts,tsx}'", "js:lint": "concurrently 'yarn:js:eslint' 'yarn:js:prettier -- --check' --raw",