-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.3 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 3.3 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "@nbw/root",
"type": "module",
"version": "1.0.0",
"description": "",
"main": "index.js",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"development": "./src/index.ts"
},
"./backend": {
"import": "./apps/backend/dist/index.js",
"types": "./apps/backend/dist/index.d.ts"
},
"./frontend": {
"import": "./apps/frontend/dist/index.js",
"types": "./apps/frontend/dist/index.d.ts"
},
"./configs": {
"import": "./packages/configs/dist/index.js",
"types": "./packages/configs/dist/index.d.ts"
},
"./database": {
"import": "./packages/database/dist/index.js",
"types": "./packages/database/dist/index.d.ts"
},
"./thumbnail": {
"import": "./packages/thumbnail/dist/index.js",
"types": "./packages/thumbnail/dist/index.d.ts"
},
"./song": {
"import": "./packages/song/dist/index.js",
"types": "./packages/song/dist/index.d.ts"
},
"./sounds": {
"import": "./packages/sounds/dist/index.js",
"types": "./packages/sounds/dist/index.d.ts"
}
},
"scripts": {
"postinstall": "bun run build:packages",
"build:packages": "bun run ./scripts/build.ts",
"build:apps": "bun run --filter './apps/*' build",
"build:server": "bun run build:packages && bun run --filter '@nbw/backend' build",
"build:web": "bun run --filter '@nbw/frontend' build",
"build:all": "bun run build:packages && bun run build:apps",
"docker": "docker-compose -f docker-compose-dev.yml up -d && bun run dev && docker-compose down",
"start:apps": "bun run --filter './apps/*' start",
"start:server": "bun run --filter '@nbw/backend' start",
"start:web": "bun run --filter '@nbw/frontend' start",
"dev:server": "bun run --filter '@nbw/backend' start:dev",
"dev:web": "bun run --filter '@nbw/frontend' dev",
"dev:apps": "bun run --filter './apps/*' dev",
"dev": "concurrently --names 'backend,frontend' --prefix-colors 'cyan,magenta' 'cd apps/backend && bun run start:dev' 'cd apps/frontend && bun run dev'",
"typecheck": "tsc -b --noEmit",
"lint": "eslint \"**/*.{ts,tsx}\" --fix",
"lint:check": "eslint \"**/*.{ts,tsx}\"",
"format": "prettier --write .",
"cy:open": "bun run test:cy",
"test:cy": "bun run --filter 'tests' cy:open",
"prepare": "husky",
"lint-staged": "lint-staged"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"keywords": [],
"author": "",
"license": "ISC",
"workspaces": [
"apps/*",
"packages/*"
],
"devDependencies": {
"@eslint/js": "^9.36.0",
"@types/bun": "^1.3.3",
"@types/node": "^20.19.25",
"@typescript-eslint/eslint-plugin": "^8.43.0",
"@typescript-eslint/parser": "^8.43.0",
"concurrently": "^9.2.1",
"eslint": "^9.36.0",
"eslint-config-prettier": "^8.10.2",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-mdx": "^3.6.2",
"eslint-plugin-unused-imports": "^4.2.0",
"globals": "^16.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.3",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"typescript": "^5.9.2",
"typescript-eslint": "^8.44.1"
},
"dependencies": {
"@nbw/sounds": "workspace:*",
"@types/jest": "^30.0.0"
}
}