mirror of
https://github.com/directus/directus.git
synced 2026-01-23 04:58:00 -05:00
* Clean-up api - Remove unnecessary deps - rimraf -> del-cli * Clean-up app - bytes -> pretty-bytes - Remove ms as we already have pretty-ms - Remove other unnecessary deps - Add storybook build to gitignore * Clean-up drive packages - Simplify cleanup scripts - rimraf -> del-cli - Remove unnecessary deps * Clean-up schema - Remove unnecessary dep (lodash) - Replace 'npm-watch' with native watch mode * Clean-up shared - Remove unnecessary dep (c8, adding @vitest/coverage-c8 will be addressed in other PR) - rimraf -> del-cli - npm-run-all -> concurrently * Clean-up root - Add missing eslint-plugin-jest dep - listr -> listr2 * Make build output a bit friendlier * Remove cleanup scripts Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"name": "directus-monorepo",
|
|
"private": true,
|
|
"workspaces": [
|
|
"./app",
|
|
"./api",
|
|
"./packages/*"
|
|
],
|
|
"scripts": {
|
|
"cli": "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",
|
|
"format": "prettier --write \"**/*.{md,y?(a)ml,json}\"",
|
|
"lint": "eslint .",
|
|
"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",
|
|
"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"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,vue}": "eslint --fix",
|
|
"*.{md,y?(a)ml,json}": "prettier --write"
|
|
},
|
|
"devDependencies": {
|
|
"@directus/shared": "workspace:*",
|
|
"@types/jest": "29.2.3",
|
|
"@types/lodash": "4.14.189",
|
|
"@types/seedrandom": "3.0.2",
|
|
"@types/supertest": "2.0.12",
|
|
"@types/uuid": "8.3.4",
|
|
"@typescript-eslint/eslint-plugin": "5.43.0",
|
|
"@typescript-eslint/parser": "5.43.0",
|
|
"axios": "1.1.3",
|
|
"eslint": "8.27.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-plugin-jest": "^27.1.5",
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
"eslint-plugin-vue": "9.7.0",
|
|
"globby": "11.1.0",
|
|
"jest": "29.3.1",
|
|
"jest-environment-node": "29.3.1",
|
|
"knex": "2.3.0",
|
|
"lint-staged": "13.0.3",
|
|
"listr2": "4.0.5",
|
|
"lodash": "4.17.21",
|
|
"prettier": "2.7.1",
|
|
"seedrandom": "3.0.5",
|
|
"simple-git-hooks": "2.8.1",
|
|
"supertest": "6.3.1",
|
|
"ts-jest": "29.0.3",
|
|
"typescript": "4.9.3",
|
|
"uuid": "9.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=8.5.0"
|
|
},
|
|
"volta": {
|
|
"node": "16.15.0",
|
|
"npm": "8.10.0"
|
|
}
|
|
}
|