-
Notifications
You must be signed in to change notification settings - Fork 95
/
package.json
89 lines (89 loc) · 3.05 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
82
83
84
85
86
87
88
89
{
"version": "1.0.0",
"private": true,
"keywords": [
"react",
"voiceflow"
],
"homepage": "https://github.com/voiceflow/react-chat#readme",
"bugs": {
"url": "https://github.com/voiceflow/react-chat/issues"
},
"license": "ISC",
"author": "Ben Teichman, Tyler Han",
"workspaces": [
"packages/*",
"examples/*",
"examples/live-agent/server",
"apps/documentation"
],
"scripts": {
"build": "turbo run build:cmd",
"build:all": "yarn build",
"clean": "turbo run clean && rimraf node_modules",
"dev": "turbo run dev --no-cache --parallel --continue",
"dev:chat": "NODE_ENV=development turbo run dev --no-cache --parallel --continue --filter=!react-chat --filter=!live-agent",
"lint": "run-p -c lint:eslint lint:prettier",
"local": "cd packages/react-chat; yarn local",
"lint:eslint": "yarn g:eslint",
"lint:fix": "run-p -c \"g:eslint --fix\" \"g:prettier --write\"",
"lint:prettier": "yarn g:prettier --check",
"lint:report": "run-p -c \"lint:eslint --format ./node_modules/@voiceflow/eslint-config/src/formatter.js --quiet\" lint:prettier",
"test": "turbo run test:dependencies test:types test:unit",
"test:types": "turbo run test:types",
"test:dependencies": "turbo run test:dependencies",
"test:unit": "turbo run test:unit",
"prepare": "husky",
"// global": "Scripts to make binaries available to workspaces",
"g:build:pkg": "cd $INIT_CWD && $PROJECT_CWD/scripts/build_pkg.sh",
"g:depcruise": "cd $INIT_CWD && depcruise .",
"g:eslint": "cd $INIT_CWD && eslint --config $PROJECT_CWD/eslint.config.mjs",
"g:prettier": "cd $INIT_CWD && prettier --ignore-path $PROJECT_CWD/.prettierignore --log-level warn . '!**/*.{mdx,js,jsx,cjs,mjs,ts,tsx,cts,mts}'",
"g:rimraf": "cd $INIT_CWD && rimraf",
"g:run-p": "cd $INIT_CWD && run-p",
"g:tsc": "cd $INIT_CWD && tsc",
"g:tsc-alias": "cd $INIT_CWD && tsc-alias",
"g:turbo": "cd $INIT_CWD && turbo",
"g:vitest": "cd $INIT_CWD && vitest"
},
"commitlint": {
"extends": [
"@voiceflow/commitlint-config"
]
},
"lint-staged": {
"*.{mdx,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --fix",
"*.{html,md,json,yml,yaml,toml,css}": "prettier --write"
},
"prettier": "@voiceflow/prettier-config",
"devDependencies": {
"@commitlint/cli": "19.2.2",
"@voiceflow/commitlint-config": "2.3.1",
"@voiceflow/dependency-cruiser-config": "1.8.2",
"@voiceflow/eslint-config": "7.5.0",
"@voiceflow/git-branch-check": "1.4.2",
"@voiceflow/prettier-config": "1.6.0",
"@voiceflow/tsconfig": "1.7.1",
"@voiceflow/vitest-config": "1.2.2",
"dependency-cruiser": "16.3.1",
"eslint": "9.0.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"npm-run-all": "4.1.5",
"prettier": "3.3.3",
"rimraf": "5.0.5",
"source-map-support": "0.5.21",
"tsc-alias": "1.8.8",
"turbo": "1.13.2",
"typescript": "5.4.5",
"vitest": "1.5.0"
},
"packageManager": "[email protected]",
"engines": {
"node": "20"
},
"volta": {
"node": "20.12.1",
"yarn": "3.2.1"
}
}