forked from mojaloop/pisp-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 4.05 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
{
"name": "@mojaloop/pisp",
"version": "0.1.0",
"description": "Mojaloop PISP project",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"pretest": "npm run build",
"standard": "echo '\\033[1;33m This project uses eslint instead of standard. Use `npm run lint` instead.'",
"lint": "eslint ./src/**/*.ts *.js",
"build": "tsc",
"bundle:openapi": "swagger-cli bundle -o ./src/interface/api.yaml -t yaml ./src/interface/api-template.yaml",
"validate:openapi": "swagger-cli validate ./src/interface/api.yaml",
"move:openapi": "cp ./src/interface/api.yaml ./docker-contract/ml-testing-toolkit/spec_files/api_definitions/thirdparty_pisp/api_spec.yaml",
"warning:openapi": "sed -i '1s;^;# DO NOT EDIT THIS FILE DIRECTLY!!!! INSTEAD, EDIT /src/interface/api-template.yaml and run `npm run build:openapi` TO UPDATE THIS FILE\\n;' ./docker-contract/ml-testing-toolkit/spec_files/api_definitions/thirdparty_pisp/api_spec.yaml",
"build:openapi": "npm run bundle:openapi && npm run validate:openapi && npm run move:openapi && npm run warning:openapi",
"bundle:openapi:pisp": "swagger-cli bundle -o ./src/interface/thirdparty-pisp-api.yaml -t yaml ./src/interface/thirdparty-pisp-api-template.yaml",
"validate:openapi:pisp": "swagger-cli validate ./src/interface/thirdparty-pisp-api.yaml",
"build:openapi:pisp": "npm run bundle:openapi:pisp && npm run validate:openapi:pisp",
"bundle:openapi:dfsp": "swagger-cli bundle -o ./src/interface/thirdparty-dfsp-api.yaml -t yaml ./src/interface/thirdparty-dfsp-api-template.yaml",
"validate:openapi:dfsp": "swagger-cli validate ./src/interface/thirdparty-dfsp-api.yaml",
"build:openapi:dfsp": "npm run bundle:openapi:dfsp && npm run validate:openapi:dfsp",
"watch": "tsc -w",
"reseed": "echo \"seeding test environment\" && ./docker-local/postman/scripts/_00_seed_all.sh",
"wait-4-docker": "node ./scripts/_wait4_all.js",
"test": "npm run test:unit",
"test:bdd": "jest --testMatch '**/test/step-definitions/**/*.step.ts'",
"test:e2e": "jest --runInBand --testMatch '**/test/e2e/**/*.(test|spec).ts'",
"test:contract": "jest --testMatch '**/test/contract/**/*.(test|spec).ts'",
"test:coverage": "jest --coverage --coverageThreshold='{}'",
"test:coverage-check": "jest --coverage",
"test:junit": "jest --reporters=default --reporters=jest-junit",
"test:unit": "jest --testMatch '**/test/unit/**/*.(test|spec).ts'",
"docker:clean:all": "docker rm -f $(docker ps -a -q); docker volume rm (docker volume ls -q)"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test:unit",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mojaloop/pisp.git"
},
"keywords": [
"metrics",
"central",
"services"
],
"author": "lewisdaly",
"contributors": [
"Lewis Daly <[email protected]>",
"Paweł Marzec <[email protected]>"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/mojaloop/pisp/issues"
},
"homepage": "https://github.com/mojaloop/pisp#readme",
"dependencies": {
"axios": "^0.19.2"
},
"devDependencies": {
"@mojaloop/api-snippets": "11.0.16",
"@types/jest": "25.2.2",
"@typescript-eslint/eslint-plugin": "1.13.0",
"@typescript-eslint/parser": "1.13.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.0.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-cucumber": "^1.4.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"husky": "^4.2.5",
"jest": "26.0.1",
"jest-cucumber": "^2.0.11",
"jest-junit": "10.0.0",
"lint-staged": "^10.2.3",
"newman": "^5.0.1",
"source-map-support": "0.5.12",
"swagger-cli": "^4.0.3",
"ts-jest": "^26.0.0",
"ts-node": "8.3.0",
"typescript": "3.9.2"
}
}