-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
54 lines (54 loc) · 1.41 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
{
"name": "swagger-ajv",
"description": "middleware for validation and documentation",
"version": "4.0.0",
"homepage": "https://github.com/AfterShip/swagger-ajv",
"author": {
"name": "tushar",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git://github.com/AfterShip/swagger-ajv.git"
},
"bugs": {
"url": "https://github.com/AfterShip/swagger-ajv/issues"
},
"main": "dist/index.js",
"engines": {
"node": ">= 12"
},
"scripts": {
"lint": "eslint --ext .js .",
"jest": "NODE_ENV=test jest --coverageReporters=json lcov text-summary",
"jest:dev": "NODE_ENV=test jest --coverageReporters=text-summary --watch --notify",
"test": "yarn lint && yarn jest",
"build": "BABEL_ENV=es5 babel src -d dist --ignore=**/__tests__/** --copy-files",
"prepush": "npm test",
"prepublishOnly": "yarn install && yarn build"
},
"dependencies": {
"ajv": "^8.8.2",
"ajv-errors": "^3.0.0",
"js-yaml": "^3.13.1",
"lodash": "^4.17.21",
"pug": "^3.0.2"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.5",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-object-rest-spread": "^7.17.3",
"@babel/preset-env": "^7.16.11",
"eslint": "^8.9.0",
"eslint-config-aftership": "^7.0.0",
"husky": "^2.3.0",
"jest": "^27.5.1"
},
"husky": {
"hooks": {
"pre-push": "yarn test && yarn audit; [[ $? -ge 8 ]] && exit 1 || exit 0"
}
},
"license": "MIT"
}