UNPKG

@strapi/utils

Version:

Shared utilities for the Strapi packages

81 lines (80 loc) 2.09 kB
{ "name": "@strapi/utils", "version": "5.51.0", "description": "Shared utilities for the Strapi packages", "keywords": [ "strapi", "utils" ], "homepage": "https://strapi.io", "bugs": { "url": "https://github.com/strapi/strapi/issues" }, "repository": { "type": "git", "url": "https://github.com/strapi/strapi.git", "directory": "packages/core/utils" }, "license": "SEE LICENSE IN LICENSE", "author": { "name": "Strapi Solutions SAS", "email": "hi@strapi.io", "url": "https://strapi.io" }, "maintainers": [ { "name": "Strapi Solutions SAS", "email": "hi@strapi.io", "url": "https://strapi.io" } ], "main": "./dist/index.js", "module": "./dist/index.mjs", "source": "./src/index.ts", "types": "./dist/index.d.ts", "files": [ "dist/" ], "scripts": { "build": "run -T npm-run-all clean --parallel build:code build:types", "build:code": "run -T rollup -c", "build:types": "run -T tsc -p tsconfig.build.json --emitDeclarationOnly", "clean": "run -T rimraf ./dist", "lint": "run -T eslint . --max-warnings=0", "test:ts": "run -T tsc -p tsconfig.json", "test:unit": "run -T jest", "test:unit:watch": "run -T jest --watch", "test:unit:vitest": "vitest run", "test:unit:vitest:watch": "vitest --watch", "watch": "run -T rollup -c -w" }, "dependencies": { "@sindresorhus/slugify": "1.1.0", "date-fns": "2.30.0", "execa": "5.1.1", "http-errors": "2.0.0", "lodash": "4.18.1", "node-machine-id": "1.1.12", "p-map": "4.0.0", "preferred-pm": "5.0.0", "yup": "0.32.9", "zod": "3.25.76" }, "devDependencies": { "@types/http-errors": "2.0.4", "@types/jest": "29.5.2", "@types/koa": "2.15.2", "@types/node": "20.19.41", "eslint-config-custom": "5.51.0", "jest": "29.6.0", "koa": "2.16.4", "koa-body": "6.0.1", "tsconfig": "5.51.0", "vitest": "catalog:", "vitest-config": "5.51.0" }, "engines": { "node": ">=20.0.0 <=26.x.x", "npm": ">=6.0.0" } }