2022-12-14 00:23:59 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/language-kit",
|
2022-12-30 01:00:14 -05:00
|
|
|
"version": "1.0.0-beta.30",
|
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-01-03 02:41:29 -05:00
|
|
|
"default": "./lib/index.js",
|
2022-12-14 00:23:59 -05:00
|
|
|
"types": "./lib/index.d.ts",
|
2023-01-03 02:41:29 -05:00
|
|
|
"import": "./lib/index.js"
|
2022-12-14 00:23:59 -05:00
|
|
|
},
|
|
|
|
"types": "./lib/index.d.ts",
|
|
|
|
"files": [
|
|
|
|
"lib"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
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",
|
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": {
|
|
|
|
"node": "^16.13.0 || ^18.12.0"
|
|
|
|
},
|
2022-12-14 12:24:32 -05:00
|
|
|
"optionalDependencies": {
|
|
|
|
"zod": "^3.20.2"
|
2022-12-14 00:23:59 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@jest/types": "^29.0.3",
|
|
|
|
"@silverhand/eslint-config": "1.3.0",
|
|
|
|
"@silverhand/ts-config": "1.2.1",
|
|
|
|
"@types/jest": "^29.0.3",
|
|
|
|
"@types/node": "^16.3.1",
|
|
|
|
"eslint": "^8.21.0",
|
|
|
|
"jest": "^29.0.3",
|
|
|
|
"lint-staged": "^13.0.0",
|
2022-12-22 03:52:39 -05:00
|
|
|
"prettier": "^2.8.1",
|
2022-12-14 00:23:59 -05:00
|
|
|
"tslib": "^2.4.1",
|
2022-12-14 12:24:32 -05:00
|
|
|
"typescript": "^4.9.4"
|
2022-12-14 00:23:59 -05:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "@silverhand"
|
|
|
|
},
|
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
}
|
|
|
|
}
|