Commit be9a6d3f authored by ivan minutillo's avatar ivan minutillo
Browse files

disabled styleguidist in

parent 4618fc5b
......@@ -20,7 +20,7 @@ develop: # build and deploy develop branch to staging
- tx pull --force --no-interactive # pull all the latest localised PO files from transifex
- npm run compile # compile localisation PO files into .js files
- REACT_APP_GRAPHQL_ENDPOINT= CI=false npm run build --prod # Build for prod, need to specify URL of backend API, and CI=false to avoid failing on warnings
- npm run styleguide:build # generate styleguide docs
# - npm run styleguide:build # generate styleguide docs
- rm -rf public # CRA and gitlab pages both use the public folder. Only do this in a build pipeline.
- mv build public # Move build files to public dir for Gitlab Pages
- cp public/index.html public/404.html # Not necessary, but helps with
......@@ -6,6 +6,8 @@
"start": "cross-env NODE_ENV=development node scripts/start.js",
"build": "cross-env NODE_ENV=production node scripts/build.js",
"precommit": "lint-staged",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build",
"add-locale": "lingui add-locale",
"extract": "lingui extract --clean",
"compile": "lingui compile",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment