Skip to content

Commit d435a19

Browse files
Setting up the base development enviroment.
1 parent 132f03d commit d435a19

File tree

6 files changed

+65
-0
lines changed

6 files changed

+65
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/distribution
2+
/node_modules

.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "0.1.0",
5+
"command": "gulp",
6+
"isShellCommand": true,
7+
"args": ["--no-color"],
8+
"showOutput": "always"
9+
}

gulpfile.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
var gulp = require("gulp");
2+
var ts = require("gulp-typescript");
3+
4+
var tsProject = ts.createProject("ts.config.json");
5+
6+
gulp.task("default", function () {
7+
return tsProject.src()
8+
.pipe(tsProject())
9+
.js.pipe(gulp.dest("distribution"));
10+
});

package.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "oauth.server",
3+
"version": "0.0.9",
4+
"description": "An node js abstract implementation of an OAuth server that can be implemented with any kind of persistence and can be embedded in any web frameworks.",
5+
"main": "distribution/main.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/JemsFramework/oauth.server.git"
12+
},
13+
"keywords": [
14+
"oauth",
15+
"oauth2",
16+
"authentication",
17+
"authorizarion",
18+
"scope",
19+
"security"
20+
],
21+
"author": "Francisco Mercedes <franciscomerdot@gmail.com>",
22+
"license": "ISC",
23+
"bugs": {
24+
"url": "https://github.com/JemsFramework/oauth.server/issues"
25+
},
26+
"homepage": "https://github.com/JemsFramework/oauth.server#readme",
27+
"devDependencies": {
28+
"gulp": "^3.9.1",
29+
"gulp-typescript": "^3.1.5",
30+
"typescript": "^2.2.1"
31+
}
32+
}

source/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export class Main {
2+
3+
}

ts.config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"include": [
3+
"source/**/*"
4+
],
5+
"compilerOptions": {
6+
"noImplicitAny": true,
7+
"target": "es5"
8+
}
9+
}

0 commit comments

Comments
 (0)