-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patheikjson.d.ts
42 lines (41 loc) · 1.71 KB
/
eikjson.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* eslint-disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
export interface EikjsonSchema {
$schema?: string;
/**
* The URL address of the Eik server where packages are published to.
*/
server: string;
/**
* The name of the Eik package. Follows the same rules as for NPM package names. Must be parseable by validate-npm-package-name package, which is bundled with npm as a dependency.
*/
name: string;
/**
* The version of the Eik package. Follows the same rules as for NPM package versions. Must be parseable by node-semver, which is bundled with npm as a dependency.
*/
version: string;
/**
* The type of the Eik package. Must be one of 'package', 'npm', 'map' or 'image'. Setting this value changes the URL publish namespace between '/pkg' (default), '/npm', '/map' and '/img', use 'npm' when publishing NPM packages. Use 'image' when publishing images. Use 'map' when publishing import maps.
*/
type?: "package" | "npm" | "map" | "image";
/**
* File mapping definition for the package. Keys represent files or paths to be created on the Eik Server. Values represent paths to local files to be published.
*/
files:
| {
[k: string]: string;
}
| string;
/**
* Import map files given by URL(s) to be used during package bundling. Specified as a URL or array of URLs. URLs are locations of import map files that follow the W3C import map spec.
*/
"import-map"?: string | string[];
/**
* Location of local Eik build directory (defaults to .eik). Used by Eik client.
*/
out?: string;
}