Harmonize scripts (#21)

pull/22/head
Thomas 4 years ago committed by GitHub
parent 9f876e6020
commit c45bd70711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,9 +13,9 @@
"affected:lint": "nx affected:lint",
"affected:test": "nx affected:test",
"angular": "node --max_old_space_size=32768 ./node_modules/@angular/cli/bin/ng",
"build:all": "ng build --prod api && ng build --prod client && yarn run replace-placeholders-in-build",
"build:all": "ng build --prod api && ng build --prod client && yarn replace-placeholders-in-build",
"clean": "rimraf dist",
"database:push": "yarn prisma db push --preview-feature",
"database:push": "prisma db push --preview-feature",
"database:seed": "prisma db seed --preview-feature",
"dep-graph": "nx dep-graph",
"e2e": "ng e2e",
@ -27,17 +27,17 @@
"lint": "nx workspace-lint && ng lint",
"ng": "nx",
"nx": "nx",
"postinstall": "yarn prisma generate",
"postinstall": "prisma generate",
"replace-placeholders-in-build": "node ./replace.build.js",
"setup:database": "yarn database:push && yarn database:seed",
"start": "node dist/apps/api/main",
"start:client": "ng serve client --hmr -o",
"start:prod": "node apps/api/main",
"start:server": "yarn run nx serve api",
"start:server": "nx serve api",
"test": "ng test",
"ts-node": "ts-node --compiler-options '{\"module\":\"CommonJS\"}'",
"update": "nx migrate latest",
"watch:server": "yarn run nx build api --watch",
"watch:server": "nx build api --watch",
"workspace-generator": "nx workspace-generator"
},
"dependencies": {

Loading…
Cancel
Save