forked from open-telemetry/opentelemetry.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
163 lines (163 loc) · 6.03 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"spelling": "cSpell:ignore docsy elemetry HTMLTEST hugo netlify prebuild precheck preinstall postbuild postget textlint -",
"Notes": [
"The 'all' and 's' scripts are conveniences for use until the following",
"is fixed: https://github.com/mysticatea/npm-run-all/issues/209.",
"That is, from the command line, you can use, e.g.: npm run s <arguments>."
],
"scripts": {
"__check:links": "make --keep-going check-links",
"_build": "hugo --cleanDestinationDir -e dev -DFE",
"_check:format": "npx prettier --check .",
"_check:format:any": "npx prettier --check --ignore-path ''",
"_check:links": "HTMLTEST_ARGS='--log-level 1' npm run __check:links",
"_check:links:internal": "npm run __check:links",
"_check:links--warn": "npm run _check:links || (echo; echo 'WARNING: see link-checker output for issues.'; echo)",
"_check:spelling": "npx cspell -c .vscode/cspell.json content data",
"_check:text": "npx textlint content data",
"_get:no": "echo SKIPPING get operation",
"_get:submodule:non-lang": "npm run _get:submodule -- content-modules/opentelemetry-specification themes/docsy",
"_get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 1}",
"_prebuild": "run-s get:submodule cp:spec",
"_prepare:docsy": "cd themes/docsy && npm install",
"_prettier:any": "npx prettier --ignore-path ''",
"_serve:hugo": "hugo server -DFE --minify",
"_serve:netlify": "netlify dev -c \"npm run _serve:hugo\"",
"all": "npm-run-all",
"build:preview": "set -x && npm run _build -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
"build:production": "hugo --cleanDestinationDir --minify",
"build": "npm run _build",
"cd:public": "cd public &&",
"check": "npm run all -- check:*",
"check:format": "npm run _check:format || (echo '[help] Run: npm run format'; exit 1)",
"check:links": "npm run _check:links",
"check:links:internal": "npm run _check:links:internal",
"clean": "make clean",
"cp:spec": "./scripts/content-modules/cp-pages.sh",
"diff:check": "git diff --name-only --exit-code || (echo; echo 'WARNING: the files above have not been committed'; echo)",
"diff:fail": "git diff --name-only --exit-code || (echo; echo 'ERROR: the files above have changed. Locally rerun `npm run test` and commit changes'; echo; git diff | head -100; exit 1)",
"format": "npm run _check:format -- --write",
"get:submodule": "npm run _get:${GET:-submodule}",
"make:public": "make public ls-public",
"postbuild:preview": "npm run _check:links--warn",
"postbuild:production": "npm run _check:links--warn",
"postget:submodule": "git submodule",
"prebuild:preview": "run-s _prebuild",
"prebuild:production": "run-s _prebuild _check:format",
"prebuild": "npm run _prebuild",
"precheck:links": "npm run build",
"precheck:links:internal": "npm run build",
"prepare": "run-s get:submodule _prepare:docsy",
"preserve:hugo": "npm run _prebuild",
"preserve:netlify": "npm run _prebuild",
"s": "run-s",
"schemas:update": "npm run update:submodule content-modules/opentelemetry-specification",
"serve:hugo": "npm run _serve:hugo",
"serve:netlify": "npm run _serve:netlify",
"serve": "npm run serve:hugo",
"test": "run-s check:*",
"update:pkg:docsy-dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest",
"update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest",
"update:pkg:hugo+": "npm run update:pkg:hugo && npm run update:pkg:docsy-dep",
"update:pkg:netlify": "npm install --save-dev netlify-cli@latest",
"update:pkg:other": "npm install --save-dev npm-run-all@latest",
"update:submodule:lang": "run-s update:submodule _get:submodule:non-lang",
"update:submodule": "set -x && git submodule update --remote ${DEPTH:- --depth 1}"
},
"private": true,
"prettier": {
"proseWrap": "always",
"singleQuote": true
},
"textlint": {
"plugins": {
"@textlint/text": {
"extensions": [
".yml"
]
}
},
"filters": {
"comments": {
"disablingComment": "prettier-ignore-start",
"enablingComment": "prettier-ignore-end"
},
"allowlist": {
"allow": [
"/{{%.*%}}/",
"/<http://.*>/",
"medium.com/opentelemetry",
"github.com/open-telemetry",
"#opentelemetry"
]
}
},
"rules": {
"terminology": {
"defaultTerms": false,
"skip": [],
"terms": [
".NET",
"Apache",
"CNCF",
"eBPF",
"gRPC",
"HTTP",
"Jaeger",
"K8s",
"KubeCon",
"Kubernetes",
"MySQL",
"NGINX",
"OTel",
"OTEP",
"PHP",
"PostgreSQL",
"protobuf",
"Zipkin",
[
"[^\\.]json",
"JSON"
],
[
"[Nn]ode\\.?[Jj][sS]",
"Node.js"
],
[
"open-source",
"open source"
],
[
"[Oo]pen[- ][Tt]elemetry",
"OpenTelemetry"
]
]
}
}
},
"devDependencies": {
"autoprefixer": "^10.4.14",
"cspell": "^6.31.1",
"hugo-extended": "0.113.0",
"netlify-cli": "^15.0.1",
"npm-run-all": "^4.1.5",
"postcss-cli": "^10.1.0",
"prettier": "^2.8.4",
"textlint": "^13.1.4",
"textlint-filter-rule-allowlist": "^4.0.0",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-terminology": "^3.0.4"
},
"dependencies": {
"@opentelemetry/api": "^1.3.0",
"@opentelemetry/auto-instrumentations-web": "^0.32.0",
"@opentelemetry/context-zone": "^1.8.0",
"@opentelemetry/core": "^1.8.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.40.0",
"@opentelemetry/instrumentation": "^0.40.0",
"@opentelemetry/resources": "^1.8.0",
"@opentelemetry/sdk-trace-base": "^1.8.0",
"@opentelemetry/sdk-trace-web": "^1.8.0",
"@opentelemetry/semantic-conventions": "^1.8.0"
}
}