forked from sapmentors/cds-pg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.78 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
{
"name": "cds-pg",
"version": "0.0.41",
"description": "PostgreSQL adapter for SAP CDS (CAP)",
"main": "index.js",
"scripts": {
"test": "run-s test:pg:up jest test:pg:down",
"jest": "jest --runInBand --silent",
"test:pg:up-nobg": "docker-compose -f __tests__/__assets__/cap-proj/stack.yml up",
"test:pg:up": "docker-compose -f __tests__/__assets__/cap-proj/stack.yml up -d",
"test:pg:down": "docker-compose -f __tests__/__assets__/cap-proj/stack.yml down",
"test:as-sqlite": "cd __tests__/__assets__/cap-proj && cds deploy -2 sqlite::memory: --no-save && cds serve all --in-memory",
"test:as-pg": "cd __tests__/__assets__/cap-proj && cp default-env-template.json default-env.json && cp as-pg-package.json package.json && cds serve all",
"lint": "prettier -c . && eslint '*.{js,ts,tsx}'",
"release": "standard-version",
"deploy:cf": "run-s _build:cf _deploy:cf",
"_build:cf": "cd __tests__/__assets__/cap-proj && cp as-scp-package.json package.json && mbt build",
"_deploy:cf": "cd __tests__/__assets__/cap-proj && cf deploy mta_archives/cap-proj_*.mtar --version-rule ALL"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sapmentors/cds-pg.git"
},
"bin": {
"cds-pg": "bin/cds-pg.js"
},
"keywords": [
"sap",
"cap",
"cds",
"PostgreSQL",
"postgres"
],
"author": "SAP Mentors & Friends",
"license": "MIT",
"bugs": {
"url": "https://github.com/sapmentors/cds-pg/issues"
},
"homepage": "https://github.com/sapmentors/cds-pg#readme",
"dependencies": {
"@sap/cds": "~4.4",
"pg": "^8.5.1",
"pg-format": "^1.0.4",
"moment": "^2.29.1"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/jest": "^26.0.17",
"copyfiles": "^2.4.1",
"dotenv": "^8.2.0",
"eslint": "^7.15.0",
"eslint-plugin-jest": "^24.1.3",
"express": "^4.17.1",
"husky": "^4.3.5",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"mbt": "^1.0.16",
"npm-run-all": "^4.1.5",
"prettier": "2.2.1",
"sqlite3": "^5.0.0",
"standard-version": "^9.0.0",
"supertest": "^6.0.1",
"uuidv4": "^6.2.5"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.(js|json)": [
"prettier --write"
],
"*.js": "eslint --cache --fix"
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/__tests__/__assets__/"
],
"testRegex": "/__tests__/.*(\\.|/)(test|spec)\\.[jt]sx?$",
"testTimeout": 10000
},
"prettier": {
"semi": false,
"printWidth": 120,
"arrowParens": "always",
"trailingComma": "es5",
"singleQuote": true
}
}