2016-03-29 12:02:06 +02:00
|
|
|
{
|
2021-11-29 15:13:33 +01:00
|
|
|
"name": "strapi",
|
2016-03-29 12:02:06 +02:00
|
|
|
"private": true,
|
2021-11-29 15:13:33 +01:00
|
|
|
"bugs": {
|
|
|
|
|
"url": "https://github.com/strapi/strapi/issues"
|
|
|
|
|
},
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git://github.com/strapi/strapi.git"
|
|
|
|
|
},
|
|
|
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
|
|
|
"author": {
|
2021-11-29 16:23:55 +01:00
|
|
|
"name": "Strapi Solutions SAS",
|
2021-11-29 15:13:33 +01:00
|
|
|
"email": "hi@strapi.io",
|
|
|
|
|
"url": "https://strapi.io"
|
|
|
|
|
},
|
|
|
|
|
"maintainers": [
|
|
|
|
|
{
|
2021-11-29 16:23:55 +01:00
|
|
|
"name": "Strapi Solutions SAS",
|
2021-11-29 15:13:33 +01:00
|
|
|
"email": "hi@strapi.io",
|
|
|
|
|
"url": "https://strapi.io"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"workspaces": [
|
|
|
|
|
"packages/*",
|
|
|
|
|
"packages/*/*",
|
2022-02-18 12:21:34 +01:00
|
|
|
"examples/*",
|
2023-03-22 11:21:33 +01:00
|
|
|
".github/actions/*",
|
|
|
|
|
"scripts/*"
|
2021-11-29 15:13:33 +01:00
|
|
|
],
|
|
|
|
|
"scripts": {
|
2022-10-13 11:34:52 +00:00
|
|
|
"prepare": "husky install",
|
2023-01-02 11:07:00 +01:00
|
|
|
"setup": "yarn && yarn clean && yarn build",
|
2023-03-22 11:21:33 +01:00
|
|
|
"clean": "nx run-many --target=clean --nx-ignore-cycles",
|
|
|
|
|
"watch": "nx run-many --target=watch --nx-ignore-cycles",
|
|
|
|
|
"build": "nx run-many --target=build --nx-ignore-cycles",
|
|
|
|
|
"build:ts": "nx run-many --target=build:ts --nx-ignore-cycles",
|
2021-11-29 15:13:33 +01:00
|
|
|
"generate": "plop --plopfile ./packages/generators/admin/plopfile.js",
|
2023-03-22 11:21:33 +01:00
|
|
|
"lint": "nx run-many --target=lint --nx-ignore-cycles && yarn lint:css && yarn lint:other",
|
2022-10-24 18:14:18 +02:00
|
|
|
"lint:css": "stylelint packages/**/admin/src/**/*.js",
|
2023-03-22 11:21:33 +01:00
|
|
|
"lint:fix": "nx run-many --target=lint --nx-ignore-cycles -- --fix",
|
2021-11-29 15:13:33 +01:00
|
|
|
"lint:other": "npm run prettier:other -- --check",
|
2023-03-17 16:01:12 +00:00
|
|
|
"format": "yarn format:code && yarn format:other",
|
|
|
|
|
"format:code": "yarn prettier:code --write",
|
|
|
|
|
"format:other": "yarn prettier:other --write",
|
2023-01-02 16:29:27 +01:00
|
|
|
"prettier:code": "prettier --cache --cache-strategy content \"**/*.{js,ts}\"",
|
2022-12-19 15:01:26 +01:00
|
|
|
"prettier:other": "prettier --cache --cache-strategy content \"**/*.{md,css,scss,yaml,yml}\"",
|
2022-10-28 09:35:21 +02:00
|
|
|
"test:clean": "rimraf ./coverage",
|
2023-07-13 11:37:46 +01:00
|
|
|
"test:e2e": "node test/scripts/run-e2e-tests.js",
|
|
|
|
|
"test:e2e:debug": "node test/scripts/run-e2e-tests.js --debug",
|
|
|
|
|
"test:e2e:clean": "node test/scripts/run-e2e-tests.js clean",
|
2023-04-28 15:20:20 +02:00
|
|
|
"test:front:all": "cross-env IS_EE=true nx run-many --target=test:front --nx-ignore-cycles",
|
|
|
|
|
"test:front": "cross-env IS_EE=true jest --config jest.config.front.js",
|
|
|
|
|
"test:front:watch": "cross-env IS_EE=true run test:front --watch",
|
|
|
|
|
"test:front:update": "run test:front -u",
|
|
|
|
|
"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:watch:ce": "cross-env IS_EE=false run test:front --watch",
|
2023-03-22 11:21:33 +01:00
|
|
|
"test:front:update:ce": "yarn test:front:ce -u",
|
2023-09-05 10:25:14 +01:00
|
|
|
"test:ts": "yarn test:ts:front",
|
|
|
|
|
"test:ts:front": "nx run-many --target=test:ts:front --nx-ignore-cycles",
|
2023-04-28 15:20:20 +02:00
|
|
|
"test:unit:all": "nx run-many --target=test:unit --nx-ignore-cycles",
|
|
|
|
|
"test:unit": "jest --config jest.config.js",
|
|
|
|
|
"test:unit:watch": "run test:unit --watch",
|
2022-10-28 09:35:21 +02:00
|
|
|
"test:api": "node test/scripts/run-api-tests.js",
|
|
|
|
|
"test:generate-app": "yarn build:ts && node test/scripts/generate-test-app.js",
|
2021-11-29 15:13:33 +01:00
|
|
|
"doc:api": "node scripts/open-api/serve.js"
|
|
|
|
|
},
|
2016-03-29 12:02:06 +02:00
|
|
|
"devDependencies": {
|
2023-01-30 09:48:25 +01:00
|
|
|
"@babel/core": "^7.20.12",
|
2023-04-05 14:33:37 +02:00
|
|
|
"@babel/eslint-parser": "^7.19.1",
|
2022-08-08 23:33:39 +02:00
|
|
|
"@babel/preset-react": "7.18.6",
|
2023-07-19 16:34:58 +01:00
|
|
|
"@playwright/test": "1.37.0-alpha-jul-20-2023",
|
2023-04-19 15:10:50 +01:00
|
|
|
"@strapi/admin-test-utils": "workspace:*",
|
2023-07-28 08:02:17 +01:00
|
|
|
"@strapi/eslint-config": "0.2.0",
|
2023-03-22 11:21:33 +01:00
|
|
|
"@swc/cli": "0.1.62",
|
2023-05-18 10:53:07 +02:00
|
|
|
"@swc/core": "1.3.58",
|
|
|
|
|
"@swc/helpers": "0.5.1",
|
|
|
|
|
"@swc/jest": "0.2.26",
|
2023-07-11 10:25:23 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
|
|
|
"@typescript-eslint/parser": "5.62.0",
|
2023-04-05 14:33:37 +02:00
|
|
|
"babel-eslint": "10.1.0",
|
2022-02-15 09:06:03 +00:00
|
|
|
"chalk": "4.1.2",
|
2022-02-14 09:07:01 +00:00
|
|
|
"chokidar": "3.5.3",
|
2023-07-30 22:56:10 +00:00
|
|
|
"core-js": "3.32.0",
|
2021-09-28 10:34:14 +02:00
|
|
|
"cross-env": "7.0.3",
|
2022-01-24 17:01:51 +01:00
|
|
|
"dotenv": "14.2.0",
|
2023-08-27 23:01:57 +00:00
|
|
|
"eslint": "8.48.0",
|
2023-04-05 14:33:37 +02:00
|
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
2023-07-16 22:21:42 +00:00
|
|
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
2023-08-07 08:12:48 +00:00
|
|
|
"eslint-config-prettier": "^8.10.0",
|
2023-08-14 06:35:47 +00:00
|
|
|
"eslint-import-resolver-typescript": "3.6.0",
|
2023-08-07 08:12:48 +00:00
|
|
|
"eslint-plugin-check-file": "2.6.1",
|
2023-07-30 22:54:11 +00:00
|
|
|
"eslint-plugin-import": "^2.28.0",
|
2023-08-27 23:01:57 +00:00
|
|
|
"eslint-plugin-jest-dom": "5.1.0",
|
2023-04-05 14:33:37 +02:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
|
|
|
"eslint-plugin-node": "^11.1.0",
|
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2023-07-23 22:16:50 +00:00
|
|
|
"eslint-plugin-react": "^7.33.0",
|
2023-04-05 14:33:37 +02:00
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
2023-07-28 08:02:17 +01:00
|
|
|
"eslint-plugin-testing-library": "5.11.0",
|
2022-10-28 09:35:21 +02:00
|
|
|
"execa": "5.1.1",
|
2023-04-28 15:20:20 +02:00
|
|
|
"find-up": "5.0.0",
|
2022-10-28 09:35:21 +02:00
|
|
|
"fs-extra": "10.0.0",
|
2020-11-03 16:53:20 +01:00
|
|
|
"get-port": "5.1.1",
|
2022-05-16 09:10:06 +00:00
|
|
|
"glob": "7.2.3",
|
2022-12-08 09:10:16 +00:00
|
|
|
"husky": "8.0.2",
|
2023-01-26 09:40:59 +00:00
|
|
|
"inquirer": "8.2.5",
|
2023-07-05 07:10:53 +00:00
|
|
|
"jest": "29.6.0",
|
|
|
|
|
"jest-circus": "29.6.0",
|
|
|
|
|
"jest-cli": "29.6.0",
|
2023-07-09 23:35:54 +00:00
|
|
|
"jest-environment-jsdom": "29.6.1",
|
2023-02-01 09:36:40 +00:00
|
|
|
"jest-watch-typeahead": "2.2.2",
|
2023-07-04 14:35:33 +00:00
|
|
|
"lerna": "6.6.2",
|
2023-08-13 22:11:10 +00:00
|
|
|
"lint-staged": "13.3.0",
|
2021-04-08 14:06:59 +02:00
|
|
|
"lodash": "4.17.21",
|
2023-08-21 08:59:16 +01:00
|
|
|
"nx": "16.7.2",
|
2022-02-18 11:54:19 +00:00
|
|
|
"plop": "2.7.6",
|
2023-02-15 10:09:00 +00:00
|
|
|
"prettier": "2.8.4",
|
2023-03-22 15:33:28 +01:00
|
|
|
"qs": "6.11.1",
|
2020-10-09 10:31:59 +02:00
|
|
|
"rimraf": "3.0.2",
|
2023-07-07 21:07:25 +00:00
|
|
|
"stylelint": "15.10.1",
|
2020-08-12 22:58:17 +02:00
|
|
|
"stylelint-config-recommended": "3.0.0",
|
2020-04-22 15:02:33 +02:00
|
|
|
"stylelint-config-styled-components": "0.1.1",
|
2020-09-30 10:37:34 +02:00
|
|
|
"stylelint-processor-styled-components": "1.10.0",
|
2023-02-09 19:42:45 +01:00
|
|
|
"supertest": "6.3.3",
|
2023-05-12 13:54:09 +02:00
|
|
|
"ts-jest": "29.1.0",
|
2023-06-04 23:02:10 +00:00
|
|
|
"typescript": "5.1.3",
|
2023-05-25 13:43:22 +01:00
|
|
|
"yargs": "17.7.2"
|
2016-03-29 12:02:06 +02:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2023-05-09 18:40:30 +02:00
|
|
|
"node": ">=16.0.0 <=20.x.x",
|
2019-07-15 11:16:38 +02:00
|
|
|
"npm": ">=6.0.0"
|
2023-03-17 16:01:12 +00:00
|
|
|
},
|
2023-06-22 22:06:39 +09:00
|
|
|
"packageManager": "yarn@3.6.1"
|
2020-10-07 15:33:02 +02:00
|
|
|
}
|