-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
88 lines (88 loc) · 2.7 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
{
"name": "@coralblack/cyan",
"version": "0.1.27",
"description": "Node.js, Faster, cheaper, better web framework written in Typescript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"start:dev": "nodemon --watch ./src --ext ts,js,yaml,yml,json --delay 0.1 --exec 'npm run build && cd example && npm run start:dev'",
"lint": "gts lint",
"lint:fix": "gts fix",
"postlint": "cd example && npm run lint",
"postlint:fix": "cd example && npm run lint:fix",
"prebuild": "rm -rf dist/*",
"build": "tsc",
"release:patch": "npm version patch --no-git-tag-version",
"prerelease": "git diff --exit-code",
"release": "npm run release:patch && export RELEASE_VER=$(node -e \"console.log(require('./package.json').version)\") && git checkout -b feature/bump-ver_${RELEASE_VER} && npm run build && git add . && git commit -m \"Bump version, v${RELEASE_VER}\" &&git tag -a v${RELEASE_VER} -m \"Release version, v${RELEASE_VER}\" && git push --set-upstream origin feature/bump-ver_${RELEASE_VER} && git push origin v${RELEASE_VER}"
},
"engines": {
"node": ">=10.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/coralblack/cyan.git"
},
"author": "CORAL.BLACK",
"license": "MIT",
"bugs": {
"url": "https://github.com/coralblack/cyan/issues"
},
"homepage": "https://github.com/coralblack/cyan#readme",
"dependencies": {
"axios": "^0.26.1",
"body-parser": "^1.19.2",
"class-transformer": "^0.4.0",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"express": "^4.19.2",
"glob": "^11.0.0",
"knex": "^0.95.6",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"mysql2": "^2.3.3",
"reflect-metadata": "^0.1.13",
"source-map-support": "^0.5.21",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1"
},
"devDependencies": {
"@types/body-parser": "^1.19.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.21",
"@types/knex": "^0.16.1",
"@types/lodash": "^4.14.179",
"@types/morgan": "^1.9.3",
"@types/node": "^14.17.9",
"@types/source-map-support": "^0.5.4",
"@types/swagger-jsdoc": "^6.0.4",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"gts": "^3.1.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.5",
"nodemon": "^2.0.15",
"supertest": "^6.2.2",
"ts-node": "^10.7.0",
"tsconfig-paths": "^3.10.1"
},
"peerDependencies": {
"typescript": ">=4.x"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"gts fix",
"git add"
]
}
}