-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 3.06 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 3.06 KB
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
{
"name": "reqresnext",
"version": "1.5.2",
"description": "Tiny helper for express middleware testing",
"main": "target/es5/index.js",
"types": "typings/index.d.ts",
"typescript": {
"definition": "typings/index.d.ts"
},
"scripts": {
"flow": "flow",
"flow:coverage": "flow-coverage-report -i 'src/main/js/**/*.js' -t html -t json -t text --threshold 75",
"build": "BABEL_ENV=production babel src/main/js --out-dir target/es5 && npm run docs",
"lint": "eslint 'src/**/*.js'",
"lint:fix": "npm run lint -- --fix",
"jest": "jest -w 2",
"test": "npm run flow && npm run flow:coverage && npm run lint && npm run jest && npm audit --prod",
"test:report": "npm run coveralls:push",
"coveralls:push": "cat ./coverage/lcov.info | coveralls",
"docs": "documentation build src/main/js -f html --github -o docs",
"release": "npm test && npm run build && npm run semantic-release",
"semantic-release": "semantic-release",
"postupdate": "npm i && npm shrinkwrap && npm run build && npm run test"
},
"repository": {
"type": "git",
"url": "[email protected]:antongolub/reqresnext.git"
},
"keywords": [
"mock",
"express mock",
"http mock",
"mock testing",
"req res next"
],
"author": "Anton Golub <[email protected]> (https://antongolub.com)",
"license": "MIT",
"dependencies": {
"express": "^4.17.2",
"lodash": "^4.17.21",
"setprototypeof": "^1.2.0"
},
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.12",
"@babel/eslint-parser": "^7.16.5",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-flow-strip-types": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.16.11",
"@babel/preset-flow": "^7.16.7",
"babel-preset-minify": "^0.5.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"coveralls": "^3.1.1",
"documentation": "^13.2.5",
"eslint": "^8.7.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-config-standard": "^17.0.0-0",
"flow-bin": "^0.170.0",
"flow-coverage-report": "^0.8.0",
"flow-remove-types": "^2.170.0",
"flow-typed": "^3.6.1",
"jest": "^27.4.7"
},
"files": [
"README.md",
"CHANGELOG.md",
"target",
"flow-typed",
"typings"
],
"release": {
"branch": "master",
"plugins": [
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/git",
"@semantic-release/github",
"@semantic-release/npm",
[
"@qiwi/semantic-release-gh-pages-plugin",
{
"msg": "docs updated",
"branch": "gh-pages"
}
]
]
},
"jest": {
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"<rootDir>/src/main/js/interface.js"
],
"collectCoverageFrom": [
"<rootDir>/src/main/**/*.js"
],
"testMatch": [
"<rootDir>/src/test/**/*.js"
]
}
}