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",
|
2019-08-13 11:31:10 +02:00
|
|
|
"@testing-library/jest-dom": "^4.0.0",
|
2019-09-09 15:26:35 +02:00
|
|
|
"@testing-library/react": "^9.1.0",
|
|
|
|
|
"@testing-library/react-hooks": "^2.0.0",
|
2020-02-28 10:41:10 +01:00
|
|
|
"axios-mock-adapter": "^1.17.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",
|
2019-02-01 17:04:08 +01:00
|
|
|
"cross-env": "^5.2.0",
|
2018-12-11 12:04:16 +01:00
|
|
|
"cypress": "3.1.2",
|
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",
|
2019-09-09 15:28:59 +02:00
|
|
|
"eslint-config-prettier": "^6.2.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-01-24 15:39:14 +01:00
|
|
|
"eslint-plugin-node": "11.0.0",
|
2019-07-09 13:05:35 +02:00
|
|
|
"eslint-plugin-react": "^7.14.0",
|
2019-09-09 15:26:35 +02:00
|
|
|
"eslint-plugin-react-hooks": "^2.0.0",
|
2019-08-21 10:58:31 +02:00
|
|
|
"eslint-plugin-redux-saga": "^1.1.0",
|
2019-03-06 19:19:33 +01:00
|
|
|
"execa": "^1.0.0",
|
2020-01-24 15:39:14 +01:00
|
|
|
"fs-extra": "8.1.0",
|
|
|
|
|
"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",
|
2019-03-13 19:27:18 +01:00
|
|
|
"jest": "^24.5.0",
|
|
|
|
|
"jest-cli": "^24.5.0",
|
2020-02-03 16:03:36 +01:00
|
|
|
"jest-styled-components": "^7.0.0",
|
2019-04-05 16:11:09 +02:00
|
|
|
"lerna": "^3.13.1",
|
2019-07-22 11:08:24 +02:00
|
|
|
"lint-staged": "^9.2.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",
|
2019-08-13 11:31:10 +02:00
|
|
|
"react-test-renderer": "^16.9.0",
|
2018-05-24 15:12:15 +02:00
|
|
|
"request": "^2.87.0",
|
2019-03-08 17:54:45 +01:00
|
|
|
"request-promise-native": "^1.0.7",
|
2020-01-24 15:39:14 +01:00
|
|
|
"rimraf": "3.0.0",
|
2018-12-12 14:25:44 +01:00
|
|
|
"snyk": "^1.99.0",
|
2020-04-22 15:02:33 +02:00
|
|
|
"stylelint": "10.0.1",
|
|
|
|
|
"stylelint-config-recommended": "2.2.0",
|
|
|
|
|
"stylelint-config-styled-components": "0.1.1",
|
|
|
|
|
"stylelint-processor-styled-components": "1.6.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",
|
|
|
|
|
"test:front": "npm run test:clean && cross-env NODE_ENV=test jest --config ./jest.config.front.js --coverage",
|
|
|
|
|
"test:front:watch": "cross-env NODE_ENV=test jest --config ./jest.config.front.js --watchAll",
|
|
|
|
|
"test:front:update": "cross-env NODE_ENV=test 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",
|
2019-03-12 11:58:30 +01:00
|
|
|
"test:start-app": "node test/startTestApp.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": {
|
2019-07-15 11:16:38 +02:00
|
|
|
"node": ">=10.0.0",
|
|
|
|
|
"npm": ">=6.0.0"
|
2016-03-29 12:02:06 +02:00
|
|
|
},
|
2019-04-05 16:11:09 +02:00
|
|
|
"license": "MIT",
|
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}": [
|
|
|
|
|
"prettier --write",
|
|
|
|
|
"git add"
|
|
|
|
|
],
|
|
|
|
|
"*.js": [
|
|
|
|
|
"eslint --fix",
|
|
|
|
|
"git add"
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-09-18 08:24:08 -05:00
|
|
|
}
|