mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
28e9fa4290
* chore: move changesets * release: core v1.0.0 * chore: update workflow
78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"name": "@logto/core-kit",
|
|
"version": "1.1.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:*",
|
|
"color": "^4.2.3",
|
|
"nanoid": "^4.0.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"zod": "^3.20.2"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/types": "^29.0.3",
|
|
"@silverhand/eslint-config": "2.0.1",
|
|
"@silverhand/eslint-config-react": "2.0.1",
|
|
"@silverhand/essentials": "^2.5.0",
|
|
"@silverhand/ts-config": "2.0.3",
|
|
"@types/color": "^3.0.3",
|
|
"@types/jest": "^29.4.0",
|
|
"@types/node": "^18.11.18",
|
|
"@types/react": "^18.0.20",
|
|
"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": "^4.9.4"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand"
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|