Comments (5)
@redoc123 it does. When you're choosing additional services, it modifies dependencies list which are installing via yeoman.
from generator-sails-rest-api.
@ghaiklor thanks for quick response for my "impatient" question. I am not seeing any of the packages being added to package.json. please advise.
I created a project with following options:
Application questions:
? Application name sails-rest-api
Configuration questions:
? Database adapter Mongo
? Database host localhost
? Database name sails-rest-api
? Database username
? Database password [hidden]
? Enable CORS? Yes
Logger questions:
? Choose which logger you want to configure Winston
Blueprint questions:
? Use overridden blueprints? Yes
Controller questions:
? Choose which predefined controllers you want to copy PingController, SearchController
Hook questions:
? Choose which predefined hooks you want to copy CountHook, PluralizeHook
Cron questions:
? Do you need cron? Yes
Swagger questions:
? Do you need Swagger UI Explorer? Yes
Authentication questions:
? Do you need authentication layer? Yes
? Secret key 74a13d37f8bf44138c564b02d8bbb48dc555d2ee0fd9a78594c16f5d8135f22d
Service questions:
? Select which services you want to use CipherService, HashService, ImageService, LocationService, MailerService, PusherService, SmsService
? Image provider IM
? Location provider Google
? Mailer provider SendGrid
? SMS provider Twilio
This is my package.json
{
"name": "sails-rest-api",
"version": "0.1.0",
"main": "app.js",
"dependencies": {
"rc": "1.1.6",
"sails": "0.12.14"
},
"devDependencies": {
"esdoc": "0.4.3",
"chai": "3.4.1",
"istanbul": "0.4.2",
"mocha": "2.3.4",
"sails-memory": "0.10.5",
"sinon": "1.17.2"
},
"scripts": {
"clean": "rm -rf ./.tmp",
"debug": "node debug app.js",
"docs": "esdoc -c esdoc.json",
"start": "node app.js",
"test": "istanbul cover _mocha"
}
}
from generator-sails-rest-api.
hm... it should add sails-service
packages... Seems like a bug and needs investigation why this is happening. Do you want to try debug it?
from generator-sails-rest-api.
Hi, I just used your generator and I have the same problem - package.json was empty and I had to install all dependencies manually
from generator-sails-rest-api.
By empty I mean most dependencies where missing
from generator-sails-rest-api.
Related Issues (20)
- should move sensitive configs into local.js to prevent them from being in the repos HOT 7
- JWT decoding error should return unauthorized HOT 2
- application not start. HOT 3
- does the generator support sails@beta 1.0.0 yet? HOT 2
- how can i add autopopulate back in to the find and findOne blueprints? HOT 1
- self.defaults is not a function HOT 2
- self.defaults is not a function HOT 1
- Error running on windows machine HOT 1
- Elastichsearch is not supported HOT 1
- How to customize swagger docs for particular API route?
- miss more module depend ex. passport, ...
- unable to get the sails api project up and running after generating the api base using the sails-rest-api HOT 4
- Cannot find module 'passport' HOT 3
- Upgrading to sails v1.0
- not able to run the api HOT 6
- Error when generating project using web storm
- Rethrow non-MySQL errors : Converting circular structure to JSON
- How I can use same action for api and web.
- Sails version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-sails-rest-api.