mirror of
https://github.com/directus/directus.git
synced 2026-01-23 09:58:10 -05:00
* Clean-up & unify all package.json files * Sort all package.json files the same way Using 'sort-package-json' * Add funding link to packages
67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"name": "directus-monorepo",
|
|
"private": true,
|
|
"workspaces": [
|
|
"./app",
|
|
"./api",
|
|
"./packages/*"
|
|
],
|
|
"scripts": {
|
|
"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",
|
|
"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.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"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=8.5.0"
|
|
},
|
|
"volta": {
|
|
"node": "16.15.0",
|
|
"npm": "8.10.0"
|
|
}
|
|
}
|