2022-05-17 16:59:57 +08:00
|
|
|
{
|
|
|
|
"name": "@logto/integration-tests",
|
2023-05-23 21:42:01 +08:00
|
|
|
"version": "1.2.0",
|
2022-05-17 16:59:57 +08:00
|
|
|
"description": "Integration tests for Logto.",
|
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
|
|
"license": "MPL-2.0",
|
|
|
|
"private": true,
|
2022-12-12 21:15:09 +08:00
|
|
|
"type": "module",
|
|
|
|
"imports": {
|
|
|
|
"#src/*": "./lib/*"
|
|
|
|
},
|
2022-05-17 16:59:57 +08:00
|
|
|
"scripts": {
|
2022-12-12 21:15:09 +08:00
|
|
|
"build": "rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
|
|
|
|
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
2023-05-26 17:38:09 +08:00
|
|
|
"test": "pnpm build && pnpm test:api && pnpm test:api-cloud && pnpm test:ui",
|
2023-03-06 13:45:14 +08:00
|
|
|
"test:api": "pnpm test:only -i ./lib/tests/api/",
|
2023-05-26 17:38:09 +08:00
|
|
|
"test:api-cloud": "pnpm test:only -i ./lib/tests/api-cloud/",
|
2023-03-06 13:45:14 +08:00
|
|
|
"test:ui": "pnpm test:only -i --config=jest.config.ui.js ./lib/tests/ui/",
|
|
|
|
"test:ui-cloud": "pnpm test:only -i --config=jest.config.ui.js ./lib/tests/ui-cloud/",
|
2022-12-12 21:52:17 +08:00
|
|
|
"lint": "eslint --ext .ts src",
|
2022-05-17 16:59:57 +08:00
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2022-08-12 18:07:16 +08:00
|
|
|
"start": "pnpm test"
|
2022-05-17 16:59:57 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-05-22 13:31:45 +08:00
|
|
|
"@jest/test-sequencer": "^29.5.0",
|
2022-10-14 14:57:27 +08:00
|
|
|
"@jest/types": "^29.1.2",
|
2023-04-17 18:10:14 +08:00
|
|
|
"@logto/connector-kit": "workspace:^1.1.0",
|
2023-06-01 17:01:00 +08:00
|
|
|
"@logto/js": "^2.1.1",
|
|
|
|
"@logto/node": "^2.1.1",
|
2023-05-23 21:42:01 +08:00
|
|
|
"@logto/schemas": "workspace:^1.4.0",
|
2023-05-30 10:50:06 +08:00
|
|
|
"@logto/shared": "workspace:^2.0.0",
|
2023-04-07 16:17:14 +00:00
|
|
|
"@silverhand/eslint-config": "3.0.1",
|
2023-03-18 13:02:51 +08:00
|
|
|
"@silverhand/essentials": "^2.5.0",
|
2023-03-24 16:28:36 +00:00
|
|
|
"@silverhand/ts-config": "3.0.0",
|
2023-03-06 17:44:48 +08:00
|
|
|
"@types/expect-puppeteer": "^5.0.3",
|
2023-03-07 14:54:57 +08:00
|
|
|
"@types/jest": "^29.4.0",
|
2023-03-06 17:44:48 +08:00
|
|
|
"@types/jest-environment-puppeteer": "^5.0.3",
|
2023-01-07 20:42:10 +08:00
|
|
|
"@types/node": "^18.11.18",
|
2022-07-27 10:09:13 +08:00
|
|
|
"dotenv": "^16.0.0",
|
2023-02-16 23:49:03 +08:00
|
|
|
"eslint": "^8.34.0",
|
2022-12-12 21:15:09 +08:00
|
|
|
"got": "^12.5.3",
|
2023-03-07 14:54:57 +08:00
|
|
|
"jest": "^29.5.0",
|
2023-06-01 12:37:59 +08:00
|
|
|
"jest-puppeteer": "^9.0.0",
|
2022-12-13 18:11:51 +08:00
|
|
|
"node-fetch": "^3.3.0",
|
2022-07-07 20:52:34 +08:00
|
|
|
"openapi-schema-validator": "^12.0.0",
|
|
|
|
"openapi-types": "^12.0.0",
|
2023-02-16 23:49:03 +08:00
|
|
|
"prettier": "^2.8.2",
|
2023-06-01 12:37:59 +08:00
|
|
|
"puppeteer": "^20.0.0",
|
2022-06-16 13:00:01 +08:00
|
|
|
"text-encoder": "^0.0.4",
|
2023-03-21 19:37:51 +08:00
|
|
|
"typescript": "^5.0.0"
|
2022-05-17 16:59:57 +08:00
|
|
|
},
|
2022-11-06 00:29:28 +08:00
|
|
|
"engines": {
|
2023-01-07 20:42:10 +08:00
|
|
|
"node": "^18.12.0"
|
2022-11-06 00:29:28 +08:00
|
|
|
},
|
2022-05-17 16:59:57 +08:00
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "@silverhand"
|
|
|
|
},
|
2023-04-08 10:01:53 +00:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
2022-05-17 16:59:57 +08:00
|
|
|
}
|