-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.31 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
{
"name": "flood-api",
"version": "1.1.5",
"description": "API wrapper for jesec/flood",
"homepage": "https://github.com/sabersalv/flood-api",
"author": "Saber",
"license": "MIT",
"main": "dist/node.js",
"browser": "dist/browser.js",
"files": [
"dist"
],
"scripts": {
"prepublishOnly": "yarn build",
"build": "yarn endpoints:build && yarn babel:build",
"babel:build": "babel src --out-dir dist --copy-files --no-copy-ignored --delete-dir-on-start --ignore \"**/__tests__\"",
"endpoints:build": "node scripts/endpoints-gen openapi.yaml src/generated/endpoints.json",
"docs:dev": "redoc-cli serve openapi.yaml --watch --options.theme.logo.maxWidth=100px --options.hideDownloadButton --options.payloadSampleIdx=99",
"docs:build": "redoc-cli bundle openapi.yaml --options.theme.logo.maxWidth=100px --options.hideDownloadButton --options.payloadSampleIdx=99 && mkdir docs-build && mv redoc-static.html docs-build/index.html && cp public/* docs-build"
},
"eslintConfig": {
"extends": [
"standard",
"prettier"
],
"plugins": [
"jest"
],
"env": {
"jest/globals": true
}
},
"prettier": {
"semi": false,
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.js": [
"prettier --write"
]
},
"jest": {
"transform": {
"\\.js$": "babel-jest"
}
},
"dependencies": {
"@octokit/endpoint": "^6.0.11",
"event-source-polyfill": "^1.0.25",
"is-plain-object": "^5.0.0",
"node-fetch": "^2.6.1"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.13",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/preset-env": "^7.13.12",
"babel-jest": "^26.6.3",
"eslint": "^7.12.1",
"eslint-config-prettier": "^8.1.0",
"eslint-config-standard": "16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"husky": "^6.0.0",
"jest": "^26.6.3",
"jest-transforms": "^1.0.0",
"lint-staged": "^10.5.4",
"lodash": "^4.17.21",
"netlify-cli": "^3.16.2",
"prettier": "^2.2.1",
"redoc-cli": "^0.11.2",
"swagger-parser": "^10.0.2",
"widdershins": "^4.0.1"
}
}