Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
22
node_modules/@trapezedev/project/dist/frameworks/nativescript.js
generated
vendored
Normal file
22
node_modules/@trapezedev/project/dist/frameworks/nativescript.js
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.NativeScriptFramework = void 0;
|
||||
const utils_fs_1 = require("@ionic/utils-fs");
|
||||
const path_1 = require("path");
|
||||
const _1 = require(".");
|
||||
class NativeScriptFramework extends _1.Framework {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
static async getFramework(project) {
|
||||
if (!project.config.projectRoot) {
|
||||
return false;
|
||||
}
|
||||
if (!(await (0, utils_fs_1.pathExists)((0, path_1.join)(project.config.projectRoot, 'nativescript.config.ts')))) {
|
||||
return null;
|
||||
}
|
||||
return new NativeScriptFramework();
|
||||
}
|
||||
}
|
||||
exports.NativeScriptFramework = NativeScriptFramework;
|
||||
//# sourceMappingURL=nativescript.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue