-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
162 lines (162 loc) · 5.55 KB
/
package.json
File metadata and controls
162 lines (162 loc) · 5.55 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
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
{
"name": "@splunkdev/cloud-sdk",
"version": "16.0.0-beta6",
"description": "Splunk Cloud SDK for Javascript",
"main": "splunk.js",
"types": "splunk.d.ts",
"scripts": {
"commit": "yarn git-cz",
"tslint": "tslint -p tsconfig.json -c tslint.json && yarn tslint:tests",
"tslint:fix": "tslint -p tsconfig.json -c tslint.json --fix && yarn tslint:fix:tests",
"tslint:tests": "tslint -p tsconfig.test.json -c tslint.json",
"tslint:fix:tests": "tslint -p tsconfig.test.json -c tslint.json --fix",
"ts:docs": "rm -rf docs && yarn ts:docs:html && yarn ts:docs:md",
"ts:docs:html": "typedoc --tsconfig tsconfig.json --readme none --mode file --out docs/html/ --inlineSourceMap --module commonjs --theme minimal --excludePrivate",
"ts:docs:md": "typedoc --tsconfig tsconfig.json --readme none --mode file --out docs/md/ --inlineSourceMap --module commonjs --theme markdown --excludePrivate --mdHideSources --mdEngine github",
"docs": "yarn ts:docs",
"build": "node ci/extract_version.js && tsc -p tsconfig.json",
"build:tests": "tsc -p tsconfig.test.json",
"clean": "rimraf *.js **/*.map **/*.d.ts && yarn run clean:services && yarn run clean:coverage || true",
"clean:services": "rm -rf action app-registry catalog collect forwarders identity ingest kvstore ml provisioner search streams services service_base service_extensions",
"clean:coverage": "rm -rf coverage coverage-integration coverage-integration-ml",
"cover": "yarn run clean:coverage && NODE_ENV=coverage nyc npm run test:unit",
"cover:integration": "yarn run clean:coverage && cat .env && NODE_ENV=coverage nyc --report-dir coverage-integration npm run ci:integration",
"cover:integration:ml": "yarn run clean:coverage && NODE_ENV=coverage nyc --report-dir coverage-integration-ml npm run ci:integration:ml",
"pretest": "yarn tslint && yarn build",
"test": "ts-mocha \"test/**/*.ts\" -p tsconfig.test.json --exit --timeout=900000 --recursive",
"test:unit": "ts-mocha \"test/unit/**/*.ts\" -p tsconfig.test.json --exclude \"test/unit/*.d.ts\" --exit --timeout=900000 --recursive",
"test:integration": "ts-mocha -p tsconfig.test.json --timeout=900000 test/integration/*.ts",
"test:examples": "ts-mocha -p tsconfig.test.json --timeout=900000 test/examples/*.ts",
"ci:integration": "bash -c 'allow_failures=0 ./ci/integration/runtests.sh'",
"publish:docs": "yarn ts:docs && npm add --no-save @splunk/cicd-tools --registry https://repo.splunk.com/artifactory/api/npm/npm && yarn cicd-publish-docs --force docs/md",
"start:swagger": "docker run --name=swagger -d -p 80:8080 swaggerapi/swagger-ui",
"stop:swagger": "docker rm -f swagger",
"example": "./ci/integration/runExamples.sh",
"third-party-licenses": "node ci/generate_3rdparty.js",
"release:dryrun": "yarn standard-version --dry-run",
"release:minor": "yarn standard-version --release-as minor",
"release:patch": "yarn standard-version --release-as patch",
"release": "yarn standard-version"
},
"author": "Splunk, Inc.",
"license": "Apache-2.0",
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^7.1.2",
"@types/chai": "^4.1.7",
"@types/express": "^4.17.1",
"@types/isomorphic-fetch": "^0.0.34",
"@types/mocha": "^5.2.5",
"@types/node": "^10.17.60",
"@types/pem": "^1.9.5",
"chai": "^4.1.2",
"codecov": "^3.6.5",
"commitizen": "^4.0.0",
"cz-conventional-changelog": "^2.1.0",
"cz-customizable": "^5.2.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"husky": "^1.1.3",
"isomorphic-fetch": "^2.2.1",
"js-yaml": "^3.11.0",
"jsdoc": "^3.5.5",
"markdownlint": "^0.14.1",
"mocha": "^5.0.4",
"mocha-steps": "^1.3.0",
"npm-license-crawler": "^0.2.1",
"nyc": "^15.0.0",
"pem": "^1.14.2",
"replace": "^1.1.0",
"rimraf": "^2.6.2",
"sleep-promise": "^8.0.1",
"source-map-support": "^0.5.6",
"standard-version": "^4.4.0",
"ts-mocha": "^2.0.0",
"ts-node": "^7.0.0",
"tsc": "^1.20150623.0",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-eslint-rules": "^5.4.0",
"typedoc": "^0.15.0",
"typedoc-plugin-markdown": "^1.2.1",
"typescript": "^3.0.3"
},
"dependencies": {
"form-data": "^4.0.0"
},
"nyc": {
"all": true,
"branches": 10,
"lines": 10,
"functions": 10,
"statements": 10,
"cache": false,
"check-coverage": false,
"extension": [
".ts",
".js"
],
"exclude": [
"src/version.ts",
"src/**/index.ts",
"src/**/Generated*.ts",
"src/**/models.ts",
"src/**/*.d.ts",
"cd/**/*",
"ci/**/*",
"coverage*/**/*",
"docs/**/*",
"examples/**/*"
],
"include": [
"src/**/*.ts",
"**/*.js"
],
"instrument": true,
"reporter": [
"lcov",
"text-summary",
"text",
"html"
],
"require": [
"ts-node/register",
"source-map-support/register"
],
"sourceMap": true
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
0,
"always",
100
]
}
},
"standard-version": {
"skip": {
"tag": true
},
"scripts": {
"postchangelog": "cd/replace_url.sh"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"cz-customizable": {
"config": "ci/.cz-config.js"
}
}
}