2022-12-14 00:23:59 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/core-kit",
|
2024-02-08 00:18:42 -05:00
|
|
|
"version": "2.3.0",
|
2022-12-14 00:23:59 -05:00
|
|
|
"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",
|
2023-01-03 02:41:29 -05:00
|
|
|
"main": "./lib/index.js",
|
2022-12-14 00:23:59 -05:00
|
|
|
"exports": {
|
2023-06-10 03:21:12 -05:00
|
|
|
".": {
|
|
|
|
"default": "./lib/index.js",
|
|
|
|
"types": "./lib/index.d.ts",
|
|
|
|
"import": "./lib/index.js"
|
|
|
|
},
|
|
|
|
"./declaration": "./declaration/index.ts",
|
|
|
|
"./scss/*": "./scss/*.scss"
|
2022-12-14 00:23:59 -05:00
|
|
|
},
|
|
|
|
"types": "./lib/index.d.ts",
|
|
|
|
"files": [
|
|
|
|
"declaration",
|
|
|
|
"lib",
|
|
|
|
"scss"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
|
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
2023-01-03 02:41:29 -05:00
|
|
|
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
|
2022-12-14 12:50:29 -05:00
|
|
|
"build:test": "pnpm build -p tsconfig.test.json --sourcemap",
|
2022-12-14 00:23:59 -05:00
|
|
|
"lint": "eslint --ext .ts src",
|
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
|
|
"prepack": "pnpm build",
|
|
|
|
"stylelint": "stylelint \"scss/**/*.scss\"",
|
2022-12-14 12:50:29 -05:00
|
|
|
"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"
|
2022-12-14 00:23:59 -05:00
|
|
|
},
|
|
|
|
"engines": {
|
2023-12-10 20:10:53 -05:00
|
|
|
"node": "^20.9.0"
|
2022-12-14 00:23:59 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-02-08 00:18:42 -05:00
|
|
|
"@logto/language-kit": "workspace:^1.1.0",
|
|
|
|
"@logto/shared": "workspace:^3.1.0",
|
2023-04-04 03:23:25 -05:00
|
|
|
"color": "^4.2.3"
|
2022-12-14 12:24:32 -05:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2023-11-06 22:38:54 -05:00
|
|
|
"zod": "^3.22.4"
|
2022-12-14 00:23:59 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@jest/types": "^29.0.3",
|
2023-12-22 02:16:49 -05:00
|
|
|
"@silverhand/eslint-config": "5.0.0",
|
2024-01-31 20:17:29 -05:00
|
|
|
"@silverhand/essentials": "^2.9.0",
|
2023-12-22 02:16:49 -05:00
|
|
|
"@silverhand/ts-config": "5.0.0",
|
|
|
|
"@silverhand/ts-config-react": "5.0.0",
|
2022-12-14 00:23:59 -05:00
|
|
|
"@types/color": "^3.0.3",
|
2023-03-07 01:54:57 -05:00
|
|
|
"@types/jest": "^29.4.0",
|
2023-12-10 20:10:53 -05:00
|
|
|
"@types/node": "^20.9.5",
|
2023-03-30 00:36:46 -05:00
|
|
|
"@types/react": "^18.0.31",
|
2023-07-07 12:17:21 -05:00
|
|
|
"eslint": "^8.44.0",
|
2023-12-22 02:16:49 -05:00
|
|
|
"jest": "^29.7.0",
|
2023-10-25 20:55:47 -05:00
|
|
|
"lint-staged": "^15.0.0",
|
2023-10-09 02:30:06 -05:00
|
|
|
"postcss": "^8.4.31",
|
2023-07-07 12:17:21 -05:00
|
|
|
"prettier": "^3.0.0",
|
2023-02-15 22:09:03 -05:00
|
|
|
"stylelint": "^15.0.0",
|
2022-12-14 00:23:59 -05:00
|
|
|
"tslib": "^2.4.1",
|
2023-12-22 02:16:49 -05:00
|
|
|
"typescript": "^5.3.3"
|
2022-12-14 00:23:59 -05:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "@silverhand"
|
|
|
|
},
|
|
|
|
"stylelint": {
|
|
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
|
|
},
|
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
}
|
|
|
|
}
|