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

69 lines
1.7 KiB
JSON
Raw Normal View History

{
"name": "@logto/shared",
2024-10-25 04:26:36 -05:00
"version": "3.1.2",
"main": "lib/index.js",
"author": "Silverhand Inc. <contact@silverhand.io>",
"license": "MPL-2.0",
2022-11-20 22:24:02 -05:00
"type": "module",
"files": [
"lib"
],
2022-12-12 00:43:23 -05:00
"exports": {
".": {
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./universal": {
"import": "./lib/universal.js",
"types": "./lib/universal.d.ts"
2022-12-12 00:43:23 -05:00
},
"./esm": {
"import": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts"
2022-12-12 00:43:23 -05:00
}
},
2022-10-19 02:10:50 -05:00
"publishConfig": {
"access": "public"
},
"scripts": {
"precommit": "lint-staged",
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
2024-03-28 01:49:15 -05:00
"build:test": "pnpm build",
"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",
"prepack": "pnpm build",
2024-03-28 01:49:15 -05:00
"test": "vitest src",
"test:ci": "pnpm run test --silent --coverage"
},
"devDependencies": {
2024-03-28 01:49:15 -05:00
"@jest/globals": "^29.7.0",
"@silverhand/eslint-config": "6.0.1",
"@silverhand/ts-config": "6.0.0",
"@types/node": "^20.9.5",
"@vitest/coverage-v8": "^2.1.8",
"eslint": "^9.0.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
2024-07-20 09:04:56 -05:00
"typescript": "^5.5.3",
"vitest": "^2.1.8"
},
"engines": {
"node": "^20.9.0"
},
"eslintConfig": {
"extends": "@silverhand",
"rules": {
"@typescript-eslint/ban-types": "off"
}
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"dependencies": {
"@silverhand/essentials": "^2.9.1",
2024-07-12 07:53:42 -05:00
"chalk": "^5.3.0",
"find-up": "^7.0.0",
"libphonenumber-js": "^1.9.49",
"nanoid": "^5.0.9"
}
}