0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/integration-tests/package.json
simeng-li e7a642028d
feat(schemas): define data hook events (#5828)
* feat(schemas): define data hook events

define data hook events

* fix(schemas,core): fix the type error

fix the type error

* fix(core): fix unit test

fix unit test

* feat(test): add integration tests for DataHooks

add integration tests for DataHooks

* fix(test): fix ut of management api hook middleware
fix ut of the management api hook middleware

* refactor(test,core,schemas): refactor some DataHook definiations

refactor some DataHook definitations

* chore(test): remove upper scope describe wrap

remove upper scope describe wrap

* fix(test): fix tests

fix tests

* refactor(schemas): rename the info.update events

rename the info.update events

* refactor(schemas): rename

rename

* refactor(core,schemas): refactor DataHook code

refactor DataHook code to address some code review comments

* fix(test): fix ut

fix ut

* fix(schemas): update DataHookEventPayload type

update DataHookEventPayload type

* chore(schemas): update comments

update comments
2024-05-13 16:11:50 +08:00

64 lines
2 KiB
JSON

{
"name": "@logto/integration-tests",
"version": "1.6.0",
"description": "Integration tests for Logto.",
"author": "Silverhand Inc. <contact@silverhand.io>",
"license": "MPL-2.0",
"private": true,
"type": "module",
"imports": {
"#src/*": "./lib/*"
},
"scripts": {
"build": "rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
"test": "pnpm build && pnpm test:api && pnpm test:experience && pnpm test:console",
"test:api": "pnpm test:only -i ./lib/tests/api/",
"test:experience": "pnpm test:only -i --config=jest.config.ui.js ./lib/tests/experience/",
"test:console": "pnpm test:only -i --config=jest.config.ui.js ./lib/tests/console/",
"lint": "eslint --ext .ts src",
"lint:report": "pnpm lint --format json --output-file report.json",
"start": "pnpm test"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@jest/test-sequencer": "^29.5.0",
"@jest/types": "^29.1.2",
"@logto/connector-kit": "workspace:^3.0.0",
"@logto/core-kit": "workspace:^",
"@logto/js": "^4.1.1",
"@logto/node": "^2.4.7",
"@logto/schemas": "workspace:^1.15.0",
"@logto/shared": "workspace:^3.1.0",
"@silverhand/eslint-config": "6.0.1",
"@silverhand/essentials": "^2.9.0",
"@silverhand/ts-config": "6.0.0",
"@types/jest": "^29.4.0",
"@types/node": "^20.9.5",
"dotenv": "^16.0.0",
"eslint": "^8.56.0",
"expect-puppeteer": "^10.0.0",
"jest": "^29.7.0",
"jest-matcher-specific-error": "^1.0.0",
"jest-puppeteer": "^10.0.1",
"jose": "^5.0.0",
"ky": "^1.2.3",
"openapi-schema-validator": "^12.1.3",
"openapi-types": "^12.1.3",
"prettier": "^3.0.0",
"puppeteer": "^22.6.5",
"text-encoder": "^0.0.4",
"typescript": "^5.3.3",
"zod": "^3.22.4"
},
"engines": {
"node": "^20.9.0"
},
"eslintConfig": {
"extends": "@silverhand"
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"dependencies": {
"otplib": "^12.0.1"
}
}