Clear up some issues with npm ci

This commit is contained in:
Eric Schultz 2019-01-18 17:51:17 -06:00
parent c2c1870c21
commit 424cdeb586
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@
"watch": "export HOUDINI_WATCH=1; script/build.sh", "watch": "export HOUDINI_WATCH=1; script/build.sh",
"build": "script/build.sh", "build": "script/build.sh",
"build-all": "npm ci && script/compile-assets.sh && npm run build", "build-all": "npm ci && script/compile-assets.sh && npm run build",
"ci-build-all": "script/compile-assets.sh && npm run build",
"test": "rake -v spec && npm run build && npx jest", "test": "rake -v spec && npm run build && npx jest",
"export-button-config": "bundle exec rake settings:generate_json", "export-button-config": "bundle exec rake settings:generate_json",
"export-i18n": "bundle exec rake settings:combine_translations", "export-i18n": "bundle exec rake settings:combine_translations",

View file

@ -1,2 +1,2 @@
#!/bin/bash #!/bin/bash
npm ci --unsafe-perm && rake db:create db:structure:load db:migrate && RAILS_ENV=test rake db:create db:structure:load test:prepare && rake spec && npm run build-all && npx jest npm ci --unsafe-perm && rake db:create db:structure:load db:migrate && RAILS_ENV=test rake db:create db:structure:load test:prepare && rake spec && npm run ci-build-all && npx jest