forked from growthbook/growthbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.01 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "growthbook-app",
"repository": "https://github.com/growthbook/growthbook-app.git",
"private": true,
"scripts": {
"lint": "eslint './**/*.{ts,tsx,js,jsx}' --fix --max-warnings 0 --cache --cache-strategy content",
"pretty": "prettier --write ./**/*.{json,css,scss,md,mdx}",
"type-check": "wsrun -m type-check",
"test": "wsrun -m test",
"dev": ". $(cd packages/stats && poetry env info --path)/bin/activate && wsrun -p '*-end' -m dev",
"build": "wsrun -p '*-end' -m build",
"start": "wsrun -p '*-end' -m start",
"setup": "wsrun -p '@growthbook/growthbook' -c build && wsrun -p '@growthbook/growthbook-react' -c build && wsrun -p 'stats' -c setup",
"prepare": "husky install",
"plop": "plop",
"migrate-encryption-key": "yarn workspace back-end migrate-encryption-key",
"generate-api-types": "yarn workspace back-end generate-api-types",
"ci": "yarn lint && yarn run type-check && yarn run test"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"wsrun": "^5.2.4"
},
"devDependencies": {
"@next/eslint-plugin-next": "^12.2.3",
"@types/eslint": "^8.4.5",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.20.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.30.1",
"husky": "^7.0.0",
"lint-staged": "^10.2.7",
"plop": "^3.1.1",
"prettier": "^2.2.1",
"typescript": "4.7.4"
},
"lint-staged": {
"./**/*.{json,css,scss,md,mdx}": [
"prettier --write"
],
"./**/*.{ts,tsx}": [
"yarn lint"
],
"./packages/stats/gbstats/**/*.py": [
"black",
"flake8 --config=packages/stats/.flake8"
]
},
"prettier": {
"overrides": [
{
"files": "**/*.mdx",
"options": {
"embeddedLanguageFormatting": "off"
}
}
]
},
"license": "MIT"
}