-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathproject.json
69 lines (69 loc) · 2.02 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
{
"name": "monaco-editor",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/monaco-editor/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"build": {
"dependsOn": ["^build", "generate"],
"executor": "@nx/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/monaco-editor",
"tsConfig": "libs/monaco-editor/tsconfig.lib.json",
"project": "libs/monaco-editor/package.json",
"entryFile": "libs/monaco-editor/src/index.ts",
"external": ["react/jsx-runtime"],
"rollupConfig": "@nx/react/plugins/bundle-rollup",
"compiler": "babel",
"assets": [
{
"glob": "libs/monaco-editor/README.md",
"input": ".",
"output": "."
}
],
"babelUpwardRootMode": true,
"updateBuildableProjectDepsInPackageJson": true
},
"configurations": {
"dev": {},
"prod": {}
},
"defaultConfiguration": "dev"
},
"pre-publish": {
"executor": "nx:run-commands",
"dependsOn": ["build"],
"options": {
"commands": [
"node tools/scripts/relax-peer-dependency-versions.mjs monaco-editor",
"node tools/scripts/add-package-json-version.mjs monaco-editor",
"node tools/scripts/publish.mjs monaco-editor false" // dry-run
],
"parallel": false
}
},
"publish": {
"executor": "nx:run-commands",
"dependsOn": ["pre-publish"],
"options": {
"commands": ["node tools/scripts/publish.mjs monaco-editor true"],
"parallel": false
}
},
"pack": {
"executor": "nx:run-commands",
"dependsOn": ["pre-publish"],
"options": {
"commands": ["node tools/scripts/pack.mjs monaco-editor"],
"parallel": false
}
}
},
"implicitDependencies": ["language-server"]
}