express-scaffold
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "express-scaffold", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "a simple MVC scaffold of Express project for production", | ||
@@ -9,2 +9,3 @@ "logo":"http://ww3.sinaimg.cn/large/61ff0de3jw1e91jmudlz8j201o01o0sj.jpg", | ||
"license": "MIT", | ||
"bin": "./bin/cli.sh", | ||
"scripts": { | ||
@@ -11,0 +12,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
@@ -33,4 +33,3 @@ ## ![logo](http://ww3.sinaimg.cn/large/61ff0de3jw1e91jmudlz8j201o01o0sj.jpg) express-scaffold ![npm](https://badge.fury.io/js/express-scaffold.png) | ||
new server({ | ||
env: 'production', | ||
url: 'http://abc.com', | ||
name 'myApp', | ||
database: { | ||
@@ -47,2 +46,4 @@ name: 'expressdemo' | ||
new server({ | ||
name 'myApp', | ||
// set env to production | ||
env: 'production', | ||
@@ -52,3 +53,11 @@ // url should be provided. check it out in res.locals.root | ||
database: { | ||
name: 'expressdemo' | ||
name: 'expressdemo', | ||
host: 'http://remoteDB', | ||
port: 27111, | ||
// check it out: | ||
// http://mongoosejs.com/docs/api.html#index_Mongoose-createConnection | ||
options: { | ||
username: 'test', | ||
password: 'testpassword' | ||
} | ||
} | ||
@@ -55,0 +64,0 @@ }).run(9999); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
217302
23
982
100
1