-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 4.13 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
{
"name": "sextant-api",
"private": true,
"version": "1.0.0",
"description": "api server for the sextant cluster creation service",
"main": "index.js",
"scripts": {
"migrate": "if [ ! -r src/config.js ]; then cd dist; fi; knex migrate:latest",
"build": "node -c src/index.js",
"check": "npm-check",
"download-helm-charts": "if [ -r dist/src/download-helm-charts.js ]; then node dist/src/download-helm-charts.js; else node src/download-helm-charts.js; fi",
"copy-helm-fixtures": "tar -xf ./test/fixtures/helmCharts.tar.gz -C .",
"remove-helm-fixtures": "rm -rf ./helmCharts/*",
"preserve": "npm run download-helm-charts && npm run migrate",
"serve": "if [ -r dist/src/index.js ]; then node dist/src/index.js ; else node src/index.js; fi",
"generate-swagger": "node src/generateSwagger.js",
"pretest": "npm run copy-helm-fixtures",
"test": "npm run cover:test && npm run cover:report && npm run test:report",
"test:jest": "jest --coverage --coverageDirectory=./build/jest",
"merge:junit": "jrm build/junit.xml build/jest/junit.xml build/tape/junit.xml",
"merge:coverage": "lcov-result-merger 'build/*/lcov.info' build/lcov.info",
"posttest": "npm run remove-helm-fixtures",
"test:tape": "ts-node node_modules/tape/bin/tape {src,test}/**/*.test.js > /tmp/test.out",
"test:report": "cat /tmp/test.out | tap-spec && cat /tmp/test.out | tap-junit > /tmp/junit.xml",
"cover:test": "nyc --silent npm run test:tape",
"cover:report": "nyc report --report-dir /tmp --reporter=text --reporter=lcov",
"start": "npm run download-helm-charts && npm run serve",
"compile": "tsc && node -c dist/src/index.js",
"watch": "tsc -w"
},
"dependencies": {
"@aws-sdk/client-marketplace-metering": "^3.370.0",
"@kubernetes/client-node": "^0.15.1",
"ajv": "^8.12.0",
"ajv-errors": "^3.0.0",
"ajv-keywords": "^5.1.0",
"axios": "^1.6.0",
"bcrypt": "^5.0.1",
"bluebird": "^3.7.2",
"body-parser": "^1.19.0",
"config": "^3.3.6",
"connect-pg-simple": "^6.2.1",
"cookie-parser": "^1.4.5",
"deepmerge": "^4.2.2",
"dotenv": "^10.0.0",
"dotty": "^0.1.1",
"express": "^4.17.1",
"express-async-handler": "^1.1.4",
"express-session": "^1.17.2",
"fs-extra": "^10.0.0",
"get-port": "^5.1.1",
"js-yaml": "^3.14.1",
"jsonwebtoken": "^9.0.0",
"junit-report-merger": "^5.0.0",
"knex": "^2.4.0",
"memoizee": "^0.4.15",
"minimist": "^1.2.6",
"node-config": "0.0.2",
"node-schedule": "^2.0.0",
"openapi-types": "^9.3.0",
"passport": "^0.6.0",
"pg": "8.7.1",
"pino": "^8.11.0",
"randomstring": "^1.2.1",
"request": "^2.88.2",
"sawtooth-sdk": "git+https://github.com/hyperledger/sawtooth-sdk-javascript.git#5cdf299ce466",
"split": "^1.0.1",
"swagger-jsdoc": "^5.0.1",
"swagger-ui-express": "^4.1.6",
"tmp": "^0.2.1",
"uuid": "8.3.2",
"yup": "^0.32.11"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/axios": "^0.14.0",
"@types/bcrypt": "^5.0.0",
"@types/bluebird": "^3.5.38",
"@types/express": "^4.17.17",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.4.0",
"@types/js-yaml": "^4.0.5",
"@types/jsonwebtoken": "^9.0.1",
"@types/memoizee": "^0.4.8",
"@types/node": "^18.14.6",
"@types/randomstring": "^1.1.8",
"@types/sawtooth-sdk": "^1.1.3",
"@types/tape": "^4.13.2",
"@types/tmp": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"async": "^3.2.2",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^29.5.0",
"jest-junit": "^15.0.0",
"lcov-result-merger": "^4.1.0",
"npm-check": "^6.0.1",
"nyc": "^15.1.0",
"prettier": "2.5.1",
"source-map-support": "^0.5.21",
"tap-junit": "^5.0.1",
"tap-spec": "^5.0",
"tape": "^4.16.2",
"testcontainers": "^9.1.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.0.2",
"widdershins": "^4.0.1"
}
}