Skip to content

Commit

Permalink
also add sourcemaps inject for altair-app
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Nov 15, 2023
1 parent f543438 commit d9c41ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/altair-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,15 @@
"scripts": {
"analyze": "ng build --stats-json && npx webpack-bundle-analyzer dist/stats.json",
"analyze:prod": "ng build --aot --stats-json && npx webpack-bundle-analyzer dist/stats.json",
"build": "yarn generate-settings-schema-validator && node --max_old_space_size=8000 ../../node_modules/@angular/cli/bin/ng build --aot --stats-json",
"build": "yarn generate-settings-schema-validator && node --max_old_space_size=8000 ../../node_modules/@angular/cli/bin/ng build --aot --stats-json && yarn sentry:sourcemaps:inject",
"generate-settings-schema-validator": "./scripts/generate-settings-schema.sh",
"lint": "ng lint",
"new:component": "ng g component modules/altair/components/",
"ng": "ng",
"postinstall": "yarn generate-settings-schema-validator",
"prepare": "yarn generate-settings-schema-validator && node --max_old_space_size=8000 ../../node_modules/@angular/cli/bin/ng build --output-hashing=none --aot --stats-json",
"prepare": "yarn generate-settings-schema-validator && node --max_old_space_size=8000 ../../node_modules/@angular/cli/bin/ng build --output-hashing=none --aot --stats-json && yarn sentry:sourcemaps:inject",
"start": "ng serve",
"sentry:sourcemaps:inject": "sentry-cli sourcemaps inject --org altair-graphql --project electron ./dist",
"test": "jest && ng lint",
"test-build": "ng lint && yarn build && yarn test-single-run",
"test-single-run": "ng test --watch=false --code-coverage",
Expand Down

0 comments on commit d9c41ce

Please sign in to comment.