mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: use nativescript.config with apps
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"main": "app.js",
|
||||
"android": {
|
||||
"v8Flags": "--expose_gc",
|
||||
"markingMode": "none"
|
||||
}
|
||||
}
|
||||
10
apps/ui/nativescript.config.ts
Normal file
10
apps/ui/nativescript.config.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { NativeScriptConfig } from '@nativescript/core';
|
||||
|
||||
export default {
|
||||
id: 'org.nativescript.uitestsapp',
|
||||
appResourcesPath: '../../tools/assets/App_Resources',
|
||||
android: {
|
||||
v8Flags: '--expose_gc',
|
||||
markingMode: 'none'
|
||||
},
|
||||
} as NativeScriptConfig;
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"appResourcesPath": "../../tools/assets/App_Resources",
|
||||
"appPath": "app"
|
||||
}
|
||||
@@ -1,14 +1,5 @@
|
||||
{
|
||||
"nativescript": {
|
||||
"id": "org.nativescript.uitestsapp",
|
||||
"tns-android": {
|
||||
"version": "next"
|
||||
},
|
||||
"tns-ios": {
|
||||
"version": "6.5.2"
|
||||
}
|
||||
},
|
||||
"main": "app.js",
|
||||
"main": "main.js",
|
||||
"description": "NativeScript Application",
|
||||
"license": "SEE LICENSE IN <your-license-filename>",
|
||||
"repository": "<fill-your-repository-here>",
|
||||
@@ -17,6 +8,7 @@
|
||||
"@nativescript/core": "file:../../packages/core"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nativescript/ios": "7.0.0",
|
||||
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
|
||||
"typescript": "file:../../node_modules/typescript"
|
||||
},
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user