forked from iamtharun/tailwind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
angular.json
103 lines (103 loc) · 2.9 KB
/
angular.json
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"version": 1,
"projects": {
"tailwind": {
"root": "libs/tailwind",
"sourceRoot": "libs/tailwind/src",
"projectType": "library",
"schematics": {},
"architect": {
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["libs/tailwind/**/*.ts"]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"options": {
"jestConfig": "libs/tailwind/jest.config.js",
"passWithNoTests": true
},
"outputs": ["coverage/libs/tailwind"]
},
"build": {
"builder": "@nrwl/node:package",
"options": {
"outputPath": "dist/libs/tailwind",
"tsConfig": "libs/tailwind/tsconfig.lib.json",
"packageJson": "libs/tailwind/package.json",
"main": "libs/tailwind/src/index.ts",
"assets": [
"libs/tailwind/*.md",
{
"input": "./libs/tailwind/src",
"glob": "**/*.!(ts)",
"output": "./src"
},
{
"input": "./libs/tailwind",
"glob": "collection.json",
"output": "."
},
{
"input": "./libs/tailwind",
"glob": "builders.json",
"output": "."
}
]
},
"outputs": ["{options.outputPath}"]
},
"build-copy": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "npx ng run tailwind:build"
},
{
"command": "npx ng run tailwind:copy-template"
}
],
"parallel": false
}
},
"copy-template": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "cp -r dist/libs/tailwind/src/schematics/files dist/libs/tailwind/src/schematics/ng-add"
},
{
"command": "cp -r dist/libs/tailwind/src/schematics/files dist/libs/tailwind/src/schematics/nx-setup"
}
],
"parallel": true
}
}
}
},
"tailwind-e2e": {
"projectType": "application",
"root": "apps/tailwind-e2e",
"sourceRoot": "apps/tailwind-e2e/src",
"architect": {
"e2e": {
"builder": "@nrwl/nx-plugin:e2e",
"options": {
"target": "tailwind:build-copy",
"npmPackageName": "@ngneat/tailwind",
"pluginOutputPath": "dist/libs/tailwind",
"jestConfig": "apps/tailwind-e2e/jest.config.js"
}
}
}
}
},
"cli": {
"defaultCollection": "@nrwl/workspace",
"analytics": false
}
}