-
Notifications
You must be signed in to change notification settings - Fork 84
/
package.json
121 lines (121 loc) · 3.3 KB
/
package.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@webcomponents/internal-site",
"private": true,
"version": "2.0.0",
"description": "A new implementation of the webcomponents.org site",
"workspaces": [
"./packages/*"
],
"scripts": {
"build": "wireit",
"test": "wireit",
"build:dev": "wireit",
"build:prod": "wireit",
"build:docker": "docker-compose -f docker/docker-compose.yml up --build --remove-orphans --no-start",
"start": "wireit",
"start:prod": "wireit",
"start:docker": "docker-compose -f docker/docker-compose.yml up --build --remove-orphans",
"check": "wireit",
"check:lint": "wireit",
"build-and-check:dev": "wireit",
"build-and-check:prod": "wireit",
"format": "prettier \"./packages/*/src/**/*.ts\" --write",
"check:format": "wireit"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"@web/dev-server": "^0.1.34",
"esbuild": "^0.16.16",
"eslint": "^8.24.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-no-only-tests": "^3.0.0",
"prettier": "^2.7.1",
"typescript": "~4.9.3",
"wireit": "^0.9.2"
},
"wireit": {
"start": {
"dependencies": [
"./packages/site-server:start:dev",
"./packages/catalog-server:start:dev",
"check"
]
},
"start:prod": {
"dependencies": [
"./packages/site-server:start:prod",
"./packages/catalog-server:start:dev",
"check"
]
},
"build": {
"dependencies": [
"./packages/custom-elements-manifest-tools:build",
"./packages/catalog-api:build",
"./packages/catalog-server:build",
"./packages/site-server:build",
"./packages/site-content:build",
"./packages/site-client:build",
"./packages/site-templates:build"
]
},
"test": {
"dependencies": [
"./packages/custom-elements-manifest-tools:test",
"./packages/catalog-server:test"
]
},
"build:prod": {
"dependencies": [
"./packages/site-client:build:prod",
"./packages/site-content:build:prod",
"./packages/site-server:build"
]
},
"build:dev": {
"dependencies": [
"./packages/site-client:build:dev",
"./packages/site-content:build:dev",
"./packages/site-server:build"
]
},
"build-and-check:dev": {
"dependencies": [
"build:dev",
"check"
]
},
"build-and-check:prod": {
"dependencies": [
"build:prod",
"check"
]
},
"check": {
"dependencies": [
"./packages/site-client:check",
"./packages/site-server:check",
"./packages/site-templates:check",
"check:lint",
"check:format"
]
},
"check:lint": {
"command": "eslint --color --cache --cache-location .eslintcache \"packages/{site-client,site-server}/src/**/*.ts\"",
"files": [
".eslintrc.json",
"packages/{site-client,server}/src/**/*.ts"
],
"output": []
},
"check:format": {
"command": "prettier \"./packages/{site-client,site-server}/src/**/*.ts\" --check --cache --cache-strategy=metadata",
"files": [
".prettierrc.json",
"packages/{site-client,site-server}/src/**/*.ts"
],
"output": []
}
}
}