forked from growthbook/growthbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.92 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"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",
"lint:ci": "eslint './**/*.{ts,tsx,js,jsx}' --max-warnings 0 --cache --cache-strategy content",
"pretty": "prettier --write ./**/*.{json,css,scss,md,mdx}",
"type-check": "wsrun -m type-check",
"clean": "rimraf node_modules && wsrun -m clean && yarn cache clean",
"unused-export-check": "wsrun -m unused-export-check",
"test": "wsrun -m test",
"dev:apps": "wsrun -p 'back-end' -p 'front-end' -p 'shared' -p 'enterprise' -c dev",
"dev": ". $(cd packages/stats && poetry env info --path)/bin/activate && yarn dev:apps",
"build:deps": "wsrun -p '@growthbook/growthbook' -p '@growthbook/growthbook-react' -p 'shared' -p 'enterprise' -t -c build",
"build:app": "wsrun -p 'back-end' -p 'front-end' -c build",
"build": "yarn build:deps && yarn build:app",
"start": "wsrun -p 'back-end' -p 'front-end' --no-prefix -c start",
"start:with-tracing": "wsrun -p 'back-end' -p 'front-end' --no-prefix -c start:with-tracing",
"setup": "yarn build:deps && 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:ci && yarn run type-check && yarn run test",
"postinstall": "patch-package",
"generate-sdk-report": "yarn workspace shared generate-sdk-report"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"patch-package": "^8.0.0",
"wsrun": "^5.2.4"
},
"devDependencies": {
"@next/eslint-plugin-next": "^12.2.3",
"@types/eslint": "^8.4.5",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"eslint": "^8.20.0",
"eslint-config-next": "^14.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-no-async-foreach": "^0.1.1",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.30.1",
"growthbook": "^0.2.1",
"husky": "^7.0.0",
"lint-staged": "^10.2.7",
"plop": "^3.1.1",
"prettier": "^2.2.1",
"typescript": "5.3.3"
},
"lint-staged": {
"./**/*.{json,css,scss,md,mdx}": [
"prettier --write"
],
"./**/*.{ts,tsx}": [
"yarn eslint --fix --max-warnings 0 --cache --cache-strategy content"
],
"./packages/stats/{gbstats,tests}/**/*.py": [
"bash -c \"yarn workspace stats lint\" && :"
]
},
"resolutions": {
"@growthbook/growthbook": "1.0.0"
},
"prettier": {
"overrides": [
{
"files": "**/*.mdx",
"options": {
"embeddedLanguageFormatting": "off"
}
}
]
},
"license": "MIT"
}