-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 3.86 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
{
"name": "@financialforcedev/orizuru",
"version": "9.3.2",
"description": "Streamlined communication between Heroku dynos / other worker processes",
"main": "dist/src/index.js",
"types": "dist/types/src/index.d.ts",
"files": [
"dist/src",
"dist/types/src"
],
"scripts": {
"build": "npm run build-clean && npm run build-compile && npm run build-copy",
"build-clean": "rm -rf dist",
"build-compile": "tsc",
"build-copy": "npm run build-copy-transport",
"build-copy-transport": "cp src/index/transport/transport.avsc dist/src/index/transport",
"clean": "npm run build-clean && npm run docker-cleanup && rm -rf coverage* && rm -rf node_modules && rm -f *.tgz",
"coverage": "nyc --report-dir=coverage --nycrc-path=test/.nyc.json mocha --config test/.mocha.json",
"coverage-system": "NODE_APP_INSTANCE=system jest --config systemtests/.jest.json --runInBand --detectOpenHandles",
"coverage-systemtests": "nyc --report-dir=coverage --nycrc-path=systemtests/.nyc.json mocha --config systemtests/.mocha.json",
"coverage-unit": "jest --config test/.jest.json",
"doc": "npm run doc-generate && npm run doc-sanitize-avsc && npm run doc-sanitize-node",
"doc-generate": "typedoc --gitRevision master --ignoreCompilerErrors --out doc src/**/* --readme readme.md",
"doc-sanitize-avsc": "sed -E -i '' 's|'$PWD'/node_modules/avsc/types/index.d.ts:([0-9]*)|<a href=\"https://github.com/mtth/avsc/blob/master/types/index.d.ts#L\\1\">avsc/types/index.d.ts:\\1</a>|g' $(find doc -type f -regex '^doc/[a-zA-Z0-9/\\._-]*.html$')",
"doc-sanitize-node": "sed -E -i '' 's|'$PWD'/node_modules/@types/node/events.d.ts:([0-9]*)|<a href=\"https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/events.d.ts#L\\1\">node/events.d.ts:\\1</a>|g' $(find doc -type f -regex '^doc/[a-zA-Z0-9/._-]*.html$')",
"docker-build": "cd node_modules/@financialforcedev/orizuru-transport-rabbitmq/dist/docker && docker-compose build",
"docker-cleanup": "npm run docker-cleanup-containers && npm run docker-cleanup-images",
"docker-cleanup-containers": "docker ps --filter=name='ffdc/*' --format '{{.ID}}' -a | xargs -L1 -t docker stop | xargs -L1 -t docker rm",
"docker-cleanup-images": " docker images --filter=reference='ffdc/*' --format '{{.ID}}' | xargs -L1 -t docker rmi",
"docker-start": "npm run docker-build && npm run docker-start-services",
"docker-start-services": "cd node_modules/@financialforcedev/orizuru-transport-rabbitmq/dist/docker && docker-compose up -d && sleep 20",
"posttest": "npm run docker-start && npm run coverage-system",
"prepare": "npm run build",
"pretest": "tslint -p tsconfig.json",
"test": "npm run coverage-unit",
"test-system": "NODE_APP_INSTANCE=system jest --config systemtests/.jest.json --coverage=false --runInBand --detectOpenHandles",
"test-unit": "jest --config test/.jest.json --coverage=false"
},
"repository": {
"type": "git",
"url": "https://github.com/financialforcedev/orizuru"
},
"keywords": [
"webhook",
"web",
"heroku",
"worker",
"orizuru",
"dyno"
],
"author": "financialforce",
"license": "BSD-3-Clause",
"dependencies": {
"@types/express": "^4.17.0",
"@types/lodash": "^4.14.136",
"@types/node": "^12.6.2",
"avsc": "^5.4.12",
"express": "^4.17.1",
"http-status-codes": "^1.3.2",
"lodash": "^4.17.14"
},
"devDependencies": {
"@financialforcedev/orizuru-transport-rabbitmq": "^5.3.0",
"@types/chai": "^4.1.7",
"@types/chai-as-promised": "^7.1.0",
"@types/jest": "^24.0.15",
"@types/sinon": "^7.0.13",
"@types/sinon-chai": "^3.2.2",
"@types/supertest": "^2.0.8",
"axios": "^0.19.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"debug-plus": "^1.2.2",
"jest": "^24.8.0",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0",
"supertest": "^4.0.2",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"typedoc": "^0.14.2",
"typedoc-plugin-external-module-name": "^2.1.0",
"typescript": "^3.5.3"
}
}