0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/toolkit/core-kit/package.json
2023-04-18 21:13:31 +08:00

78 lines
2.2 KiB
JSON

{
"name": "@logto/core-kit",
"version": "2.0.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"
},
"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 -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": "^18.12.0"
},
"dependencies": {
"@logto/language-kit": "workspace:^1.0.0",
"@logto/shared": "workspace:^2.0.0",
"color": "^4.2.3"
},
"optionalDependencies": {
"zod": "^3.20.2"
},
"devDependencies": {
"@jest/types": "^29.0.3",
"@silverhand/eslint-config": "3.0.1",
"@silverhand/essentials": "^2.5.0",
"@silverhand/ts-config": "3.0.0",
"@silverhand/ts-config-react": "3.0.0",
"@types/color": "^3.0.3",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.31",
"eslint": "^8.34.0",
"jest": "^29.5.0",
"lint-staged": "^13.0.0",
"postcss": "^8.4.6",
"prettier": "^2.8.2",
"stylelint": "^15.0.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0"
},
"eslintConfig": {
"extends": "@silverhand"
},
"stylelint": {
"extends": "@silverhand/eslint-config-react/.stylelintrc"
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"publishConfig": {
"access": "public"
}
}