-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.57 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
{
"name": "html2pdf-microservice",
"version": "0.0.1",
"description": "Microservice REST API that generates PDF",
"main": "src/index.js",
"scripts": {
"prebuild": "npm run clean",
"build": "babel src -d dist",
"clean": "rimraf dist postman/*.pdf",
"dev": "nodemon --watch src boot-dev.js",
"format": "prettier-eslint --write 'src/**/*.js'",
"prelint": "npm run format",
"lint": "eslint src",
"prestart": "npm run build",
"start": "node dist/index.js",
"pretest": "npm run lint",
"test": "jest",
"test:watch": "jest --watchAll"
},
"keywords": [
"pdf",
"generator",
"rest",
"api",
"microservice"
],
"author": "Stanislas Ormières",
"license": "ISC",
"dependencies": {
"@babel/cli": "^7.8.4",
"body-parser": "^1.19.0",
"express": "^4.17.1",
"express-fileupload": "^1.1.6",
"morgan": "^1.10.0",
"puppeteer": "^2.1.1",
"winston": "^3.2.1"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@babel/register": "^7.9.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.1.0",
"babel-plugin-dynamic-import-node": "^2.3.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.3",
"jest": "^25.1.0",
"lint-staged": "^10.0.8",
"nodemon": "^2.0.2",
"prettier-eslint-cli": "^5.0.0",
"rimraf": "^3.0.2",
"supertest": "^4.0.2"
},
"jest": {
"collectCoverage": false,
"collectCoverageFrom": [
"**/*.{js,vue}",
"!**/node_modules/**"
],
"coverageReporters": [
"html",
"text-summary"
],
"testMatch": [
"<rootDir>/src/**/?(*.)(spec).{js,jsx,mjs}"
],
"testEnvironment": "node",
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"env": {
"jest": true,
"node": true
},
"extends": [
"plugin:import/errors",
"plugin:import/warnings",
"standard"
],
"plugins": [
"import"
],
"rules": {
"import/no-unresolved": [
2,
{
"commonjs": true,
"amd": true
}
],
"import/named": 2,
"import/namespace": 2,
"import/default": 2,
"import/export": 2,
"comma-dangle": [
2,
"always-multiline"
]
}
}
}