strapi/package.json
2023-03-22 11:21:33 +01:00

111 lines
3.7 KiB
JSON

{
"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/*",
".github/actions/*",
"scripts/*"
],
"scripts": {
"prepare": "husky install",
"setup": "yarn && yarn clean && yarn build",
"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",
"generate": "plop --plopfile ./packages/generators/admin/plopfile.js",
"lint": "nx run-many --target=lint --nx-ignore-cycles && yarn lint:css && yarn lint:other",
"lint:css": "stylelint packages/**/admin/src/**/*.js",
"lint:fix": "nx run-many --target=lint --nx-ignore-cycles -- --fix",
"lint:other": "npm run prettier:other -- --check",
"format": "npm-run-all -p format:*",
"format:code": "npm run prettier:code -- --write",
"format:other": "npm run prettier:other -- --write",
"prettier:code": "prettier --cache --cache-strategy content \"**/*.{js,ts}\"",
"prettier:other": "prettier --cache --cache-strategy content \"**/*.{md,css,scss,yaml,yml}\"",
"test:front": "cross-env IS_EE=true nx run-many --target=test:front --nx-ignore-cycles",
"test:front:watch": "cross-env IS_EE=true nx run-many --target=test:front:watch --nx-ignore-cycles",
"test:front:update": "yarn test:front -u",
"test:front:ce": "cross-env IS_EE=false nx run-many --target=test:front --nx-ignore-cycles",
"test:front:watch:ce": "cross-env IS_EE=false nx run-many --target=test:front:watch --nx-ignore-cycles",
"test:front:update:ce": "yarn test:front:ce -u",
"test:unit": "nx run-many --target=test:unit --nx-ignore-cycles",
"test:unit:watch": "nx run-many --target=test:unit:watch --nx-ignore-cycles",
"test:api": "node test/api.js",
"test:generate-app": "node test/create-test-app.js",
"doc:api": "node scripts/open-api/serve.js"
},
"lint-staged": {
"*.{js,ts,md,css,scss,yaml,yml}": [
"prettier --write"
]
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-react": "7.18.6",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.37",
"@swc/jest": "0.2.24",
"chalk": "4.1.2",
"chokidar": "3.5.3",
"core-js": "3.28.0",
"cross-env": "7.0.3",
"dotenv": "14.2.0",
"execa": "1.0.0",
"fs-extra": "10.1.0",
"get-port": "5.1.1",
"glob": "7.2.3",
"husky": "8.0.2",
"inquirer": "8.2.5",
"jest": "29.0.3",
"jest-circus": "29.0.3",
"jest-cli": "29.0.3",
"jest-environment-jsdom": "29.0.3",
"jest-watch-typeahead": "2.2.2",
"lerna": "6.5.1",
"lint-staged": "13.0.3",
"lodash": "4.17.21",
"npm-run-all": "4.1.5",
"nx": "15.8.3",
"plop": "2.7.6",
"prettier": "2.8.4",
"qs": "6.11.0",
"rimraf": "3.0.2",
"stylelint": "13.13.1",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
"supertest": "6.3.3",
"ts-jest": "29.0.3",
"typedoc": "0.23.26",
"typescript": "4.6.2",
"yargs": "17.6.0"
},
"engines": {
"node": ">=14.19.1 <=18.x.x",
"npm": ">=6.0.0"
}
}