aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-24 22:06:51 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-24 22:06:51 +0800
commitf50ac932d6de28b3474ef8023813835badff4b09 (patch)
tree8e6e46b6dc9c09b2fb8301c6bb27e9f8f12a4cde
parentcab32d75938a93d767bc251cc0f4bc2bfe23a1f9 (diff)
downloaddexon-sol-tools-f50ac932d6de28b3474ef8023813835badff4b09.tar.gz
dexon-sol-tools-f50ac932d6de28b3474ef8023813835badff4b09.tar.zst
dexon-sol-tools-f50ac932d6de28b3474ef8023813835badff4b09.zip
Introduce PackageJson file
-rw-r--r--packages/monorepo-scripts/src/types.ts22
1 files changed, 12 insertions, 10 deletions
diff --git a/packages/monorepo-scripts/src/types.ts b/packages/monorepo-scripts/src/types.ts
index c0622debc..c1483d884 100644
--- a/packages/monorepo-scripts/src/types.ts
+++ b/packages/monorepo-scripts/src/types.ts
@@ -46,16 +46,18 @@ export interface GitTagsByPackageName {
[packageName: string]: string[];
}
+export interface PackageJSON {
+ private?: boolean;
+ version: string;
+ name: string;
+ main?: string;
+ scripts?: { [command: string]: string };
+ config?: {
+ additionalTsTypings?: string[];
+ };
+}
+
export interface Package {
location: string;
- packageJson: {
- private?: boolean;
- version: string;
- name: string;
- main?: string;
- scripts?: { [command: string]: string };
- config?: {
- additionalTsTypings?: string[];
- };
- };
+ packageJson: PackageJSON;
}