Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Merge 3c051f0 into 9051e93
Browse files Browse the repository at this point in the history
  • Loading branch information
kno committed Oct 14, 2016
2 parents 9051e93 + 3c051f0 commit 8fad821
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
sudo: false
language: node_js
node_js:
- "5"
- "4"
- "6"
after_success: npm run coverage
deploy:
provider: npm
Expand Down
2 changes: 1 addition & 1 deletion es6/time-stamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default (Model, bootOptions = {}) => {
Model.defineProperty(options.createdAt, {
type: Date,
required: options.required,
defaultFn: 'now',
default: new Date(),
});

Model.defineProperty(options.updatedAt, {
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"preversion": "npm test",
"pretest": "eslint ./es6/*.js && gulp babel",

"test": "nyc tap ./test/*.js",
"watch": "gulp",
"coverage": "nyc report --reporter=text-lcov | coveralls",
Expand Down Expand Up @@ -33,10 +34,11 @@
]
},
"dependencies": {
"debug": "2.x"
"debug": "2.x",
"loopback-datasource-juggler": ">=2.48.0"
},
"peerDependencies": {
"loopback-datasource-juggler": ">=2.48.0"

},
"devDependencies": {
"babel-core": "latest",
Expand Down

0 comments on commit 8fad821

Please sign in to comment.