
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Ninja powered front-end development server.
Check this blog post for more info about the development of Ninja.
npm install -g ninja_cli
For example
ninja --template "swig" --webpack true --templateDir "/template"
Ninja will find ninja.conf.js under the working directory.
ninja.conf.js is a CommonJS file like:
module.exports = {
template: "swig", // whatever template engine you like
mock: "/mock/mock.json", // dir for mock data
webpack: true, // flag for using webpack or not
proxy: {
route: "/api",
origin: "http://xueer.muxixyz.com"
},
staticDir: "/static",
templateDir: "/template",
}
Usage: ninja [options]
Options:
-h, --help output usage information
-p, --port [port] Set the port of the server, defalut set to 3000
-t, --template [item] Set template engine, defalut set to swig
-m, --mock [dir] Set the source of mock data
-w, --webpack [flag] Serving static file using webpack or not, defalut set to false
-o, --proxyOrigin [route] Proxy origin configuration
-r, --proxyRoute [url] Proxy route configuration
-s, --staticDir [dir] Location of static file
-d, --templateDir [dir] Location of templates
-b, --browser [item] Set the defalut browser, defalut set to google chrome
Take a look at the examples folder.
###v0.4 2016-10-30
###v0.3 2016-10-28
###v0.2 2016-07-13
###v0.1 2016-07-02



MIT 2016@MuxiStudio: check LICENSE file for detail.
FAQs
Ninja powered front-end development server.
The npm package ninja_cli receives a total of 5 weekly downloads. As such, ninja_cli popularity was classified as not popular.
We found that ninja_cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.