forked from microsoft/griffel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
99 lines (99 loc) · 2.4 KB
/
project.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
{
"name": "@griffel/react",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/react/src",
"projectType": "library",
"tags": [],
"targets": {
"build": {
"executor": "@nx/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/react",
"tsConfig": "packages/react/tsconfig.lib.json",
"skipTypeField": true,
"skipTypeCheck": true,
"project": "packages/react/package.json",
"entryFile": "packages/react/src/index.ts",
"compiler": "babel",
"rollupConfig": ["@nx/react/plugins/bundle-rollup", "tools/getRollupOptions.js"],
"external": ["tslib"],
"format": ["esm", "cjs"],
"assets": [
{
"glob": "packages/react/README.md",
"input": ".",
"output": "."
},
{
"glob": "LICENSE.md",
"input": ".",
"output": "."
}
]
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/react"],
"options": { "jestConfig": "packages/react/jest.config.ts" }
},
"bundle-size": {
"executor": "nx:run-commands",
"dependsOn": [
{
"target": "build"
}
],
"options": {
"cwd": "packages/react",
"commands": [
{
"command": "monosize measure"
}
]
}
},
"storybook": {
"executor": "@nx/storybook:storybook",
"options": {
"port": 4400,
"configDir": "packages/react/.storybook"
},
"configurations": {
"ci": {
"quiet": true
}
}
},
"build-storybook": {
"executor": "@nx/storybook:build",
"outputs": ["{options.outputDir}"],
"options": {
"configDir": "packages/react/.storybook",
"outputDir": "dist/storybook/@griffel/react"
},
"configurations": {
"ci": {
"quiet": true
}
}
},
"type-check": {
"executor": "nx:run-commands",
"options": {
"cwd": "packages/react",
"commands": [
{
"command": "tsc -b --pretty"
}
]
},
"outputs": []
}
}
}