-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.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
{
"name": "express-template",
"description": "express template",
"version": "0.0.5",
"private": true,
"author": "aaronjxz@gmail.com",
"license": "MIT",
"main": "index.js",
"directories": {
"test": "tests"
},
"repository": {
"type": "git",
"url": "https://github.com/es-labs/express-template"
},
"bugs": {
"url": "https://github.com/es-labs/express-template/issues"
},
"homepage": "https://github.com/es-labs/express-template#readme",
"keywords": [
"nodejs",
"express"
],
"engines": {
"node": ">=18",
"npm": ">=9"
},
"scripts": {
"app": "node --trace-warnings --watch --watch-path=./apps index.js",
"build:lib": "npm i @es-labs/node@latest",
"git:hash": "git rev-parse --verify --short HEAD",
"git:branch": "git rev-parse --abbrev-ref HEAD",
"lint": "eslint .",
"lint:fix": "eslint --fix --no-fix-warnings --no-report-warnings .",
"prepare": "git config core.hooksPath ./git-hooks || echo 'Can not set git hooks'",
"prettier:check": "prettier --check apps/**/*.{js,json}",
"prettier:write": "prettier --write apps/**/*.{js,json}",
"start": "NODE_ENV=development npm run app",
"start:win": "set NODE_ENV=development&&npm run app",
"test": "NODE_ENV=development node --test --test-only",
"test:win": "set NODE_ENV=development&&node --test --test-only",
"test:env:win": "set EDITOR=vim && echo $EDITOR",
"test:e2e": "start-server-and-test start http://localhost:8080 test",
"update-commit-hash": "git rev-parse --verify --short HEAD > commit-hash"
},
"dependencies": {
"@es-labs/esm": "^0.0.21",
"@es-labs/node": "^0.0.39",
"esm": "^3.2.25",
"express": "^4.20.0",
"express-jsdoc-swagger": "^1.8.0",
"sqlite3": "^5.1.7"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"eslint": "^9.10.0",
"node-mocks-http": "^1.16.0",
"prettier": "^3.3.3",
"start-server-and-test": "^2.0.7"
}
}