-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
139 lines (139 loc) · 3.44 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "koa-node8-boilerplate",
"version": "0.0.0-development",
"description": "Boilerplate for NodeJS HTTP RESTful API based on Koa and koa-router",
"main": "dist/src/http-server.js",
"bin": {
"koa-http-server": "./dist/bin/http-server"
},
"repository": "git@github.com:TeslaCtroitel/koa-node8-boilerplate.git",
"author": "EnRoute <nnsceg@gmail.com>",
"license": "MIT",
"keywords": [
"boilerplate",
"template",
"koa",
"koa2",
"flexible",
"nodejs",
"node",
"node8"
],
"scripts": {
"prebuild": "rimraf ./dist",
"build": "babel --source-maps --out-dir ./dist/ --ignore node_modules,test.js,spec.js,coverage,dist,.nyc_output .",
"start": "cross-env NODE_ENV=production node ./dist/bin/http-server.js",
"start:dev": "cross-env NODE_ENV=development nodemon --require @babel/register ./bin/http-server.js",
"start:debug": "cross-env NODE_ENV=development node --inspect-brk --require @babel/register ./bin/http-server.js",
"test": "cross-env NODE_ENV=test jest",
"test:dev": "cross-env NODE_ENV=test jest --watch --notify",
"test:cover": "cross-env NODE_ENV=test jest --coverage",
"lint": "eslint .",
"lint:format": "prettier --write \"src/**/*.js\" \"config/**/*.js\" \"bin/**/*.js\"",
"lint:fix": "eslint --fix ."
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
"bunyan": "^1.8.12",
"core-js": "3",
"cross-env": "^6.0.3",
"http-shutdown": "^1.2.1",
"koa": "^2.5.3",
"koa-bodyparser": "^4.2.0",
"koa-router": "^7.2.1",
"twconf": "^0.7.1"
},
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.0.0",
"@types/bunyan": "^1.8.6",
"@types/jest": "^24.0.18",
"@types/koa": "^2.0.50",
"@types/koa-router": "^7.0.42",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.9.0",
"bunyan-debug-stream": "^2.0.0",
"coveralls": "^3.0.0",
"eslint": "^6.5.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^3.0.8",
"jest": "^24.9.0",
"lint-staged": "^9.4.1",
"nodemon": "^1.14.11",
"prettier": "^1.14.3",
"rimraf": "^3.0.0",
"semantic-release": "^15.9.17",
"supertest": "^4.0.2"
},
"engines": {
"node": ">=10.12.0"
},
"nodemonConfig": {
"ignore": [
"**/*.test.js",
"**/*.spec.js",
"test/**/*.js",
"dist",
"coverage",
".*"
],
"delay": "1000"
},
"release": {
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "docs",
"scope": "/readme/",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "build",
"release": "patch"
}
]
}
},
"lint-staged": {
"*.{js}": [
"eslint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
]
}