/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v4.26.2
package.json
160 строк
6 KB
Bassel Kanso
chore(v4): support node 22 (#26547)
04 июн 2026, 16:02
Не верифицирован
04 июн 2026, 16:02
268e392
Код
Авторство
О чём код?
{ "name": "strapi", "private": true, "bugs": { "url": "https://github.com/strapi/strapi/issues" }, "repository": { "type": "git", "url": "git://github.com/strapi/strapi.git" }, "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" } ], "workspaces": [ "packages/*", "packages/*/*", "examples/*", "examples/plugins/*", ".github/actions/*", "scripts/*" ], "scripts": { "build": "nx run-many --target=build --nx-ignore-cycles", "build:size": "cd examples/getstarted && yarn build", "build:ts": "nx run-many --target=build:ts --nx-ignore-cycles", "build:watch": "nx watch --all --nx-ignore-cycles -- nx run \\$NX_PROJECT_NAME:build --nx-ignore-cycles", "clean": "nx run-many --target=clean --nx-ignore-cycles", "doc:api": "node scripts/open-api/serve.js", "format": "yarn format:code && yarn format:other", "format:code": "yarn prettier:code --write", "format:other": "yarn prettier:other --write", "lint": "nx run-many --target=lint --nx-ignore-cycles && yarn lint:other", "lint:fix": "nx run-many --target=lint --nx-ignore-cycles -- --fix", "lint:other": "npm run prettier:other -- --check", "prepare": "husky install", "prettier:check": "yarn prettier:code --check && yarn prettier:other --check", "prettier:code": "prettier --cache --cache-strategy content \"**/*.{js,ts,jsx,tsx,json}\"", "prettier:other": "prettier --cache --cache-strategy content \"**/*.{md,mdx,css,scss,yaml,yml}\"", "prettier:write": "prettier --write \"**/*.{js,ts,jsx,tsx,json,md,mdx,css,scss,yaml,yml}\"", "setup": "yarn && yarn clean && yarn build --skip-nx-cache", "test:api": "node tests/scripts/run-api-tests.js", "test:api:clean": "rimraf ./coverage", "test:clean": "yarn test:api:clean && yarn test:e2e:clean", "test:cli": "node tests/scripts/run-cli-tests.js", "test:cli:clean": "node tests/scripts/run-cli-tests.js clean", "test:cli:debug": "node tests/scripts/run-cli-tests.js --debug", "test:e2e": "node tests/scripts/run-e2e-tests.js", "test:e2e:clean": "node tests/scripts/run-e2e-tests.js clean", "test:e2e:debug": "node tests/scripts/run-e2e-tests.js --debug", "test:front": "cross-env IS_EE=true jest --config jest.config.front.js", "test:front:all": "cross-env IS_EE=true nx run-many --target=test:front --nx-ignore-cycles", "test:front:all:ce": "cross-env IS_EE=false nx run-many --target=test:front:ce --nx-ignore-cycles", "test:front:ce": "cross-env IS_EE=false run test:front", "test:front:update": "run test:front -u", "test:front:update:ce": "yarn test:front:ce -u", "test:front:watch": "cross-env IS_EE=true run test:front --watch", "test:front:watch:ce": "cross-env IS_EE=false run test:front --watch", "test:generate-app": "yarn build:ts && node tests/scripts/generate-test-app.js", "test:generate-app:no-build": "node tests/scripts/generate-test-app.js", "test:ts": "yarn test:ts:packages && yarn test:ts:front && yarn test:ts:back", "test:ts:back": "nx run-many --target=test:ts:back --nx-ignore-cycles", "test:ts:front": "nx run-many --target=test:ts:front --nx-ignore-cycles", "test:ts:packages": "nx run-many --target=test:ts --nx-ignore-cycles", "test:unit": "jest --config jest.config.js", "test:unit:all": "nx run-many --target=test:unit --nx-ignore-cycles", "test:unit:watch": "run test:unit --watch" }, "resolutions": { "@strapi/design-system": "1.20.0-typescript.0", "@types/koa": "2.15.0", "axios@npm:^0.26.0": "0.31.1", "cookie@npm:^0.4.1": "0.7.2", "cookie@npm:^0.4.2": "0.7.2", "form-data@npm:~2.3.2": "2.5.5", "serialize-javascript": "7.0.5", "vite@npm:5.0.13": "5.4.21" }, "devDependencies": { "@babel/core": "7.29.0", "@babel/eslint-parser": "7.28.6", "@babel/preset-react": "7.28.5", "@playwright/test": "1.49.1", "@strapi/admin-test-utils": "workspace:*", "@strapi/eslint-config": "0.2.0", "@swc/cli": "0.1.62", "@swc/core": "1.3.58", "@swc/helpers": "0.5.1", "@swc/jest": "0.2.26", "@types/prettier": "2.7.3", "@types/react": "18.2.39", "@types/react-dom": "18.2.17", "@types/react-helmet": "6.1.8", "@types/react-router-dom": "^5.3.3", "@types/styled-components": "5.1.32", "@typescript-eslint/eslint-plugin": "6.7.3", "@typescript-eslint/parser": "6.7.3", "chalk": "4.1.2", "chokidar": "3.5.3", "coffee": "5.5.1", "core-js": "3.33.0", "cross-env": "7.0.3", "dotenv": "14.2.0", "eslint": "8.50.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-prettier": "^9.0.0", "eslint-import-resolver-typescript": "3.6.1", "eslint-plugin-check-file": "2.6.2", "eslint-plugin-import": "^2.28.1", "eslint-plugin-jest-dom": "5.1.0", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-rxjs": "5.0.3", "eslint-plugin-testing-library": "6.0.2", "execa": "5.1.1", "find-up": "5.0.0", "fs-extra": "10.0.0", "get-port": "5.1.1", "glob": "13.0.6", "husky": "8.0.2", "inquirer": "8.2.5", "jest": "29.6.0", "jest-circus": "29.6.0", "jest-cli": "29.6.0", "jest-environment-jsdom": "29.6.1", "jest-watch-typeahead": "2.2.2", "lerna": "8.2.0", "lint-staged": "15.2.9", "lodash": "4.18.1", "nx": "20.4.6", "plop": "4.0.1", "prettier": "2.8.4", "qs": "6.15.1", "rimraf": "5.0.10", "supertest": "7.2.2", "ts-jest": "29.1.0", "typescript": "5.2.2", "yargs": "17.7.2" }, "packageManager": "yarn@4.3.1", "engines": { "node": ">=18.0.0 <=22.x.x", "npm": ">=6.0.0" }, "isStrapiMonorepo": true }