Feature: npm init
See original GitHub issueI created a little something to get started with a new estrella project: https://github.com/holtwick/create-estrella
You can now enter:
npm init estrella myproj1
To get started.
If you like the idea, I can also pass the project to you.
Other interesting templates might be:
- Browser library
- Node library
- Simple restarting server, see #7
It might also be nice to have it right inside estrella command line tool itself, like:
estrella -init myproj1
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
npm-init
It's possible to create a new workspace within your project by using the workspace config option. When using npm init -w <dir> the...
Read more >Initialize NPM on a new project
npm init. This command will ask you some questions to generate a package.json file in your project route that describes all the dependencies...
Read more >[FEATURE] prompt for module type as part of npm init #75
As part of npm init , the script should prompt the user for a module type for the project's package.json, with a default...
Read more >What is npm init? | Career Karma
The npm init command in the JSON language creates a package.json file for your project's frontend. A package.json file is a file that ......
Read more >Create a new project using the npm init <initializer> command
json file. However, as of npm version 6.1, you can now use a new feature of npm init called the <initializer>. The initializer...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I fixed create-estrella to use the simple sample you suggested.
More templates will follow and are tracked here https://github.com/holtwick/create-estrella/issues
The
module.id
trick is neat. Sadly the jest transformer does not support async:In order to get it work, a synchronous build would be required. It would also be nice to be able to build to a string directly and the handle the result oneself. But I understand if this is out of scope of estrella, even though it would be nice to have 😉
Here you go, more templates for
create-estrella
. @rsms, I would love to hear your opinion on the module template: https://github.com/holtwick/create-estrella/blob/master/template-js-module/build.js