mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
e5dc687ee8
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"name": "@logto/core-kit",
|
|
"version": "1.0.0-beta.29",
|
|
"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.cjs",
|
|
"exports": {
|
|
"types": "./lib/index.d.ts",
|
|
"import": "./lib/index.js",
|
|
"require": "./lib/index.cjs"
|
|
},
|
|
"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/ && rollup -c && tsc -p tsconfig.build.json",
|
|
"build:test": "pnpm build -p tsconfig.test.json --sourcemap",
|
|
"lint": "eslint --ext .ts src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"prepack": "pnpm build",
|
|
"stylelint": "stylelint \"scss/**/*.scss\"",
|
|
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
"test": "pnpm build:test && pnpm test:only",
|
|
"test:ci": "pnpm test:only",
|
|
"test:coverage": "pnpm test:only --silent --coverage"
|
|
},
|
|
"engines": {
|
|
"node": "^16.13.0 || ^18.12.0"
|
|
},
|
|
"dependencies": {
|
|
"@logto/language-kit": "workspace:*",
|
|
"color": "^4.2.3",
|
|
"nanoid": "^4.0.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"zod": "^3.20.2"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/types": "^29.0.3",
|
|
"@rollup/plugin-typescript": "^10.0.1",
|
|
"@silverhand/eslint-config": "1.3.0",
|
|
"@silverhand/eslint-config-react": "1.3.0",
|
|
"@silverhand/essentials": "2.1.0",
|
|
"@silverhand/ts-config": "1.2.1",
|
|
"@types/color": "^3.0.3",
|
|
"@types/jest": "^29.0.3",
|
|
"@types/node": "^16.3.1",
|
|
"@types/react": "^18.0.20",
|
|
"eslint": "^8.21.0",
|
|
"jest": "^29.0.3",
|
|
"jest-matcher-specific-error": "^1.0.0",
|
|
"lint-staged": "^13.0.0",
|
|
"postcss": "^8.4.6",
|
|
"prettier": "^2.8.1",
|
|
"rollup": "^3.6.0",
|
|
"stylelint": "^14.9.1",
|
|
"tslib": "^2.4.1",
|
|
"typescript": "^4.9.4"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand"
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|