mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
108 lines
3.3 KiB
JSON
108 lines
3.3 KiB
JSON
{
|
|
"name": "@logto/core",
|
|
"version": "0.1.0",
|
|
"description": "The open source identity solution.",
|
|
"main": "build/index.js",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"license": "MPL-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"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": "^0.1.0",
|
|
"@logto/connector-aliyun-dm": "^0.1.0",
|
|
"@logto/connector-aliyun-sms": "^0.1.0",
|
|
"@logto/connector-facebook": "^0.1.0",
|
|
"@logto/connector-github": "^0.1.0",
|
|
"@logto/connector-google": "^0.1.0",
|
|
"@logto/connector-types": "^0.1.0",
|
|
"@logto/connector-wechat": "^0.1.0",
|
|
"@logto/connector-wechat-native": "^0.1.0",
|
|
"@logto/phrases": "^0.1.0",
|
|
"@logto/schemas": "^0.1.0",
|
|
"@silverhand/essentials": "^1.1.6",
|
|
"argon2": "^0.28.5",
|
|
"chalk": "^4",
|
|
"dayjs": "^1.10.5",
|
|
"decamelize": "^5.0.0",
|
|
"deepmerge": "^4.2.2",
|
|
"dotenv": "^16.0.0",
|
|
"got": "^11.8.2",
|
|
"i18next": "^21.0.0",
|
|
"iconv-lite": "0.6.3",
|
|
"inquirer": "^8.2.2",
|
|
"jose": "^4.0.0",
|
|
"koa": "^2.13.1",
|
|
"koa-body": "^5.0.0",
|
|
"koa-logger": "^3.2.1",
|
|
"koa-mount": "^4.0.0",
|
|
"koa-proxies": "^0.12.1",
|
|
"koa-router": "^10.0.0",
|
|
"koa-static": "^5.0.0",
|
|
"lodash.pick": "^4.4.0",
|
|
"module-alias": "^2.2.2",
|
|
"nanoid": "^3.1.23",
|
|
"oidc-provider": "^7.10.0",
|
|
"p-retry": "^4.6.1",
|
|
"query-string": "^7.0.1",
|
|
"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": {
|
|
"@silverhand/jest-config": "^0.13.0",
|
|
"@shopify/jest-koa-mocks": "^3.0.8",
|
|
"@silverhand/eslint-config": "^0.12.0",
|
|
"@silverhand/ts-config": "^0.12.0",
|
|
"@types/inquirer": "^8.2.1",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/koa": "^2.13.3",
|
|
"@types/koa-logger": "^3.1.1",
|
|
"@types/koa-mount": "^4.0.0",
|
|
"@types/koa-static": "^4.0.2",
|
|
"@types/lodash.pick": "^4.4.6",
|
|
"@types/node": "^16.3.1",
|
|
"@types/oidc-provider": "^7.8.0",
|
|
"@types/supertest": "^2.0.11",
|
|
"copyfiles": "^2.4.1",
|
|
"eslint": "^8.10.0",
|
|
"jest": "^27.5.1",
|
|
"jest-matcher-specific-error": "^1.0.0",
|
|
"lint-staged": "^12.0.0",
|
|
"nock": "^13.2.2",
|
|
"openapi-types": "^11.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"
|
|
}
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|