2022-09-05 19:28:53 +02:00
|
|
|
{
|
|
|
|
"name": "@budibase/qa-core",
|
|
|
|
"email": "hi@budibase.com",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"main": "index.js",
|
|
|
|
"description": "Budibase Integration Test Suite",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/Budibase/budibase.git"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2023-02-17 18:27:17 +01:00
|
|
|
"test": "env-cmd jest --runInBand",
|
2022-09-28 19:31:23 +02:00
|
|
|
"test:watch": "env-cmd jest --watch",
|
2022-09-05 19:28:53 +02:00
|
|
|
"test:debug": "DEBUG=1 jest",
|
2023-02-16 00:43:53 +01:00
|
|
|
"test:notify": "node scripts/testResultsWebhook",
|
2023-03-26 19:05:02 +02:00
|
|
|
"test:ci": "jest --runInBand --json --outputFile=testResults.json --testPathIgnorePatterns=\\\"\\/dataSources\\/\\\"",
|
2022-09-26 00:43:37 +02:00
|
|
|
"docker:up": "docker-compose up -d",
|
|
|
|
"docker:down": "docker-compose down",
|
2023-01-31 19:05:53 +01:00
|
|
|
"api:server:setup": "npm run docker:up && env-cmd ts-node ../packages/builder/ts/setup.ts",
|
|
|
|
"api:server:setup:ci": "env-cmd node ../packages/builder/setup.js",
|
2023-03-31 13:15:24 +02:00
|
|
|
"api:test": "jest --runInBand --json --outputFile=testResults.json",
|
2022-09-05 19:28:53 +02:00
|
|
|
"api:test:ci": "start-server-and-test api:server:setup:ci http://localhost:4100/builder test",
|
2023-03-31 13:15:24 +02:00
|
|
|
"api:test:local": "start-server-and-test api:server:setup http://localhost:4100/builder test"
|
2022-09-05 19:28:53 +02:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"preset": "ts-jest",
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"moduleNameMapper": {
|
2022-09-15 20:51:11 +02:00
|
|
|
"@budibase/types": "<rootDir>/../packages/types/src",
|
2022-09-28 19:21:05 +02:00
|
|
|
"@budibase/server": "<rootDir>/../packages/server/src",
|
2022-10-01 03:54:51 +02:00
|
|
|
"@budibase/backend-core": "<rootDir>/../packages/backend-core/src",
|
|
|
|
"@budibase/backend-core/(.*)": "<rootDir>/../packages/backend-core/$1"
|
2022-09-05 19:28:53 +02:00
|
|
|
},
|
|
|
|
"setupFiles": [
|
|
|
|
"./scripts/jestSetup.js"
|
|
|
|
],
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"./src/jest.extends.ts"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-02-20 11:15:29 +01:00
|
|
|
"@budibase/types": "^2.3.17",
|
2022-09-15 01:58:08 +02:00
|
|
|
"@types/jest": "29.0.0",
|
|
|
|
"@types/node-fetch": "2.6.2",
|
|
|
|
"chance": "1.1.8",
|
2022-09-15 21:09:23 +02:00
|
|
|
"env-cmd": "^10.1.0",
|
2022-11-14 23:55:47 +01:00
|
|
|
"jest": "28.1.1",
|
2022-09-15 01:58:08 +02:00
|
|
|
"prettier": "2.7.1",
|
|
|
|
"start-server-and-test": "1.14.0",
|
|
|
|
"timekeeper": "2.2.0",
|
2022-09-05 19:28:53 +02:00
|
|
|
"ts-jest": "28.0.8",
|
2022-11-14 14:29:46 +01:00
|
|
|
"ts-node": "10.8.1",
|
|
|
|
"tsconfig-paths": "4.0.0",
|
2022-09-15 01:58:08 +02:00
|
|
|
"typescript": "4.7.3"
|
2022-09-05 19:28:53 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-02-20 11:15:29 +01:00
|
|
|
"@budibase/backend-core": "^2.3.17",
|
2022-09-30 16:35:13 +02:00
|
|
|
"form-data": "^4.0.0",
|
2022-09-05 19:28:53 +02:00
|
|
|
"node-fetch": "2"
|
|
|
|
}
|
2023-02-20 11:15:29 +01:00
|
|
|
}
|