Skip to content

Commit dd9b28c

Browse files
author
Abilio Henrique
committed
Initial commit
0 parents  commit dd9b28c

16 files changed

+4296
-0
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
insert_final_newline = true

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
/npm-*
3+
/dist
4+
5+
.directory
6+
.DS_STORE*

.jestrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"verbose": true,
3+
"transform": { ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" },
4+
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
5+
"moduleFileExtensions": [ "ts", "tsx", "js" ],
6+
"testPathIgnorePatterns": [
7+
"/node_modules/",
8+
"./dist"
9+
]
10+
}

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6

.vscode/launch.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
// Use IntelliSense to learn about possible Node.js debug attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"compounds": [
7+
{
8+
"name": "Compound",
9+
"configurations": [
10+
"Project1"
11+
]
12+
}
13+
],
14+
"configurations": [
15+
{
16+
"type": "node",
17+
"request": "attach",
18+
"name": "Attach (Inspector Protocol)",
19+
"port": 9229,
20+
"protocol": "inspector"
21+
},
22+
{
23+
"type": "node",
24+
"request": "launch",
25+
"protocol": "legacy",
26+
"name": "Jest (Legacy)",
27+
"cwd": "${workspaceRoot}",
28+
"stopOnEntry": false,
29+
"runtimeExecutable": null,
30+
"runtimeArgs": [
31+
"--debug-brk",
32+
"${workspaceRoot}/node_modules/.bin/jest",
33+
"-i",
34+
"-c", ".jestrc"
35+
],
36+
"smartStep": true,
37+
"outDir": null,
38+
"sourceMaps": true,
39+
"port": 5858,
40+
"address": "127.0.0.1",
41+
"skipFiles": [
42+
"<node_internals>/**/*.js",
43+
"node_modules/**/*.js"
44+
]
45+
}
46+
]
47+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.tsdk": "./node_modules/typescript/lib"
3+
}

.vscode/tasks.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"version": "0.1.0",
3+
"command": "tsc",
4+
"isShellCommand": true,
5+
"args": [],
6+
"showOutput": "silent",
7+
"problemMatcher": "$tsc"
8+
}

CHANGELOG.md

Whitespace-only changes.

README.md

Whitespace-only changes.

package.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "serverless-openapi-documentation",
3+
"version": "0.0.0",
4+
"description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration",
5+
"main": "dist/index.js",
6+
"author": "Abilio Henrique <[email protected]>",
7+
"license": "MIT",
8+
"files": [
9+
"dist"
10+
],
11+
"scripts": {
12+
"test": "jest --config ./.jestrc",
13+
"lint": "eslint src",
14+
"test:watch": "yarn test -- -i --watch",
15+
"release:npm": "cd dist && npm publish",
16+
"docs": "typedoc --out ./dist/docs --target es6 --readme README.md",
17+
"build": "node scripts/package"
18+
},
19+
"devDependencies": {
20+
"@types/node": "^7.0.12",
21+
"eslint": "^3.18.0",
22+
"eslint-config-airbnb-base": "^11.1.2",
23+
"eslint-plugin-import": "^2.2.0",
24+
"jest": "^19.0.2",
25+
"serverless": "^1.9.0",
26+
"ts-jest": "^19.0.6",
27+
"ts-node": "^3.0.2",
28+
"tslint": "^4.5.1",
29+
"tslint-eslint-rules": "^3.5.1",
30+
"typescript": "^2.2.2"
31+
},
32+
"dependencies": {
33+
"@types/bluebird": "^3.5.2",
34+
"@types/fs-promise": "^1.0.1",
35+
"@types/js-yaml": "^3.5.29",
36+
"bluebird": "^3.5.0",
37+
"fs-promise": "^2.0.2",
38+
"js-yaml": "^3.8.2",
39+
"lutils": "^1.2.5"
40+
}
41+
}

0 commit comments

Comments
 (0)