mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
123 lines
3.9 KiB
JSON
123 lines
3.9 KiB
JSON
{
|
|
"name": "@logto/core",
|
|
"version": "1.0.0-beta.0",
|
|
"description": "The open source identity solution.",
|
|
"main": "build/index.js",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"license": "MPL-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"copyfiles": "copyfiles -u 1 src/**/*.md build",
|
|
"build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm run copyfiles",
|
|
"lint": "eslint --ext .ts src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"dev": "rm -rf build/ && pnpm run copyfiles && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./build/index.js\"",
|
|
"start": "NODE_ENV=production node build/index.js",
|
|
"test": "jest",
|
|
"test:coverage": "jest --coverage --silent",
|
|
"test:report": "codecov -F core"
|
|
},
|
|
"dependencies": {
|
|
"@logto/connector-alipay-web": "^1.0.0-beta.0",
|
|
"@logto/connector-alipay-native": "^1.0.0-beta.0",
|
|
"@logto/connector-aliyun-dm": "^1.0.0-beta.0",
|
|
"@logto/connector-aliyun-sms": "^1.0.0-beta.0",
|
|
"@logto/connector-apple": "^1.0.0-beta.0",
|
|
"@logto/connector-facebook": "^1.0.0-beta.0",
|
|
"@logto/connector-github": "^1.0.0-beta.0",
|
|
"@logto/connector-google": "^1.0.0-beta.0",
|
|
"@logto/connector-sendgrid-email": "^1.0.0-beta.0",
|
|
"@logto/connector-smtp": "^1.0.0-beta.0",
|
|
"@logto/connector-twilio-sms": "^1.0.0-beta.0",
|
|
"@logto/connector-types": "^1.0.0-beta.0",
|
|
"@logto/connector-wechat-web": "^1.0.0-beta.0",
|
|
"@logto/connector-wechat-native": "^1.0.0-beta.0",
|
|
"@logto/phrases": "^1.0.0-beta.0",
|
|
"@logto/schemas": "^1.0.0-beta.0",
|
|
"@logto/shared": "^1.0.0-beta.0",
|
|
"@silverhand/essentials": "^1.1.6",
|
|
"argon2": "^0.28.5",
|
|
"chalk": "^4",
|
|
"dayjs": "^1.10.5",
|
|
"debug": "^4.3.4",
|
|
"decamelize": "^5.0.0",
|
|
"deepmerge": "^4.2.2",
|
|
"dotenv": "^16.0.0",
|
|
"etag": "^1.8.1",
|
|
"got": "^11.8.2",
|
|
"i18next": "^21.0.0",
|
|
"iconv-lite": "0.6.3",
|
|
"inquirer": "^8.2.2",
|
|
"jose": "^4.0.0",
|
|
"js-yaml": "^4.1.0",
|
|
"koa": "^2.13.1",
|
|
"koa-body": "^5.0.0",
|
|
"koa-compose": "^4.1.0",
|
|
"koa-logger": "^3.2.1",
|
|
"koa-mount": "^4.0.0",
|
|
"koa-proxies": "^0.12.1",
|
|
"koa-router": "^11.0.0",
|
|
"koa-send": "^5.0.1",
|
|
"lodash.pick": "^4.4.0",
|
|
"module-alias": "^2.2.2",
|
|
"nanoid": "^3.1.23",
|
|
"oidc-provider": "^7.11.3",
|
|
"p-retry": "^4.6.1",
|
|
"query-string": "^7.0.1",
|
|
"resolve-package-path": "^4.0.3",
|
|
"roarr": "^7.11.0",
|
|
"slonik": "^28.0.0",
|
|
"slonik-interceptor-preset": "^1.2.10",
|
|
"slonik-sql-tag-raw": "^1.1.4",
|
|
"snakecase-keys": "^5.1.0",
|
|
"zod": "^3.14.3"
|
|
},
|
|
"devDependencies": {
|
|
"@shopify/jest-koa-mocks": "^5.0.0",
|
|
"@silverhand/eslint-config": "^0.16.2",
|
|
"@silverhand/jest-config": "^0.16.2",
|
|
"@silverhand/ts-config": "^0.16.2",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/etag": "^1.8.1",
|
|
"@types/inquirer": "^8.2.1",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/koa": "^2.13.3",
|
|
"@types/koa-compose": "^3.2.5",
|
|
"@types/koa-logger": "^3.1.1",
|
|
"@types/koa-mount": "^4.0.0",
|
|
"@types/koa-send": "^4.1.3",
|
|
"@types/lodash.pick": "^4.4.6",
|
|
"@types/node": "^16.3.1",
|
|
"@types/oidc-provider": "^7.11.1",
|
|
"@types/supertest": "^2.0.11",
|
|
"copyfiles": "^2.4.1",
|
|
"eslint": "^8.19.0",
|
|
"jest": "^27.5.1",
|
|
"jest-matcher-specific-error": "^1.0.0",
|
|
"lint-staged": "^13.0.0",
|
|
"nock": "^13.2.2",
|
|
"openapi-types": "^12.0.0",
|
|
"prettier": "^2.3.2",
|
|
"snake-case": "^3.0.4",
|
|
"supertest": "^6.2.2",
|
|
"ts-jest": "^27.1.1",
|
|
"tsc-watch": "^5.0.0",
|
|
"typescript": "^4.6.2"
|
|
},
|
|
"engines": {
|
|
"node": "^16.0.0"
|
|
},
|
|
"_moduleAliases": {
|
|
"@": "./build"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand",
|
|
"rules": {
|
|
"complexity": "off",
|
|
"no-restricted-syntax": "off"
|
|
}
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|