This repository has been archived by the owner on Jul 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 2.87 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
{
"name": "opsucapita-servicenow-integration",
"version": "1.0.0",
"description": "servicenow service to create issues via SOAP-API",
"author": "Stefan Tübben",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/OpusCapita/servicenow-integration"
},
"bugs": {
"url": "https://github.com/OpusCapita/servicenow-integration/issues"
},
"homepage": "https://github.com/OpusCapita/servicenow-integration",
"nyc": {
"exclude": []
},
"dependencies": {
"bluebird": "^3.5.0",
"@opuscapita/config": "^3.0.1",
"@opuscapita/db-init": "^2.0.8",
"@opuscapita/web-init": "^3.0.88",
"ocbesbn-logger": "^1.0.2",
"ocbesbn-redis-events": "^1.0.4",
"ocbesbn-bouncer": "^0.2.11",
"sequelize": "^4.0.0",
"nunjucks": "^3.0.0",
"soap": "^0.21.0",
"md5": "^2.2.1"
},
"devDependencies": {
"jsdoc-to-markdown": "^4.0.1",
"mocha": "^3.2.0",
"mocha-junit-reporter": "^1.12.1",
"nodemon": "^1.11.0",
"nyc": "^10.2.2",
"raml-to-markdown": "1.1.11",
"rimraf": "^2.6.0",
"sequelize-to-markdown": "^1.1.13",
"webpack": "2.5.1"
},
"scripts": {
"start": "node src/server/index.js",
"dev": "npm run setup-consul ; npm run setup-api-keys ; ${NODE_PATH}/.bin/nodemon --watch src/server src/server/index.js",
"test": "npm run clean ; npm run setup-consul ; ${NODE_PATH}/.bin/nyc ${NODE_PATH}/.bin/mocha --recursive -R mocha-junit-reporter",
"clean": "npx rimraf .nyc_output coverage test-results.xml",
"setup-consul": "curl -X PUT -d ${MYSQL_DATABASE} http://consul:8500/v1/kv/servicenow-integration/db-init/database ; curl -X PUT -d 'root' http://consul:8500/v1/kv/servicenow-integration/db-init/user ; curl -X PUT -d ${MYSQL_ROOT_PASSWORD} http://consul:8500/v1/kv/servicenow-integration/db-init/password ; curl -X PUT -d 'true' http://consul:8500/v1/kv/servicenow-integration/db-init/populate-test-data ; curl -X PUT -d ${REDIS_AUTH} http://consul:8500/v1/kv/servicenow-integration/redis/password;",
"setup-api-keys": "curl -X PUT -d ${CIRCLE_TOKEN} http://consul:8500/v1/kv/servicenow-integration/circle-ci-api-key ; curl -X PUT -d ${SN_USER} http://consul:8500/v1/kv/servicenow-integration/servicenow-api-user ; curl -X PUT -d ${SN_PASSWORD} http://consul:8500/v1/kv/servicenow-integration/servicenow-api-password ; curl -X PUT -d ${SN_URI} http://consul:8500/v1/kv/servicenow-integration/servicenow-api-uri",
"rest-doc": "mkdir -p wiki/rest-doc ; npx raml2md -o file-per-resource -p wiki/rest-doc --output-ext=.endpoint.md rest-doc/main.raml",
"domain-doc": "mkdir -p wiki/domain-doc ; npx sq2md -o file-per-src -p wiki/domain-doc --init=init --field-bl=createdAt,updatedAt --output-ext=.model.md src/server/db/models",
"api-doc": "mkdir -p wiki/api-doc ; npx jsdoc2md -f $(find src/server) > wiki/api-doc/Home.md",
"doc": "npm run rest-doc ; npm run api-doc"
}
}