
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
generator-neodymium
Advanced tools
Scaffolds a clean and combat ready app for the browser/electron/nodejs.
your-app/
├── LICENSE
├── README.md
├── .package.json
├── dist
| | # Here comes the webpack compiled files
│ └── index.html
├── .editorconfig
├── .gitattributes
├── .gitignore
├── index.js
├── app
| | # You'll probably want to add an `assets` folder here
│ ├── entry.js
│ ├── index.html
│ ├── partials
| | | # Your templates goes there
│ │ ├── home.html
│ │ └── page.html
│ ├── scripts
│ │ ├── app.js
│ │ ├── config.js
│ │ ├── controllers
| | | | # Your controllers should have the same name as their attached template
│ │ │ ├── home.js
│ │ │ └── page.js
│ │ └── lib
| | | # Here comes the app specific modules like routing, translations, storage, etc...
│ │ └── router.js
│ └── styles
│ └── main.css
├── server
| | # Everything related to server should go there
│ └── main.js # The entry point of the server
└── webpack.config.js
$ npm install --global generator-neodymium
Depending on your configuration, you may will encounter formatting issue right after the app generation. This is because ejs
, the template engine yeoman uses, leaves empty lines in place of the omitted parts (e.g if you said you don't need a back-end, the back-end portion of your app README will be blank lines instead of not being here at all). This can lead to errors with the package.json
file being invalid because of misplaced commas, etc. I'm currently looking for a solution to this using the yeoman transform streams, but until I figure this out in a clean and maintenable way, you'll have to deal with this by your own :/
With yo:
$ yo neodymium
It's recommended to use node v4.2.4
LTS. We cannot guarantee previous versions support, but will sure do our best to. Please post an issue if you encounter troubles with developing on neodymium
.
# Clone the repo and `cd` into it
$ git clone git@github.com:soixantecircuits/neodymium.git && cd neodymium
# Install the generator dependencies
$ npm i
# Now, create a symlink in your global `node_modules` folder.
# (If you have previously installed neodymium via the npm package, you should run `npm remove --global generator-neodymium` before this command)
$ npm link
The yo neodymium
command will now execute your local version of neodymium. Enjoy :)
We follow a successful git branching model.
Please use the standard js coding style.
This was originally a fork of sindresorhus' neat generator.
See awesome-electron for more useful Electron resources.
MIT © Soixante circuits
FAQs
Scaffolds a clean and combat ready electron app.
We found that generator-neodymium demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.