At least on slower machines or when file system caches are not filled, the default 5000 ms are not enough for the tests to finish.
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "@capire/samples",
|
|
"version": "2.0.0",
|
|
"description": "A monorepo with several samples for CAP.",
|
|
"repository": "https://github.com/sap-samples/cloud-cap-samples.git",
|
|
"author": "daniel.hutzel@sap.com",
|
|
"dependencies": {
|
|
"@capire/bookshop": "./bookshop",
|
|
"@capire/common": "./common",
|
|
"@capire/fiori": "./fiori",
|
|
"@capire/hello": "./hello",
|
|
"@capire/media": "./media",
|
|
"@capire/orders": "./orders",
|
|
"@capire/reviews": "./reviews",
|
|
"@sap/cds": "^5.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"cds-swagger-ui-express": "^0.2.0",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"chai-subset": "^1.6.0",
|
|
"sqlite3": "^5.0.0"
|
|
},
|
|
"scripts": {
|
|
"cleanup": "rm -rf node_modules && rm -rf */node_modules && rm -rf */*/node_modules",
|
|
"registry": "node .registry/server.js",
|
|
"bookshop": "cds watch bookshop",
|
|
"fiori": "cds watch fiori",
|
|
"hello": "cds watch hello",
|
|
"media": "cds watch media",
|
|
"mocha": "npx mocha || echo",
|
|
"jest": "npx jest",
|
|
"test": "npm run jest -- --silent",
|
|
"test:hello": "cd hello && npm test"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"testTimeout": 20000,
|
|
"testMatch": [
|
|
"**/*.test.js"
|
|
]
|
|
},
|
|
"mocha": {
|
|
"parallel": true
|
|
},
|
|
"license": "SAP SAMPLE CODE LICENSE",
|
|
"private": true
|
|
}
|