-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathproject.json
More file actions
50 lines (50 loc) · 1.19 KB
/
project.json
File metadata and controls
50 lines (50 loc) · 1.19 KB
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
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"name": "swc-angular-plugin",
"projectType": "library",
"sourceRoot": "packages/swc-angular-plugin/src",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"parallel": false,
"commands": [
"cargo build --target wasm32-wasip1 --release --target-dir dist/{projectRoot}",
"cp {projectRoot}/package.json dist/{projectRoot}",
"cp {projectRoot}/*.md dist/{projectRoot}"
]
}
},
"test": {
"executor": "@monodon/rust:test",
"outputs": [
"{options.target-dir}"
],
"options": {
"target-dir": "dist/packages/swc-angular-plugin"
},
"configurations": {
"production": {
"release": true
}
}
},
"lint": {
"executor": "@monodon/rust:lint",
"outputs": [
"{options.target-dir}"
],
"options": {
"target-dir": "dist/packages/swc-angular-plugin"
}
},
"nx-release-publish": {
"executor": "@nx/js:release-publish",
"dependsOn": [
"^nx-release-publish",
"build"
]
}
},
"tags": []
}