forked from linode/apl-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
161 lines (161 loc) · 5.42 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
{
"author": "RedKubes",
"bugs": {
"url": "https://github.com/redkubes/otomi-core/issues"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "9.0.9",
"@kubernetes/client-node": "0.16.3",
"@types/deep-diff": "1.0.1",
"@types/semver": "7.3.9",
"ajv": "8.11.0",
"async-retry": "1.3.3",
"clean-deep": "3.4.0",
"cli-select": "1.1.2",
"debug": "4.3.4",
"deep-diff": "1.0.2",
"dotenv": "10.0.0",
"envalid": "7.3.1",
"express": "4.17.3",
"fs-extra": "9.1.0",
"ignore-walk": "3.0.4",
"js-yaml": "4.1.0",
"lodash": "4.17.21",
"node-fetch": "2.6.7",
"node-forge": "0.10.0",
"semver": "7.3.7",
"tar": "6.1.11",
"validator": "13.7.0",
"yargs": "17.4.1",
"zx": "4.3.0"
},
"description": "Otomi Core is an opinionated stack of Kubernetes apps and configurations. Part of Otomi Container Platform.",
"devDependencies": {
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@hkdobrev/run-if-changed": "0.3.1",
"@jest/types": "27.5.1",
"@types/async-retry": "1.4.3",
"@types/chai": "4.3.1",
"@types/chai-as-promised": "7.1.5",
"@types/debug": "4.1.7",
"@types/express": "4.17.13",
"@types/ignore-walk": "3.0.2",
"@types/jest": "27.4.1",
"@types/js-yaml": "4.0.5",
"@types/jsonpath": "0.2.0",
"@types/lodash": "4.14.182",
"@types/node": "16.11.28",
"@types/node-forge": "0.10.10",
"@types/sinon": "9.0.11",
"@types/sinon-chai": "3.2.8",
"@types/supertest": "2.0.12",
"@types/tar": "4.0.5",
"@types/validator": "13.7.2",
"@types/yargs": "17.0.10",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"@vercel/ncc": "0.33.4",
"chai": "4.3.6",
"commitizen": "4.2.4",
"cspell": "4.2.8",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.32.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-chai-expect": "2.2.0",
"eslint-plugin-chai-friendly": "0.7.2",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "3.4.1",
"git-cz": "4.8.0",
"github-release-from-changelog": "2.1.1",
"husky": "7.0.4",
"jest": "27.5.1",
"jest-ts-auto-mock": "2.1.0",
"json-schema-to-typescript": "10.1.5",
"json2ts": "0.0.7",
"jsonpath": "1.1.1",
"lint-staged": "10.5.4",
"npm-run-all": "4.1.5",
"prettier": "2.6.2",
"standard-version": "9.3.2",
"ts-auto-mock": "3.5.0",
"ts-jest": "27.1.4",
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"ttypescript": "1.5.13",
"typescript": "4.6.3"
},
"engines": {
"node": ">=15.0.0",
"npm": ">=6.0.0"
},
"homepage": "https://github.com/redkubes/otomi-core#readme",
"license": "Apache-2.0",
"lint-staged": {
"*.{json,yml,yaml}": [
"prettier --write"
],
"*.ts": [
"eslint --fix"
]
},
"main": "src/otomi.ts",
"name": "otomi-core",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/redkubes/otomi-core.git"
},
"run-if-changed": {
"package-lock.json": "npm install --prefer-offline --no-audit",
"values-schema.yaml": "npm run gen:chart-schema"
},
"scripts": {
"check-policies": "TESTING=1 binzx/otomi check-policies",
"compile": "tsc && chmod +x ./dist/src/otomi.js",
"compile:watch": "npm run compile && tsc -w",
"cz": "git-cz",
"cz:retry": "git-cz -- --retry",
"eslint": "eslint --ext ts .",
"eslint:fix": "eslint --fix --ext ts .",
"format": "prettier --check \"**/*.{json,md,yml,yaml}\"",
"format:fix": "prettier --write \"**/*.{json,md,yml,yaml}\"",
"gen:chart-schema": "js-yaml values-schema.yaml > chart/otomi/values.schema.json",
"lint": "run-p spellcheck lint:hf lint:ts lint:types",
"lint-staged": "lint-staged",
"lint:fix": "prettier --write tests/**/*.yaml --write '.values/env/**/*.yaml' && npm run lint:ts:fix",
"lint:hf": "export TESTING=1 && binzx/otomi lint",
"lint:ts": "eslint --ext ts src",
"lint:ts:fix": "eslint --fix --ext ts src",
"lint:types": "tsc",
"migrate-values": "ENV_DIR=$PWD/.values binzx/otomi migrate && ENV_DIR=$PWD/tests/fixtures binzx/otomi migrate && ENV_DIR=$PWD/tests/kind binzx/otomi migrate",
"prepare": "husky install",
"server": "ts-node-dev --watch 'values-schema.yaml,src/**/*.ts' --inspect=4320 --respawn --transpile-only -r tsconfig-paths/register -r dotenv/config src/server/index.ts",
"release": "standard-version",
"release:github": "github-release-from-changelog",
"run-if-changed": "run-if-changed",
"score-templates": "TESTING=1 binzx/otomi score-templates",
"spellcheck": "cspell '/docs/**/**.md' '/values-schema.yaml' '/*.md' '/.values/README.md'",
"tasks:copy-certs": "binzx/otomi task -n copyCerts",
"test": "TESTING=1 run-s test:ts validate-values lint check-policies",
"test:opa": "binzx/otomi x opa test policies -v",
"test:ts": "TESTING=1 jest",
"test:ts-cov": "jest --coverage",
"validate-templates": "set -e; i=19; while [ $i -le 23 ]; do TESTING=1 binzx/otomi validate-templates -k 1.$i; i=$(($i+1)); done",
"validate-values": "TESTING=1 binzx/otomi validate-values"
},
"standard-version": {
"skip": {
"tag": true
}
},
"type": "commonjs",
"version": "0.16.4"
}