mirror of
https://github.com/growthbook/growthbook.git
synced 2021-08-07 14:23:53 +03:00
* Use job queue to update running experiment results every 6 hours. * Refactor the update job * Connect to Mongo and start the queue automatically on back-end startup. Limit queue prefetch to 5 per job type for better horizontal scalability.
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "growthbook-app",
|
|
"repository": "https://github.com/growthbook/growthbook-app.git",
|
|
"private": true,
|
|
"scripts": {
|
|
"lint": "eslint './**/*.{ts,tsx,js,jsx}' --fix --max-warnings 0",
|
|
"pretty": "prettier --write ./**/*.{json,css,scss,md,mdx}",
|
|
"type-check": "wsrun -m type-check",
|
|
"test": "wsrun -m test",
|
|
"dev": "wsrun -p '*-end' -m dev",
|
|
"build": "wsrun -p '*-end' -m build",
|
|
"start": "wsrun -p '*-end' -m start"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"dependencies": {
|
|
"wsrun": "^5.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@next/eslint-plugin-next": "^10.2.0",
|
|
"@types/eslint": "^6.1.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.22.1",
|
|
"@typescript-eslint/parser": "^4.22.1",
|
|
"eslint": "^7.1.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"eslint-plugin-react": "^7.20.0",
|
|
"husky": "^4.2.5",
|
|
"lint-staged": "^10.2.7",
|
|
"prettier": "^2.2.1",
|
|
"typescript": "^4.2.4"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn type-check && lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"./**/*.{json,css,scss,md}": [
|
|
"prettier --write"
|
|
],
|
|
"./**/*.{js,ts,jsx,tsx}": [
|
|
"yarn lint"
|
|
]
|
|
},
|
|
"license": "MIT"
|
|
}
|