1 | /*! *****************************************************************************
|
2 | Copyright (c) JDJR Corporation. All rights reserved.
|
3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
4 | this file except in compliance with the License. You may obtain a copy of the
|
5 | License at http://www.apache.org/licenses/LICENSE-2.0
|
6 | Author: kemao 2019-05-04 20:55:15
|
7 |
|
8 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
9 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
10 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
11 | MERCHANTABLITY OR NON-INFRINGEMENT.
|
12 |
|
13 | See the Apache Version 2.0 License for specific language governing permissions
|
14 | and limitations under the License.
|
15 | ***************************************************************************** */
|
16 | export 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 | }
|