0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/toolkit/core-kit/package.json
2024-05-31 23:48:43 +08:00

83 lines
2.2 KiB
JSON

{
"name": "@logto/core-kit",
"version": "2.5.0",
"author": "Silverhand Inc. <contact@silverhand.io>",
"homepage": "https://github.com/logto-io/toolkit#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/logto-io/toolkit.git"
},
"license": "MPL-2.0",
"type": "module",
"main": "./lib/index.js",
"exports": {
".": {
"default": "./lib/index.js",
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
},
"./declaration": "./declaration/index.ts",
"./scss/*": "./scss/*.scss",
"./custom-jwt": {
"node": "./lib/custom-jwt/index.js",
"types": "./lib/custom-jwt/index.d.ts"
}
},
"types": "./lib/index.d.ts",
"files": [
"declaration",
"lib",
"scss"
],
"scripts": {
"precommit": "lint-staged",
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
"build:test": "pnpm build",
"lint": "eslint --ext .ts src",
"lint:report": "pnpm lint --format json --output-file report.json",
"prepack": "pnpm build",
"stylelint": "stylelint \"scss/**/*.scss\"",
"test": "vitest src",
"test:ci": "pnpm run test --silent --coverage"
},
"engines": {
"node": "^20.9.0"
},
"dependencies": {
"@logto/language-kit": "workspace:^1.1.0",
"@logto/shared": "workspace:^3.1.0",
"@silverhand/essentials": "^2.9.1",
"color": "^4.2.3"
},
"optionalDependencies": {
"zod": "^3.22.4"
},
"devDependencies": {
"@silverhand/eslint-config": "6.0.1",
"@silverhand/eslint-config-react": "6.0.2",
"@silverhand/ts-config": "6.0.0",
"@silverhand/ts-config-react": "6.0.0",
"@types/color": "^3.0.3",
"@types/node": "^20.9.5",
"@types/react": "^18.0.31",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.56.0",
"lint-staged": "^15.0.0",
"postcss": "^8.4.31",
"prettier": "^3.0.0",
"stylelint": "^15.0.0",
"typescript": "^5.3.3",
"vitest": "^1.4.0"
},
"eslintConfig": {
"extends": "@silverhand"
},
"stylelint": {
"extends": "@silverhand/eslint-config-react/.stylelintrc"
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"publishConfig": {
"access": "public"
}
}