2016-03-29 12:02:06 +02:00
|
|
|
{
|
|
|
|
|
"private": true,
|
|
|
|
|
"devDependencies": {
|
2021-02-17 11:52:03 +01:00
|
|
|
"@swc-node/jest": "^1.1.0",
|
2021-04-28 10:33:28 +02:00
|
|
|
"@testing-library/jest-dom": "^5.12.0",
|
2021-04-06 13:54:40 +02:00
|
|
|
"@testing-library/react": "^11.2.6",
|
2020-11-10 09:45:58 +01:00
|
|
|
"@testing-library/react-hooks": "^3.4.2",
|
2021-05-31 12:45:57 +02:00
|
|
|
"@testing-library/user-event": "13.1.9",
|
2020-12-11 09:49:50 +01:00
|
|
|
"axios-mock-adapter": "^1.19.0",
|
2019-08-25 23:40:27 +02:00
|
|
|
"babel-eslint": "^10.0.0",
|
2021-04-26 10:56:14 +02:00
|
|
|
"chalk": "4.1.1",
|
2021-03-17 08:58:47 +01:00
|
|
|
"chokidar": "3.5.1",
|
2020-12-10 11:12:57 +01:00
|
|
|
"cross-env": "^7.0.3",
|
2019-04-23 15:18:57 +02:00
|
|
|
"enzyme": "^3.9.0",
|
2021-01-22 09:18:24 +01:00
|
|
|
"enzyme-adapter-react-16": "^1.15.6",
|
2021-04-30 18:56:20 +11:00
|
|
|
"eslint": "^7.25.0",
|
2021-03-23 09:56:29 +01:00
|
|
|
"eslint-config-airbnb": "^18.2.1",
|
2021-03-18 09:58:59 +01:00
|
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
2020-11-26 13:10:11 +01:00
|
|
|
"eslint-config-prettier": "^6.15.0",
|
2021-02-26 09:27:02 +01:00
|
|
|
"eslint-plugin-import": "^2.22.1",
|
2021-06-28 22:37:19 +02:00
|
|
|
"eslint-plugin-jsdoc": "35.4.0",
|
2021-01-29 10:29:16 +01:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
2020-10-22 06:50:06 +00:00
|
|
|
"eslint-plugin-node": "11.1.0",
|
2021-04-14 16:05:53 +02:00
|
|
|
"eslint-plugin-react": "^7.23.2",
|
2020-12-28 10:31:48 +01:00
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
2020-12-10 09:40:29 +01:00
|
|
|
"eslint-plugin-redux-saga": "^1.2.1",
|
2019-03-06 19:19:33 +01:00
|
|
|
"execa": "^1.0.0",
|
2021-03-12 05:43:19 +00:00
|
|
|
"fs-extra": "9.1.0",
|
2020-11-03 16:53:20 +01:00
|
|
|
"get-port": "5.1.1",
|
2020-01-24 15:39:14 +01:00
|
|
|
"glob": "7.1.6",
|
2019-07-09 13:05:35 +02:00
|
|
|
"husky": "^3.0.0",
|
2016-04-04 21:51:00 +02:00
|
|
|
"istanbul": "~0.4.2",
|
2020-11-26 13:10:39 +01:00
|
|
|
"jest": "^26.6.3",
|
2021-03-29 12:33:08 +02:00
|
|
|
"jest-circus": "26.6.3",
|
2020-05-25 15:33:33 +02:00
|
|
|
"jest-cli": "^26.0.1",
|
|
|
|
|
"jest-styled-components": "^7.0.2",
|
2019-04-05 16:11:09 +02:00
|
|
|
"lerna": "^3.13.1",
|
2021-03-08 14:09:24 +01:00
|
|
|
"lint-staged": "^10.5.4",
|
2021-04-08 14:06:59 +02:00
|
|
|
"lodash": "4.17.21",
|
2021-08-27 09:29:20 +02:00
|
|
|
"msw": "0.35.0",
|
2019-05-29 15:05:06 +02:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-07-21 20:08:17 +02:00
|
|
|
"plop": "2.7.4",
|
2019-07-09 13:05:35 +02:00
|
|
|
"prettier": "^1.18.2",
|
2021-03-22 09:24:12 +01:00
|
|
|
"qs": "6.10.1",
|
2021-04-16 12:22:27 +02:00
|
|
|
"react-test-renderer": "^17.0.2",
|
2018-05-24 15:12:15 +02:00
|
|
|
"request": "^2.87.0",
|
2020-09-24 09:37:43 +02:00
|
|
|
"request-promise-native": "^1.0.9",
|
2020-10-09 10:31:59 +02:00
|
|
|
"rimraf": "3.0.2",
|
2021-04-27 09:55:44 +02:00
|
|
|
"snyk": "^1.566.0",
|
2021-05-04 00:44:04 +11:00
|
|
|
"stylelint": "13.13.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",
|
2020-10-09 18:43:15 +02:00
|
|
|
"supertest": "5.0.0",
|
2020-02-03 15:43:44 +01:00
|
|
|
"wait-on": "^3.2.0",
|
|
|
|
|
"yargs": "^13.2.2"
|
2016-03-29 12:02:06 +02:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2019-05-03 14:41:09 +02:00
|
|
|
"setup": "yarn && yarn build",
|
|
|
|
|
"watch": "lerna run --stream watch --no-private",
|
|
|
|
|
"build": "lerna run --stream build --no-private",
|
2021-07-21 20:08:17 +02:00
|
|
|
"generate": "plop --plopfile ./packages/generators/admin/plopfile.js",
|
2020-04-22 15:02:33 +02:00
|
|
|
"lint": "npm-run-all -p lint:code lint:css",
|
2019-05-29 15:05:06 +02:00
|
|
|
"lint:code": "eslint .",
|
2021-04-29 11:11:46 +02:00
|
|
|
"lint:css": "stylelint packages/**/admin/src/**/*.js",
|
2020-01-21 11:33:43 +01:00
|
|
|
"lint:fix": "eslint --fix .",
|
2019-05-29 15:05:06 +02:00
|
|
|
"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 \"**/*.js\"",
|
|
|
|
|
"prettier:other": "prettier \"**/*.{md,css,scss,yaml,yml}\"",
|
2019-03-06 09:54:29 +01:00
|
|
|
"test:clean": "rimraf ./coverage",
|
2021-02-01 16:02:47 +01:00
|
|
|
"test:front": "npm run test:clean && cross-env NODE_ENV=test IS_EE=true jest --config ./jest.config.front.js",
|
2020-05-25 15:33:33 +02:00
|
|
|
"test:front:watch": "cross-env NODE_ENV=test IS_EE=true jest --config ./jest.config.front.js --watchAll",
|
|
|
|
|
"test:front:update": "cross-env NODE_ENV=test IS_EE=true jest --config ./jest.config.front.js --u",
|
|
|
|
|
"test:front:ce": "npm run test:clean && cross-env NODE_ENV=test IS_EE=false jest --config ./jest.config.front.js --coverage",
|
|
|
|
|
"test:front:watch:ce": "cross-env NODE_ENV=test IS_EE=false jest --config ./jest.config.front.js --watchAll",
|
|
|
|
|
"test:front:update:ce": "cross-env NODE_ENV=test IS_EE=false jest --config ./jest.config.front.js --u",
|
2019-03-11 10:42:43 +01:00
|
|
|
"test:snyk": "snyk test",
|
2020-01-16 14:04:07 +01:00
|
|
|
"test:unit": "jest --verbose",
|
2021-08-06 17:52:38 +02:00
|
|
|
"test:e2e": "FORCE_COLOR=true jest --config jest.config.e2e.js --verbose --runInBand --testRunner=jest-circus/runner --forceExit --detectOpenHandles",
|
2020-12-29 17:44:14 +01:00
|
|
|
"test:generate-app": "node test/create-test-app.js",
|
2020-10-27 14:24:09 +01:00
|
|
|
"doc:api": "node scripts/open-api/serve.js"
|
2016-03-29 12:02:06 +02:00
|
|
|
},
|
|
|
|
|
"author": {
|
2016-08-10 11:31:27 +02:00
|
|
|
"email": "hi@strapi.io",
|
2017-01-04 18:28:47 +01:00
|
|
|
"name": "Strapi Solutions",
|
2021-01-26 17:06:25 +01:00
|
|
|
"url": "https://strapi.io"
|
2016-03-29 12:02:06 +02:00
|
|
|
},
|
|
|
|
|
"maintainers": [
|
|
|
|
|
{
|
2017-01-04 18:28:47 +01:00
|
|
|
"name": "Strapi Solutions",
|
2016-08-10 11:31:27 +02:00
|
|
|
"email": "hi@strapi.io",
|
2021-01-26 17:06:25 +01:00
|
|
|
"url": "https://strapi.io"
|
2016-03-29 12:02:06 +02:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2016-08-10 11:31:27 +02:00
|
|
|
"url": "git://github.com/strapi/strapi.git"
|
2016-03-29 12:02:06 +02:00
|
|
|
},
|
|
|
|
|
"bugs": {
|
2016-08-10 11:31:27 +02:00
|
|
|
"url": "https://github.com/strapi/strapi/issues"
|
2016-03-29 12:02:06 +02:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2021-06-23 07:55:40 +02:00
|
|
|
"node": ">=12.x.x <=16.x.x",
|
2019-07-15 11:16:38 +02:00
|
|
|
"npm": ">=6.0.0"
|
2016-03-29 12:02:06 +02:00
|
|
|
},
|
2020-07-20 18:07:48 +02:00
|
|
|
"license": "SEE LICENSE IN LICENSE",
|
2021-04-29 13:51:12 +02:00
|
|
|
"name": "strapi",
|
2019-04-05 16:11:09 +02:00
|
|
|
"workspaces": [
|
|
|
|
|
"packages/*",
|
2021-04-29 11:11:46 +02:00
|
|
|
"packages/*/*",
|
2019-04-05 16:11:09 +02:00
|
|
|
"examples/*"
|
2019-05-29 15:05:06 +02:00
|
|
|
],
|
|
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
|
|
|
|
"*.{js,md,css,scss,yaml,yml}": [
|
2020-10-15 18:18:43 +02:00
|
|
|
"prettier --write"
|
2019-05-29 15:05:06 +02:00
|
|
|
],
|
|
|
|
|
"*.js": [
|
2020-10-15 18:18:43 +02:00
|
|
|
"eslint --fix"
|
2019-05-29 15:05:06 +02:00
|
|
|
]
|
2021-05-05 15:40:03 +02:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@babel/polyfill": "7.12.1"
|
2019-05-29 15:05:06 +02:00
|
|
|
}
|
2020-10-07 15:33:02 +02:00
|
|
|
}
|