Repository navigation
Expand file tree
/
Copy pathproject.json
More file actions
65 lines (65 loc) · 2.46 KB
/
Copy pathproject.json
File metadata and controls
65 lines (65 loc) · 2.46 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "@adyen/adyen-platform-experience-web",
"$schema": "./node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "src",
"tags": ["type:publish"],
"targets": {
"build:umd": {
"executor": "nx:run-commands",
"options": {
"command": "vite --mode umd build --config vite.config.ts && tsc --project tsconfig-build.json"
},
"outputs": ["{workspaceRoot}/dist/umd", "{workspaceRoot}/dist/types"],
"cache": true
},
"build:umd:test": {
"executor": "nx:run-commands",
"options": {
"command": "cross-env USE_TEST_CDN=true vite --mode umd build --config vite.config.ts && tsc --project tsconfig-build.json"
},
"outputs": ["{workspaceRoot}/dist/umd", "{workspaceRoot}/dist/types"],
"cache": true
},
"build:analyse": {
"executor": "nx:run-commands",
"options": {
"command": "vite build --mode analyse --config vite.config.ts"
},
"outputs": ["{workspaceRoot}/dist"],
"cache": true
},
"lint": {
"executor": "nx:run-commands",
"dependsOn": ["lint:playwright-selectors"],
"inputs": ["default", "{workspaceRoot}/**/*"],
"options": {
"commands": ["eslint . --max-warnings 0", "stylelint 'packages/**/*.scss' --max-warnings 0 --report-needless-disables"],
"parallel": false
},
"cache": true
},
"lint:playwright-selectors": {
"executor": "nx:run-commands",
"options": {
"command": "eslint --no-config-lookup --config scripts/eslint-playwright-selectors.cjs 'packages/domains/**/tests/**/*.{spec,test}.ts' 'packages/sdk/tests/**/*.{spec,test}.ts' 'packages/shared/testing/**/*.ts'"
},
"cache": true
},
"types:check": {
"executor": "nx:run-commands",
"options": {
"command": "vue-tsc --noEmit --project {projectRoot}/tsconfig.json"
},
"outputs": [],
"cache": true
},
"types:watch": {
"executor": "nx:run-commands",
"options": {
"command": "vue-tsc --noEmit --project {projectRoot}/tsconfig.json --watch"
},
"cache": false
}
}
}