mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 23:57:32 +00:00
114 lines
3.3 KiB
JSON
114 lines
3.3 KiB
JSON
{
|
|
"private": true,
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@babel/plugin-transform-modules-commonjs": "^7.8.3",
|
|
"@testing-library/jest-dom": "^4.0.0",
|
|
"@testing-library/react": "^9.1.0",
|
|
"@testing-library/react-hooks": "^2.0.0",
|
|
"axios-mock-adapter": "^1.17.0",
|
|
"babel-eslint": "^10.0.0",
|
|
"chokidar": "3.3.1",
|
|
"cross-env": "^5.2.0",
|
|
"cypress": "3.1.2",
|
|
"enzyme": "^3.9.0",
|
|
"enzyme-adapter-react-16": "^1.12.1",
|
|
"eslint": "^6.3.0",
|
|
"eslint-config-airbnb": "^18.0.1",
|
|
"eslint-config-airbnb-base": "^14.0.0",
|
|
"eslint-config-prettier": "^6.2.0",
|
|
"eslint-plugin-import": "^2.19.1",
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
"eslint-plugin-node": "11.0.0",
|
|
"eslint-plugin-react": "^7.14.0",
|
|
"eslint-plugin-react-hooks": "^2.0.0",
|
|
"eslint-plugin-redux-saga": "^1.1.0",
|
|
"execa": "^1.0.0",
|
|
"fs-extra": "8.1.0",
|
|
"glob": "7.1.6",
|
|
"husky": "^3.0.0",
|
|
"istanbul": "~0.4.2",
|
|
"jest": "^24.5.0",
|
|
"jest-cli": "^24.5.0",
|
|
"jest-styled-components": "^7.0.0",
|
|
"lerna": "^3.13.1",
|
|
"lint-staged": "^9.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^1.18.2",
|
|
"react-test-renderer": "^16.9.0",
|
|
"request": "^2.87.0",
|
|
"request-promise-native": "^1.0.7",
|
|
"rimraf": "3.0.0",
|
|
"snyk": "^1.99.0",
|
|
"wait-on": "^3.2.0",
|
|
"yargs": "^13.2.2"
|
|
},
|
|
"scripts": {
|
|
"setup": "yarn && yarn build",
|
|
"watch": "lerna run --stream watch --no-private",
|
|
"build": "lerna run --stream build --no-private",
|
|
"lint": "npm-run-all -p lint:code",
|
|
"lint:code": "eslint .",
|
|
"lint:fix": "eslint --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 \"**/*.js\"",
|
|
"prettier:other": "prettier \"**/*.{md,css,scss,yaml,yml}\"",
|
|
"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",
|
|
"test:snyk": "snyk test",
|
|
"test:unit": "jest --verbose",
|
|
"test:e2e": "FORCE_COLOR=true jest --config jest.config.e2e.js --runInBand --verbose --forceExit --detectOpenHandles",
|
|
"test:generate-app": "node test/createTestApp.js",
|
|
"test:start-app": "node test/startTestApp.js"
|
|
},
|
|
"author": {
|
|
"email": "hi@strapi.io",
|
|
"name": "Strapi Solutions",
|
|
"url": "http://strapi.io"
|
|
},
|
|
"maintainers": [
|
|
{
|
|
"name": "Strapi Solutions",
|
|
"email": "hi@strapi.io",
|
|
"url": "http://strapi.io"
|
|
}
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/strapi/strapi.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/strapi/strapi/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.0.0",
|
|
"npm": ">=6.0.0"
|
|
},
|
|
"license": "MIT",
|
|
"name": "strapi-monorepo",
|
|
"workspaces": [
|
|
"packages/*",
|
|
"examples/*"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,md,css,scss,yaml,yml}": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|