Skip to content

Commit

Permalink
Create general container functionality for service retrieval
Browse files Browse the repository at this point in the history
This commit includes the general frame of the library responsible for setting and retrieving services, mainly container classes. It also starts implementing the system with Travis CI and coveralls for easy deployment.
  • Loading branch information
chasebrewsky committed Dec 22, 2018
1 parent bc0649d commit d058817
Show file tree
Hide file tree
Showing 13 changed files with 912 additions and 39 deletions.
38 changes: 4 additions & 34 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,60 +2,30 @@
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Coverage directory for coverage generated by Jest.
coverage/

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next
# IntelliJ output information.
.idea/
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: node_js

# Ensure that the library works on both the previous and current LTS.
node_js:
- "8"
- node

# Cache dependencies for faster builds.
cache: npm

# Use a custom testing script for the travis build.
script: npm run test:travis
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# DIFuse

[![Build Status](https://travis-ci.org/chasebrewsky/DIFuse.svg?branch=master)](https://travis-ci.org/chasebrewsky/DIFuse)
[![Coverage Status](https://coveralls.io/repos/github/chasebrewsky/DIFuse/badge.svg?branch=master)](https://coveralls.io/github/chasebrewsky/DIFuse?branch=master)

JS dependency injection library
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
Loading

0 comments on commit d058817

Please sign in to comment.