diff --git a/package-lock.json b/package-lock.json index 3d4d10ae6..bcbece662 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "@microbit/python-editor-v3", "version": "3.0.0-local", + "hasInstallScript": true, "license": "MIT", "dependencies": { "@chakra-ui/icons": "^2.1.1", diff --git a/package.json b/package.json index 98bf57d74..3bc596920 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,8 @@ "scripts": { "bundle-size-explorer": "source-map-explorer 'build/static/js/*.js'", "bundle-size-report": "source-map-explorer 'build/static/js/*.js' --html reports/bundle-size.html", - "ci": "npm run theme && npm run typecheck && npm run test && npm run build && npm run bundle-size-report", + "ci": "npm run typecheck && npm run test && npm run build && npm run bundle-size-report", + "postinstall": "npm run theme", "start": "craco start", "build": "craco build", "test": "craco test --testPathIgnorePatterns=e2e",