0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/core/package.json
simeng-li aafc258ad9
ci(codecov): add jest coverage report (#167)
* ci(codecov): add jest coverage report

add coverage report on core and ui project
add codecov uploader job

* ci: add report upload github workflow action

add report upload github workflow action

* ci: fix ci replace github test actions with test:report

 fix ci replace github test actions with test:report
2022-01-10 10:04:00 +08:00

83 lines
2.3 KiB
JSON

{
"name": "@logto/core",
"version": "0.1.0",
"description": "The open source identity solution.",
"main": "build/index.js",
"author": "Logto",
"license": "MPL-2.0",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"precommit": "lint-staged",
"build": "rm -rf build/ && tsc -p tsconfig.build.json",
"lint": "eslint --ext .ts src",
"dev": "rm -rf build/ && 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/phrases": "^0.1.0",
"@logto/schemas": "^0.1.0",
"@silverhand/essentials": "^1.1.0",
"dayjs": "^1.10.5",
"decamelize": "^5.0.0",
"dotenv": "^10.0.0",
"formidable": "^1.2.2",
"got": "^11.8.2",
"i18next": "^20.3.5",
"jose": "^3.14.3",
"koa": "^2.13.1",
"koa-body": "^4.2.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",
"slonik": "^23.8.3",
"slonik-interceptor-preset": "^1.2.10",
"snakecase-keys": "^5.1.0",
"zod": "^3.8.1"
},
"devDependencies": {
"@shopify/jest-koa-mocks": "^3.0.8",
"@silverhand/eslint-config": "^0.4.0",
"@silverhand/ts-config": "^0.4.0",
"@types/jest": "^27.0.1",
"@types/koa": "^2.13.3",
"@types/koa-logger": "^3.1.1",
"@types/koa-mount": "^4.0.0",
"@types/koa-router": "^7.4.4",
"@types/koa-static": "^4.0.2",
"@types/lodash.pick": "^4.4.6",
"@types/node": "^16.3.1",
"@types/oidc-provider": "^7.8.0",
"codecov": "^3.8.3",
"eslint": "^8.1.0",
"jest": "^27.0.6",
"jest-matcher-specific-error": "^1.0.0",
"lint-staged": "^11.1.1",
"openapi-types": "^9.1.0",
"prettier": "^2.3.2",
"ts-jest": "^27.0.5",
"tsc-watch": "^4.4.0",
"typescript": "^4.3.5"
},
"engines": {
"node": ">=14.15.0"
},
"_moduleAliases": {
"@": "./build"
},
"eslintConfig": {
"extends": "@silverhand"
},
"prettier": "@silverhand/eslint-config/.prettierrc"
}