UNPKG

2.7 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/schema",
3 "$id": "angular-fontawesome-ng-add",
4 "title": "Font Awesome ng-add schematic",
5 "type": "object",
6 "properties": {
7 "project": {
8 "type": "string",
9 "description": "The name of the project.",
10 "$default": {
11 "$source": "projectName"
12 }
13 },
14 "version": {
15 "description": "The FontAwesome version to install.",
16 "type": "string",
17 "default": "6",
18 "x-prompt": {
19 "message": "Choose Font Awesome version you would like to use:",
20 "type": "list",
21 "items": [
22 {
23 "value": "6",
24 "label": "Font Awesome 6"
25 },
26 {
27 "value": "5",
28 "label": "Font Awesome 5"
29 }
30 ]
31 }
32 },
33 "iconPackages": {
34 "description": "The icon packages to install.",
35 "type": "array",
36 "items": {
37 "type": "string",
38 "enum": [
39 "free-solid",
40 "free-regular",
41 "free-brands",
42 "pro-solid",
43 "pro-regular",
44 "pro-light",
45 "pro-duotone",
46 "pro-thin",
47 "sharp-solid"
48 ]
49 },
50 "default": ["free-solid"],
51 "x-prompt": {
52 "message": "Choose Font Awesome icon packages you would like to use:",
53 "type": "list",
54 "multiselect": true,
55 "items": [
56 {
57 "value": "free-solid",
58 "label": "Free Solid Icons"
59 },
60 {
61 "value": "free-regular",
62 "label": "Free Regular Icons"
63 },
64 {
65 "value": "free-brands",
66 "label": "Free Brands Icons"
67 },
68 {
69 "value": "pro-solid",
70 "label": "Pro Solid Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
71 },
72 {
73 "value": "pro-regular",
74 "label": "Pro Regular Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
75 },
76 {
77 "value": "pro-light",
78 "label": "Pro Light Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
79 },
80 {
81 "value": "pro-duotone",
82 "label": "Pro Duotone Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
83 },
84 {
85 "value": "pro-thin",
86 "label": "Pro Thin Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
87 },
88 {
89 "value": "sharp-solid",
90 "label": "Sharp Solid Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
91 }
92 ]
93 }
94 }
95 },
96 "required": [],
97 "additionalProperties": false
98}