This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.52 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
{
"name": "writtter",
"version": "0.0.1",
"description": "Back-End of the Writtter website.",
"main": "index.js",
"scripts": {
"install-global": "npm i -g nodemon",
"clean-file": "rm -fR ./dist/ ./yarn-error.log ./coverage/ ./.nyc_output/",
"clean-all": "npm run clean-file && rm -fR ./node_modules/",
"prettier": "prettier --write {src,test,schemas,templates}/{**/,}*.json {**/,}{**/,}*.{js,md} openapi.yaml",
"lint": "eslint ./src/*.js ./src/**/*.js",
"pretest": "npm run lint",
"test": "mocha",
"posttest": "npm audit --only=prod",
"cover": "nyc --reporter=html --reporter=lcov npm run test",
"start": "node ./index.js",
"dev": "nodemon --watch 'src/**/*.js' --exec node -- ./index.js",
"debug": "NODE_ENV=default node --inspect ./src/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/g-ongenae/writtter.git"
},
"keywords": [
"writing",
"stories"
],
"author": "Guillaume Ongenae",
"license": "MIT",
"bugs": {
"url": "https://github.com/g-ongenae/writtter/issues"
},
"homepage": "https://github.com/g-ongenae/writtter#readme",
"engines": {
"node": "10.x"
},
"devDependencies": {
"chai": "4.2.0",
"eslint": "6.7.2",
"eslint-config-prettier": "6.7.0",
"husky": "3.1.0",
"lint-staged": "9.5.0",
"mocha": "6.2.2",
"nyc": "14.1.1",
"prettier": "1.19.1",
"supertest": "4.0.2"
},
"dependencies": {
"ajv": "6.12.3",
"bcrypt": "3.0.7",
"boom": "7.3.0",
"config": "3.2.4",
"js-yaml": "3.13.1",
"jsonwebtoken": "8.5.1",
"koa": "2.11.0",
"koa-bodyparser": "4.2.1",
"koa-cors": "0.0.16",
"koa-helmet": "5.2.0",
"koa-log": "2.1.0",
"koa-router": "7.4.0",
"lodash": "4.17.21",
"moment": "2.29.2",
"node-emoji": "1.10.0",
"postguard": "0.2.0",
"promise-mysql": "4.1.1",
"squid": "0.5.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/**/*.md": [
"prettier --list-different \"**/**/*.md\""
],
"./openapi.yaml": [
"prettier --list-different \"./openapi.yaml\""
],
"**/**/*.js": [
"prettier --list-different \"**/**/**.js\""
],
"{schema,src,test}/{**/,}**.json": [
"prettier --list-different \"{schema,src,test}/{**/,}**.json\""
]
},
"nyc": {
"check-coverage": false,
"per-file": true,
"lines": 60,
"statements": 60,
"functions": 60,
"branches": 60,
"cache": false,
"extension": [
".js"
]
}
}