59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"name": "blakus-nativescript",
|
|
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "blakus-nativescript/src",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"debug": {
|
|
"executor": "@nativescript/nx:debug",
|
|
"options": {
|
|
"noHmr": true,
|
|
"uglify": false,
|
|
"release": false,
|
|
"forDevice": false,
|
|
"prepare": false
|
|
},
|
|
"configurations": {
|
|
"build": {
|
|
"copyTo": "./dist/build.ipa"
|
|
},
|
|
"prod": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "./src/environments/environment.ts",
|
|
"with": "./src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"prepare": {
|
|
"executor": "@nativescript/nx:prepare",
|
|
"options": {
|
|
"noHmr": true,
|
|
"production": true,
|
|
"uglify": true,
|
|
"release": true,
|
|
"forDevice": true,
|
|
"prepare": true
|
|
},
|
|
"configurations": {
|
|
"prod": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "./src/environments/environment.ts",
|
|
"with": "./src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"clean": {
|
|
"executor": "@nativescript/nx:clean",
|
|
"options": {}
|
|
}
|
|
}
|
|
}
|