mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
3911f92a22
Co-authored-by: Gao Sun <gao@silverhand.io>
72 lines
2 KiB
JSON
72 lines
2 KiB
JSON
{
|
|
"main": "./lib/index.js",
|
|
"module": "./lib/index.js",
|
|
"exports": "./lib/index.js",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"files": [
|
|
"lib",
|
|
"docs",
|
|
"logo.svg",
|
|
"logo-dark.svg"
|
|
],
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"build:test": "rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
|
|
"build": "rm -rf lib/ && tsc -p tsconfig.build.json --noEmit && rollup -c",
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
|
"lint": "eslint --ext .ts src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
"test": "pnpm build:test && pnpm test:only",
|
|
"test:ci": "pnpm test:only --silent --coverage",
|
|
"prepublishOnly": "pnpm build"
|
|
},
|
|
"dependencies": {
|
|
"@silverhand/essentials": "^2.8.4",
|
|
"got": "^14.0.0",
|
|
"snakecase-keys": "^5.4.4",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/types": "^29.5.0",
|
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
"@rollup/plugin-typescript": "^11.0.0",
|
|
"@silverhand/eslint-config": "5.0.0",
|
|
"@silverhand/ts-config": "5.0.0",
|
|
"@types/jest": "^29.4.0",
|
|
"@types/node": "^20.9.5",
|
|
"@types/supertest": "^2.0.11",
|
|
"eslint": "^8.44.0",
|
|
"jest": "^29.7.0",
|
|
"jest-matcher-specific-error": "^1.0.0",
|
|
"lint-staged": "^15.0.0",
|
|
"nock": "^13.2.2",
|
|
"prettier": "^3.0.0",
|
|
"rollup": "^4.0.0",
|
|
"rollup-plugin-summary": "^2.0.0",
|
|
"supertest": "^6.2.2",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"engines": {
|
|
"node": "^20.9.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand",
|
|
"settings": {
|
|
"import/core-modules": [
|
|
"@silverhand/essentials",
|
|
"got",
|
|
"nock",
|
|
"snakecase-keys",
|
|
"zod"
|
|
]
|
|
}
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|