2016-03-29 12:02:06 +02:00
|
|
|
{
|
|
|
|
|
"private": true,
|
2018-06-11 22:39:31 +02:00
|
|
|
"dependencies": {},
|
2016-03-29 12:02:06 +02:00
|
|
|
"devDependencies": {
|
2020-04-22 10:04:11 +02:00
|
|
|
"@babel/plugin-transform-modules-commonjs": "^7.9.0",
|
2020-09-14 15:30:43 +08:00
|
|
|
"@swc-node/jest": "^0.3.4",
|
2020-12-11 10:22:27 +01:00
|
|
|
"@testing-library/jest-dom": "^5.11.6",
|
2020-12-08 14:22:35 +01:00
|
|
|
"@testing-library/react": "^11.2.2",
|
2020-11-10 09:45:58 +01:00
|
|
|
"@testing-library/react-hooks": "^3.4.2",
|
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",
|
2020-01-24 15:39:14 +01:00
|
|
|
"chokidar": "3.3.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",
|
|
|
|
|
"enzyme-adapter-react-16": "^1.12.1",
|
2019-09-09 15:28:59 +02:00
|
|
|
"eslint": "^6.3.0",
|
2020-01-21 11:33:43 +01:00
|
|
|
"eslint-config-airbnb": "^18.0.1",
|
|
|
|
|
"eslint-config-airbnb-base": "^14.0.0",
|
2020-11-26 13:10:11 +01:00
|
|
|
"eslint-config-prettier": "^6.15.0",
|
2020-01-08 12:21:47 +01:00
|
|
|
"eslint-plugin-import": "^2.19.1",
|
2020-01-21 11:33:43 +01:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
2020-10-22 06:50:06 +00:00
|
|
|
"eslint-plugin-node": "11.1.0",
|
2020-11-04 11:36:34 +01:00
|
|
|
"eslint-plugin-react": "^7.21.5",
|
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",
|
2020-09-01 17:16:09 +02:00
|
|
|
"fs-extra": "9.0.1",
|
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",
|
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",
|
2020-10-15 18:18:43 +02:00
|
|
|
"lint-staged": "^10.4.0",
|
2019-05-29 15:05:06 +02:00
|
|
|
"npm-run-all": "^4.1.5",
|
2019-07-09 13:05:35 +02:00
|
|
|
"prettier": "^1.18.2",
|
2020-12-04 11:03:17 +01:00
|
|
|
"react-test-renderer": "^17.0.1",
|
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",
|
2020-11-16 12:58:31 +01:00
|
|
|
"snyk": "^1.427.0",
|
2020-08-12 22:58:17 +02:00
|
|
|
"stylelint": "10.1.0",
|
|
|
|
|
"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-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",
|
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 .",
|
2020-04-22 15:02:33 +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",
|
2020-05-25 15:33:33 +02:00
|
|
|
"test:front": "npm run test:clean && cross-env NODE_ENV=test IS_EE=true jest --config ./jest.config.front.js --coverage",
|
|
|
|
|
"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",
|
2019-03-12 11:41:38 +01:00
|
|
|
"test:e2e": "FORCE_COLOR=true jest --config jest.config.e2e.js --runInBand --verbose --forceExit --detectOpenHandles",
|
|
|
|
|
"test:generate-app": "node test/createTestApp.js",
|
2020-10-27 13:58:27 +01:00
|
|
|
"test:start-app": "node test/startTestApp.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",
|
2016-08-10 11:31:27 +02:00
|
|
|
"url": "http://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",
|
|
|
|
|
"url": "http://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": {
|
2020-10-07 15:33:02 +02:00
|
|
|
"node": ">=10.16.0 <=14.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",
|
2019-04-16 18:05:12 +02:00
|
|
|
"name": "strapi-monorepo",
|
2019-04-05 16:11:09 +02:00
|
|
|
"workspaces": [
|
|
|
|
|
"packages/*",
|
|
|
|
|
"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
|
|
|
]
|
|
|
|
|
}
|
2020-10-07 15:33:02 +02:00
|
|
|
}
|