-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.35 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 2.35 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
{
"name": "@dzcode.io/web-server",
"description": "www.dzcode.io server code",
"version": "1.0.0",
"author": {
"email": "zakman.dev@gmail.com",
"name": "Zakaria Mansouri",
"url": "https://zak-man.com"
},
"dependencies": {
"@dzcode.io/api": "*",
"@dzcode.io/models": "*",
"@dzcode.io/utils": "*",
"@dzcode.io/web": "*",
"express": "^5.1.0"
},
"devDependencies": {
"@types/express": "^5.0.1"
},
"engines": {
"node": ">=20",
"npm": ">=1.4.2"
},
"license": "MIT",
"lint-staged": {
"*.*": [
"npm run lint:eslint --fix",
"npm run lint:prettier -- --write"
]
},
"private": true,
"repository": {
"type": "git",
"repository": "https://github.com/dzcode-io/dzcode.io.git"
},
"scripts": {
"build": "lerna run build:alone --scope=@dzcode.io/web-server --include-dependencies --stream",
"build:alone": "tspc",
"build:alone:watch": "tspc --watch --preserveWatchOutput",
"build:watch": "lerna run build:alone:watch --scope=@dzcode.io/web-server --include-dependencies --parallel",
"clean": "lerna run clean:alone --scope=@dzcode.io/web-server --include-dependencies --stream",
"clean:alone": "del dist coverage node_modules/.cache",
"lint": "npm run build && npm run lint:alone",
"lint:alone": "npm run lint:eslint . && npm run lint:prettier -- --check . && npm run lint:tsc && npm run lint:ts-prune",
"lint:eslint": "eslint --config ../packages/tooling/eslint.config.mjs",
"lint:fix": "npm run build && npm run lint:fix:alone",
"lint:fix:alone": "npm run lint:eslint --fix . && npm run lint:prettier -- --write .",
"lint:prettier": "prettier --config ../packages/tooling/.prettierrc --ignore-path ../packages/tooling/.prettierignore --log-level warn",
"lint:ts-prune": "tsx ../packages/tooling/setup-ts-prune.ts && ts-prune --error",
"lint:tsc": "tsc --noEmit",
"prepare-dockerfile": "tsx ../packages/tooling/write-dockerfile.ts @dzcode.io/web-server",
"prepare-web": "lerna run bundle --scope=@dzcode.io/web --include-dependencies --stream && lerna run pre-deploy --scope=@dzcode.io/web --include-dependencies --stream",
"start": "node dist/app/index.js",
"start:dev": "npm run prepare-web && tsx ../packages/tooling/nodemon.ts \"@dzcode.io/web-server\" && npm run start:nodemon",
"start:nodemon": "nodemon dist/app/index.js"
}
}