0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/core/package.json

122 lines
3.6 KiB
JSON
Raw Normal View History

2021-06-06 05:30:37 -05:00
{
2021-07-25 09:28:42 -05:00
"name": "@logto/core",
2023-01-01 06:55:54 -05:00
"version": "1.0.0-beta.18",
2021-06-19 11:07:11 -05:00
"description": "The open source identity solution.",
"main": "build/index.js",
2022-04-24 22:26:41 -05:00
"author": "Silverhand Inc. <contact@silverhand.io>",
2021-08-11 09:12:36 -05:00
"license": "MPL-2.0",
2022-11-21 03:38:24 -05:00
"type": "module",
2021-06-19 11:07:11 -05:00
"private": true,
2022-11-21 06:18:32 -05:00
"imports": {
"#src/*": "./build/*"
},
2021-06-06 05:30:37 -05:00
"scripts": {
2021-07-25 09:27:51 -05:00
"precommit": "lint-staged",
"copyfiles": "copyfiles -u 1 src/**/*.md build",
"build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm run copyfiles",
2022-12-12 00:43:23 -05:00
"build:test": "rm -rf build/ && tsc -p tsconfig.test.json --sourcemap",
"lint": "eslint --ext .ts src",
2022-05-05 05:26:30 -05:00
"lint:report": "pnpm lint --format json --output-file report.json",
"dev": "rm -rf build/ && pnpm run copyfiles && nodemon",
2021-08-20 01:53:23 -05:00
"start": "NODE_ENV=production node build/index.js",
2022-12-12 00:43:23 -05:00
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
2022-12-11 07:07:21 -05:00
"test": "pnpm build:test && pnpm test:only",
2022-12-14 12:50:29 -05:00
"test:ci": "pnpm test:only --coverage --silent",
"test:report": "codecov -F core"
2021-06-06 05:30:37 -05:00
},
"dependencies": {
"@logto/cli": "workspace:*",
2022-12-14 00:23:59 -05:00
"@logto/connector-kit": "workspace:*",
"@logto/core-kit": "workspace:*",
"@logto/language-kit": "workspace:*",
"@logto/phrases": "workspace:*",
"@logto/phrases-ui": "workspace:*",
"@logto/schemas": "workspace:*",
"@logto/shared": "workspace:*",
"@silverhand/essentials": "2.1.0",
2022-12-19 23:14:15 -05:00
"@withtyped/postgres": "^0.3.1",
"@withtyped/server": "^0.3.1",
"chalk": "^5.0.0",
"clean-deep": "^3.4.0",
2022-11-07 01:33:47 -05:00
"date-fns": "^2.29.3",
2022-12-13 05:11:51 -05:00
"decamelize": "^6.0.0",
"deepmerge": "^4.2.2",
"dotenv": "^16.0.0",
"etag": "^1.8.1",
2022-12-13 05:11:51 -05:00
"find-up": "^6.3.0",
2022-12-22 00:50:49 -05:00
"got": "^12.5.3",
"hash-wasm": "^4.9.0",
2022-08-05 11:47:58 -05:00
"i18next": "^21.8.16",
"iconv-lite": "0.6.3",
2022-11-21 03:38:24 -05:00
"jose": "^4.11.0",
"js-yaml": "^4.1.0",
2021-06-19 09:53:34 -05:00
"koa": "^2.13.1",
"koa-body": "^5.0.0",
"koa-compose": "^4.1.0",
2021-06-25 12:39:02 -05:00
"koa-logger": "^3.2.1",
2021-06-19 09:53:34 -05:00
"koa-mount": "^4.0.0",
2021-07-04 02:01:02 -05:00
"koa-proxies": "^0.12.1",
"koa-router": "^12.0.0",
"koa-send": "^5.0.1",
2022-12-13 05:11:51 -05:00
"nanoid": "^4.0.0",
2022-11-05 11:16:40 -05:00
"oidc-provider": "^7.13.0",
2022-12-13 05:11:51 -05:00
"p-retry": "^5.1.2",
2022-04-26 01:07:28 -05:00
"roarr": "^7.11.0",
"semver": "^7.3.8",
"slonik": "^30.0.0",
"slonik-interceptor-preset": "^1.2.10",
2022-04-26 01:07:28 -05:00
"slonik-sql-tag-raw": "^1.1.4",
"snake-case": "^3.0.4",
2022-11-21 03:38:24 -05:00
"snakecase-keys": "^5.4.4",
2022-12-14 00:23:59 -05:00
"zod": "^3.20.2"
2021-06-06 05:30:37 -05:00
},
"devDependencies": {
"@silverhand/eslint-config": "1.3.0",
"@silverhand/ts-config": "1.2.1",
"@types/debug": "^4.1.7",
"@types/etag": "^1.8.1",
"@types/fs-extra": "^9.0.13",
"@types/http-errors": "^1.8.2",
2022-10-14 01:57:27 -05:00
"@types/jest": "^29.1.2",
"@types/js-yaml": "^4.0.5",
2021-06-06 05:30:37 -05:00
"@types/koa": "^2.13.3",
"@types/koa-compose": "^3.2.5",
2021-06-25 12:39:02 -05:00
"@types/koa-logger": "^3.1.1",
2021-06-19 09:53:34 -05:00
"@types/koa-mount": "^4.0.0",
"@types/koa-send": "^4.1.3",
2022-10-13 01:39:09 -05:00
"@types/node": "^16.0.0",
2022-11-05 11:16:40 -05:00
"@types/oidc-provider": "^7.12.0",
"@types/semver": "^7.3.12",
2022-12-12 00:43:23 -05:00
"@types/sinon": "^10.0.13",
"@types/supertest": "^2.0.11",
"copyfiles": "^2.4.1",
"eslint": "^8.21.0",
"http-errors": "^1.6.3",
2022-10-14 01:57:27 -05:00
"jest": "^29.1.2",
"jest-matcher-specific-error": "^1.0.0",
"lint-staged": "^13.0.0",
2022-12-12 00:43:23 -05:00
"node-mocks-http": "^1.12.1",
"nodemon": "^2.0.19",
"openapi-types": "^12.0.0",
"prettier": "^2.8.1",
2022-12-12 00:43:23 -05:00
"sinon": "^15.0.0",
"supertest": "^6.2.2",
2022-12-12 08:15:09 -05:00
"typescript": "^4.9.4"
2021-06-19 09:53:34 -05:00
},
"engines": {
2022-11-05 11:29:28 -05:00
"node": "^16.13.0 || ^18.12.0"
2021-06-27 12:21:57 -05:00
},
"eslintConfig": {
"extends": "@silverhand",
"rules": {
"complexity": [
"error",
11
],
2022-12-16 00:54:37 -05:00
"default-case": "off",
"import/extensions": "off"
}
},
2021-09-16 03:54:32 -05:00
"prettier": "@silverhand/eslint-config/.prettierrc"
2021-06-06 05:30:37 -05:00
}