Files
directus/package.json
Pascal Jufer 20a06a6c0e Clean-up lint / format set-up (#16380)
* Format json & all yaml files and update ignore files

* Fix resulting formatting issues
2022-11-09 07:26:54 -08:00

68 lines
2.0 KiB
JSON

{
"name": "directus-monorepo",
"private": true,
"version": "9.14.2",
"workspaces": [
"./app",
"./api",
"./packages/*"
],
"scripts": {
"lint": "eslint .",
"format": "prettier --write \"**/*.{md,y?(a)ml,json}\"",
"test:e2e": "jest tests -c tests/jest.config.js",
"test:e2e:watch": "jest tests -c tests/jest.config.js --watch",
"posttest:e2e:watch": "ts-node --project ./tests/tsconfig.json --transpile-only ./tests/setup/teardown.ts",
"test:blackbox": "jest tests -c tests-blackbox/jest.config.js",
"test:blackbox:watch": "jest tests -c tests-blackbox/jest.config.js --watch",
"posttest:blackbox:watch": "ts-node --project ./tests-blackbox/tsconfig.json --transpile-only ./tests-blackbox/setup/teardown.ts",
"cli": "cross-env NODE_ENV=development SERVE_APP=false DOTENV_CONFIG_PATH=api/.env ts-node -r dotenv/config --script-mode --transpile-only api/src/cli/run.ts"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.5.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,vue}": "eslint --fix",
"*.{md,y?(a)ml,json}": "prettier --write"
},
"volta": {
"node": "16.15.0",
"npm": "8.10.0"
},
"devDependencies": {
"@directus/shared": "workspace:*",
"@types/jest": "29.2.0",
"@types/listr": "0.14.4",
"@types/lodash": "4.14.186",
"@types/seedrandom": "3.0.2",
"@types/supertest": "2.0.12",
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "5.40.1",
"@typescript-eslint/parser": "5.40.1",
"axios": "1.1.3",
"cross-env": "7.0.3",
"eslint": "8.25.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-vue": "9.6.0",
"globby": "11.1.0",
"jest": "29.2.1",
"jest-environment-node": "29.2.1",
"knex": "2.3.0",
"lint-staged": "13.0.3",
"listr": "0.14.3",
"lodash": "4.17.21",
"prettier": "2.7.1",
"seedrandom": "3.0.5",
"simple-git-hooks": "2.8.1",
"supertest": "6.3.0",
"ts-jest": "29.0.3",
"typescript": "4.8.4",
"uuid": "9.0.0"
}
}