-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
96 lines (96 loc) · 2.63 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
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/jill/src",
"projectType": "application",
"targets": {
"build": {
"executor": "nx:run-commands",
"dependsOn": ["pre-build"],
"options": {
"commands": [
"npx workbox-cli generateSW ./apps/jill/workbox-config.js"
],
"parallel": false
}
},
"serve": {
"executor": "@nrwl/web:dev-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "jill:pre-build",
"hmr": true,
"proxyConfig": "apps/jill/proxy.conf.json"
},
"configurations": {
"development": {
"buildTarget": "jill:pre-build:development"
},
"production": {
"buildTarget": "jill:pre-build:production",
"hmr": false
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/jill/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/jill"],
"options": {
"jestConfig": "apps/jill/jest.config.ts",
"passWithNoTests": true
}
},
"pre-build": {
"executor": "@nrwl/web:webpack",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"compiler": "babel",
"outputPath": "dist/apps/jill",
"index": "apps/jill/src/index.html",
"baseHref": "/",
"main": "apps/jill/src/main.tsx",
"polyfills": "apps/jill/src/polyfills.ts",
"tsConfig": "apps/jill/tsconfig.app.json",
"assets": [
"apps/jill/src/favicon.ico",
"apps/jill/src/assets",
"apps/jill/src/robots.txt",
"apps/jill/src/manifest.json"
],
"styles": [],
"scripts": [],
"webpackConfig": "@nrwl/react/plugins/webpack"
},
"configurations": {
"development": {
"extractLicenses": false,
"optimization": false,
"sourceMap": true,
"vendorChunk": true
},
"production": {
"fileReplacements": [
{
"replace": "apps/jill/src/environments/environment.ts",
"with": "apps/jill/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false
}
}
}
},
"tags": []
}