Skip to content

Commit

Permalink
Rename web:* npm scripts to api:*, and rename dev script to ui
Browse files Browse the repository at this point in the history
  • Loading branch information
scottohara committed Oct 21, 2024
1 parent edd8dd0 commit e7e293e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@
"workbox-webpack-plugin": "7.0.0"
},
"scripts": {
"start": "concurrently --prefix-colors auto npm:web:dev npm:db npm:dev",
"web:dev": "bundle exec op run --env-file=.env -- rails server",
"web:test": "bundle exec op run --env-file=.env -- rails server --environment=test",
"start": "concurrently --prefix-colors auto npm:api npm:db npm:ui",
"api": "bundle exec op run --env-file=.env -- rails server",
"api:test": "npm run api -- --environment=test",
"db": "postgres -D /opt/homebrew/var/postgres",
"ui": "webpack serve --config webpack.dev.js",
"build": "webpack --progress --config webpack.prod.js",
"dev": "webpack serve --config webpack.dev.js",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint",
Expand All @@ -87,7 +87,7 @@
"test:backend": "concurrently --prefix-colors auto --hide db --kill-others npm:db npm:rspec",
"test:bdd": "karma start karma-bdd.conf.js",
"test:coverage": "karma start",
"test:e2e": "npm run build && concurrently --prefix-colors auto --kill-others npm:web:test npm:db npm:cypress",
"test:e2e": "npm run build && concurrently --prefix-colors auto --kill-others npm:api:test npm:db npm:cypress",
"deploy": "fly deploy --build-arg NODE_VERSION=$npm_package_engines_node --build-arg NPM_VERSION=$npm_package_engines_npm --build-arg RUBY_VERSION=$npm_package_engines_ruby",
"deploy:staging": "npm run deploy -- --app loottest",
"deploy:production": "npm run deploy -- --app lootprod",
Expand Down

0 comments on commit e7e293e

Please sign in to comment.