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:
11
apps/toolbox/nativescript.config.ts
Normal file
11
apps/toolbox/nativescript.config.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { NativeScriptConfig } from '@nativescript/core';
|
||||
|
||||
export default {
|
||||
id: 'org.nativescript.ToolBox',
|
||||
appResourcesPath: '../../tools/assets/App_Resources',
|
||||
android: {
|
||||
v8Flags: '--expose_gc',
|
||||
markingMode: 'none',
|
||||
suppressCallJSMethodExceptions: false,
|
||||
}
|
||||
} as NativeScriptConfig;
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"appResourcesPath": "../../tools/assets/App_Resources",
|
||||
"appPath": "src"
|
||||
}
|
||||
@@ -1,14 +1,5 @@
|
||||
{
|
||||
"nativescript": {
|
||||
"id": "org.nativescript.ToolBox",
|
||||
"tns-ios": {
|
||||
"version": "6.5.0"
|
||||
},
|
||||
"tns-android": {
|
||||
"version": "6.5.0"
|
||||
}
|
||||
},
|
||||
"main": "app.js",
|
||||
"main": "main.js",
|
||||
"description": "NativeScript Application",
|
||||
"license": "SEE LICENSE IN <your-license-filename>",
|
||||
"repository": "<fill-your-repository-here>",
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"main": "app.js",
|
||||
"android": {
|
||||
"v8Flags": "--nolazy --expose_gc",
|
||||
"markingMode": "none",
|
||||
"codeCache": "true",
|
||||
"suppressCallJSMethodExceptions": false
|
||||
},
|
||||
"discardUncaughtJsExceptions": false
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"diagnostics": false,
|
||||
"paths": {
|
||||
"~/*": ["src/*"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user