mirror of
https://github.com/directus/directus.git
synced 2026-01-11 01:58:13 -05:00
70 lines
2.0 KiB
JSON
70 lines
2.0 KiB
JSON
{
|
|
"name": "@directus/utils",
|
|
"version": "13.0.9",
|
|
"description": "Utilities shared between the Directus packages",
|
|
"homepage": "https://directus.io",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/directus/directus.git",
|
|
"directory": "packages/utils"
|
|
},
|
|
"funding": "https://github.com/directus/directus?sponsor=1",
|
|
"license": "MIT",
|
|
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./dist/shared/index.js",
|
|
"./node": "./dist/node/index.js",
|
|
"./browser": "./dist/browser/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"main": "dist/shared/index.js",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm run '/^build:.*/'",
|
|
"build:browser": "tsup browser/index.ts --tsconfig browser/tsconfig.json --out-dir dist/browser --format=esm --dts",
|
|
"build:node": "tsup node/index.ts --tsconfig node/tsconfig.json --out-dir dist/node --format=esm --dts",
|
|
"build:shared": "tsup shared/index.ts --tsconfig shared/tsconfig.json --out-dir dist/shared --format=esm --dts",
|
|
"dev": "pnpm run '/^build:.*/' --watch",
|
|
"test": "vitest run",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@directus/constants": "workspace:*",
|
|
"@directus/system-data": "workspace:*",
|
|
"date-fns": "catalog:",
|
|
"fs-extra": "catalog:",
|
|
"joi": "catalog:",
|
|
"js-yaml": "catalog:",
|
|
"lodash-es": "catalog:",
|
|
"micromustache": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@directus/tsconfig": "catalog:",
|
|
"@directus/schema-builder": "workspace:*",
|
|
"@directus/types": "workspace:*",
|
|
"@types/fs-extra": "catalog:",
|
|
"@types/js-yaml": "catalog:",
|
|
"@types/lodash-es": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@types/tmp": "catalog:",
|
|
"@vitest/coverage-v8": "catalog:",
|
|
"tmp": "catalog:",
|
|
"tsup": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:",
|
|
"vue": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"vue": "catalog:"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"vue": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|