Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarf authored and mrbatista committed Jan 23, 2019
0 parents commit 4de01f1
Show file tree
Hide file tree
Showing 16 changed files with 12,427 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coverage/
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.nyc_output
.history
lib
lib_test
16 changes: 16 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# gitignore

coverage/
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.nyc_output
lib
lib_test

# npmignore

src/
__tests__/
.vscode/
8 changes: 8 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/git"
],
}
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: node_js
node_js:
- 8
- 10

jobs:
include:
- stage: test
after_success: npm run coverage:ci
- stage: release
node_js: lts/*
script: skip
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release

branches:
only:
- master
except:
- /^v\d+\.\d+\.\d+$/
32 changes: 32 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug file",
"program": "${workspaceRoot}/lib/${fileBasenameNoExtension}.js",
"cwd": "${workspaceRoot}",
"sourceMaps": true,
"smartStep": true,
"preLaunchTask": "build",
"outFiles": [
"${workspaceRoot}/lib/*.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Debug test",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"args": [
"--findRelatedTests",
"${relativeFile}"
],
"cwd": "${workspaceRoot}"
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib/"
}
59 changes: 59 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run current file",
"command": "ts-node ${relativeFile}",
"type": "shell",
"problemMatcher": []
},
{
"type": "npm",
"label": "clean",
"script": "clean",
"problemMatcher": []
},
{
"type": "npm",
"label": "build",
"script": "build",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"type": "npm",
"label": "format",
"script": "format",
"problemMatcher": []
},
{
"type": "npm",
"label": "coverage",
"script": "coverage",
"problemMatcher": []
},
{
"type": "npm",
"label": "test",
"script": "test",
"group": {
"kind": "test",
"isDefault": true
},
"problemMatcher": []
},
{
"type": "npm",
"label": "lint",
"script": "lint",
"problemMatcher": [
"$eslint-stylish"
]
}
]
}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) Digital Garage srls 2019

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[![Build Status](https://travis-ci.org/digital-garage-to/loopback-obfuscator-mixin.svg?branch=master)](https://travis-ci.org/digital-garage-to/loopback-obfuscator-mixin?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/digital-garage-to/loopback-obfuscator-mixin/badge.svg?branch=master)](https://coveralls.io/github/digital-garage-to/loopback-obfuscator-mixin?branch=master)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

0 comments on commit 4de01f1

Please sign in to comment.