Commits

Tim Donohue authored 148cbce5d1d
Remove "analyze" command and webpack-bundle-analyzer dev dependency
No tags

package.json

Modified
5 5 "ng": "ng",
6 6 "config:watch": "nodemon",
7 7 "test:rest": "ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts",
8 8 "start": "yarn run start:prod",
9 9 "start:dev": "nodemon --exec \"cross-env NODE_ENV=development yarn run serve\"",
10 10 "start:prod": "yarn run build:prod && cross-env NODE_ENV=production yarn run serve:ssr",
11 11 "start:mirador:prod": "yarn run build:mirador && yarn run start:prod",
12 12 "preserve": "yarn base-href",
13 13 "serve": "ts-node --project ./tsconfig.ts-node.json scripts/serve.ts",
14 14 "serve:ssr": "node dist/server/main",
15 - "analyze": "webpack-bundle-analyzer dist/browser/stats.json",
16 15 "build": "ng build --configuration development",
17 16 "build:stats": "ng build --stats-json",
18 17 "build:prod": "cross-env NODE_ENV=production yarn run build:ssr",
19 18 "build:ssr": "ng build --configuration production && ng run dspace-angular:server:production",
20 19 "build:lint": "rimraf 'lint/dist/**/*.js' 'lint/dist/**/*.js.map' && tsc -b lint/tsconfig.json",
21 20 "test": "ng test --source-map=true --watch=false --configuration test",
22 21 "test:watch": "nodemon --exec \"ng test --source-map=true --watch=true --configuration test\"",
23 22 "test:headless": "ng test --source-map=true --watch=false --configuration test --browsers=ChromeHeadless --code-coverage",
24 23 "test:lint": "yarn build:lint && yarn test:lint:nobuild",
25 24 "test:lint:nobuild": "jasmine --config=lint/jasmine.json",
198 197 "postcss-preset-env": "^7.4.2",
199 198 "react": "^16.14.0",
200 199 "react-dom": "^16.14.0",
201 200 "rimraf": "^3.0.2",
202 201 "sass": "~1.80.3",
203 202 "sass-loader": "^12.6.0",
204 203 "sass-resources-loader": "^2.2.5",
205 204 "ts-node": "^8.10.2",
206 205 "typescript": "~5.4.5",
207 206 "webpack": "5.95.0",
208 - "webpack-bundle-analyzer": "^4.8.0",
209 207 "webpack-cli": "^5.1.4",
210 208 "webpack-dev-server": "^4.15.1"
211 209 }
212 210 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut