Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ajuste/feature/overhaul
Major overhaul to 1.0.0
- Loading branch information
Showing
29 changed files
with
2,019 additions
and
934 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
service_name: travis-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
language: node_js | ||
node_js: | ||
- "4.1.2" | ||
- "6.10.0" | ||
- "7.0.0" | ||
- "7.7.1" | ||
script: npm test | ||
sudo: false | ||
after_success: 'npm run cover' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
COFFEE = ./node_modules/coffee-script/bin/coffee | ||
|
||
usage: | ||
@echo '' | ||
@echo 'make compile: Compile sources' | ||
@echo 'make compile-tests: Compile test sources' | ||
@echo '' | ||
|
||
# -- | ||
|
||
# Compile sources | ||
.PHONY: compile compile-tests | ||
compile: | ||
@$(COFFEE) --output ./lib --no-header --compile -b ./src | ||
|
||
# Compile tests | ||
compile-tests: compile | ||
@$(COFFEE) --output ./test-compiled --no-header --compile -b ./test | ||
|
||
# Run lint for coffeescript | ||
run-coffee-lint: | ||
./node_modules/coffeelint/bin/coffeelint src/ test/ | ||
|
||
test: compile-tests run-coffee-lint | ||
./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha ./test-compiled/**/*.js | ||
|
||
test-debug: compile-tests | ||
./node_modules/mocha/bin/mocha --debug-brk ./test-compiled/**/*.js | ||
|
||
cover: | ||
cat ./coverage/lcov.info | ./node_modules/.bin/coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# jaune-engine | ||
[![Build Status](https://travis-ci.org/ajuste/jaune-web.svg?branch=master)](https://travis-ci.org/ajuste/jaune-web) | ||
[![Coverage Status](https://coveralls.io/repos/ajuste/jaune-web/badge.svg?branch=master)](https://coveralls.io/r/ajuste/jaune-web?branch=master) | ||
|
||
# jaune-web | ||
web server based on nodejs |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
const _extend = require("lodash").extend; | ||
const _exports = {}; | ||
|
||
_extend(_exports, require("./locale")); | ||
|
||
module.exports = _exports; | ||
module.exports = require('./locale'); |
Oops, something went wrong.