change nodemon & ng to not required global installation
parent
bc24aaf26f
commit
4fecc28803
File diff suppressed because it is too large
Load Diff
|
@ -34,6 +34,7 @@
|
|||
"devDependencies": {
|
||||
"chai": "^3.5.0",
|
||||
"chai-http": "^3.0.0",
|
||||
"mocha": "^3.3.0"
|
||||
"mocha": "^3.3.0",
|
||||
"nodemon": "^1.11.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
"scripts": {
|
||||
"start": "npm run deploy-static-prod && npm start --prefix ./api",
|
||||
"dev": "npm run deploy-static && npm run dev --prefix ./api",
|
||||
"deploy-static": "cd ./static && ng build && ln -s ../api/resource/ ../public/resource",
|
||||
"deploy-static-prod": "cd ./static && ng build --env=prod && ln -s ../api/resource/ ../public/resource",
|
||||
"deploy-static": "cd ./static && $(npm bin)/ng build && ln -s ../api/resource/ ../public/resource",
|
||||
"deploy-static-prod": "cd ./static && $(npm bin)/ng build --env=prod && ln -s ../api/resource/ ../public/resource",
|
||||
"postinstall": "npm install --prefix ./static && npm install --prefix ./api",
|
||||
"mongodb": "mkdir -p mongodb-data && mongod --dbpath ./mongodb-data",
|
||||
"test": "npm test --prefix ./api",
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
(change)="toggleDecoPreview(decoDescription, decoPreview)"
|
||||
required>
|
||||
<option *ngFor="let deco of decorations" [ngValue]="deco">
|
||||
{{deco.fraction == 'BLUFOR'? 'NATO' : deco.fraction == 'OPFOR'? 'CSAT' : 'Global'}}: {{deco.name}}
|
||||
{{deco.name}}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue