UNPKG

1.71 kBTypeScriptView Raw
1/*! *****************************************************************************
2Copyright (c) JDJR Corporation. All rights reserved.
3Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4this file except in compliance with the License. You may obtain a copy of the
5License at http://www.apache.org/licenses/LICENSE-2.0
6Author: kemao 2019-05-04 20:55:15
7
8THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
9KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
10WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
11MERCHANTABLITY OR NON-INFRINGEMENT.
12
13See the Apache Version 2.0 License for specific language governing permissions
14and limitations under the License.
15***************************************************************************** */
16export declare class ProjectInit {
17 private outDir;
18 private toolsDir;
19 init(): Promise<void>;
20 setToolsDir(toolsDir: string): void;
21 setOutDir(dir: string): void;
22 getPackageJSON(): {
23 name: string;
24 version: string;
25 description: string;
26 repository: {
27 type: string;
28 url: string;
29 };
30 scripts: {
31 "debug": string;
32 "build": string;
33 "package-tools": string;
34 };
35 keywords: any[];
36 author: string;
37 license: string;
38 dependencies: {
39 "@kemao/lark": string;
40 };
41 devDependencies: {
42 "@kemao/package-tools": string;
43 "@kemao/project-tools": string;
44 "@types/node": string;
45 "@types/webpack-env": string;
46 };
47 };
48 private isCheck;
49}