Skip to content

Commit e7567da

Browse files
committed
first commit
0 parents  commit e7567da

File tree

7 files changed

+83
-0
lines changed

7 files changed

+83
-0
lines changed

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
coverage
2+
node_modules
3+
tmp
4+
tmpdirs-serverless

.eslintrc.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
"extends": "airbnb",
3+
"plugins": [],
4+
"rules": {
5+
"func-names": "off",
6+
7+
// doesn't work in node v4 :(
8+
"strict": "off",
9+
"prefer-rest-params": "off",
10+
"react/require-extension" : "off",
11+
"import/no-extraneous-dependencies" : "off"
12+
},
13+
"env": {
14+
"mocha": true
15+
}
16+
};

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
npm-debug.log

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: node_js
2+
3+
node_js:
4+
- '6.2'
5+
6+
sudo: false
7+
8+
install:
9+
- travis_retry npm install
10+
11+
script:
12+
- npm run lint

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Serverless Step Functions

lib/index.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
'use strict';
2+
3+
class AwsStepFunctionsDeploy {
4+
constructor(serverless, options) {
5+
this.serverless = serverless;
6+
this.options = options;
7+
8+
this.hooks = {
9+
'deploy:deploy': this.deploy.bind(this),
10+
};
11+
}
12+
13+
deploy() {
14+
this.serverless.cli.consoleLog('Start Deploy Step Functions');
15+
}
16+
}
17+
module.exports = AwsStepFunctionsDeploy;

package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "serverless-step-functions",
3+
"version": "0.1.0",
4+
"description": "The module is AWS Step Functions plugin for Serverless Framework",
5+
"main": "lib/index.js",
6+
"scripts": {
7+
"test": "npm run test",
8+
"lint": "eslint ."
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/horike37/serverless-step-functions.git"
13+
},
14+
"keywords": [
15+
"serverless"
16+
],
17+
"author": "horike37",
18+
"license": "MIT",
19+
"bugs": {
20+
"url": "https://github.com/horike37/serverless-step-functions/issues"
21+
},
22+
"homepage": "https://github.com/horike37/serverless-step-functions#readme",
23+
"devDependencies": {
24+
"eslint": "^3.3.1",
25+
"eslint-config-airbnb": "^10.0.1",
26+
"eslint-config-airbnb-base": "^5.0.2",
27+
"eslint-plugin-import": "^1.13.0",
28+
"eslint-plugin-jsx-a11y": "^2.1.0",
29+
"eslint-plugin-react": "^6.1.1"
30+
}
31+
}

0 commit comments

Comments
 (0)