2022-10-09 11:40:04 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/shared",
|
2023-01-06 03:48:18 -05:00
|
|
|
"version": "1.0.0-beta.18",
|
2022-10-09 11:40:04 -05:00
|
|
|
"main": "lib/index.js",
|
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
|
|
"license": "MPL-2.0",
|
2022-11-20 22:24:02 -05:00
|
|
|
"type": "module",
|
2022-10-09 11:40:04 -05:00
|
|
|
"files": [
|
|
|
|
"lib"
|
|
|
|
],
|
2022-12-12 00:43:23 -05:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": "./lib/index.js"
|
|
|
|
},
|
|
|
|
"./esm": {
|
|
|
|
"import": "./lib/esm/index.js"
|
|
|
|
}
|
|
|
|
},
|
2022-10-19 02:10:50 -05:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
2022-10-09 11:40:04 -05:00
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
|
|
|
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
|
2022-12-11 07:07:21 -05:00
|
|
|
"build:test": "rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
|
2022-10-09 11:40:04 -05:00
|
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
|
|
|
"lint": "eslint --ext .ts src",
|
2022-10-10 10:44:02 -05:00
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2022-10-09 11:40:04 -05:00
|
|
|
"prepack": "pnpm build",
|
2022-12-11 07:07:21 -05:00
|
|
|
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
|
|
"test": "pnpm build:test && pnpm test:only",
|
2022-12-14 12:50:29 -05:00
|
|
|
"test:ci": "pnpm test:only"
|
2022-10-09 11:40:04 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-10-20 21:17:09 -05:00
|
|
|
"@silverhand/eslint-config": "1.3.0",
|
2022-10-13 22:46:33 -05:00
|
|
|
"@silverhand/ts-config": "1.2.1",
|
2022-10-14 01:57:27 -05:00
|
|
|
"@types/jest": "^29.1.2",
|
2023-01-07 07:42:10 -05:00
|
|
|
"@types/node": "^18.11.18",
|
2022-10-09 11:40:04 -05:00
|
|
|
"eslint": "^8.21.0",
|
2022-10-14 01:57:27 -05:00
|
|
|
"jest": "^29.1.2",
|
2022-10-09 11:40:04 -05:00
|
|
|
"lint-staged": "^13.0.0",
|
2022-12-22 03:52:39 -05:00
|
|
|
"prettier": "^2.8.1",
|
2022-12-12 08:15:09 -05:00
|
|
|
"typescript": "^4.9.4"
|
2022-10-09 11:40:04 -05:00
|
|
|
},
|
|
|
|
"engines": {
|
2023-01-07 07:42:10 -05:00
|
|
|
"node": "^18.12.0"
|
2022-10-09 11:40:04 -05:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "@silverhand",
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/ban-types": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
|
|
"dependencies": {
|
2022-12-07 08:39:32 -05:00
|
|
|
"@logto/schemas": "workspace:*",
|
2022-12-26 07:13:05 -05:00
|
|
|
"@silverhand/essentials": "2.1.0",
|
2022-12-13 05:11:51 -05:00
|
|
|
"find-up": "^6.3.0",
|
|
|
|
"nanoid": "^4.0.0",
|
2022-10-09 11:40:04 -05:00
|
|
|
"slonik": "^30.0.0"
|
|
|
|
}
|
|
|
|
}
|