Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@dojo/cli-export-project
Advanced tools
A command which exports a project bundle which can be used with the @dojo/web-editor
and other tools.
WARNING This is alpha software. This is not yet production ready, so you should use at your own risk.
This command will create a JSON file which will contain all the necessary information about the current code to be
able to be loaded into the @dojo/web-editor
. It is possible that it can be used with
other tools which can read the custom format.
The types for the file are located in interfaces/project.json.d.ts
with the interface for the main file being ProjectJson
.
To create a project export:
$ dojo export project
Export project bundle
exported to "my-project.project.json"
This will export a file ending in .project.json
which will be named after the name of your package in the package.json
file.
There are several options that can be passed on the command line:
Flag | Type | Description |
---|---|---|
-c , --content | string | A comma seperated list of extentions of files to include in the project files. Defaults to "ts,html,css,json,xml,md" . |
-o , --out | string | The output path for the generated bundle. Defaults to the current working directory. |
-p , --project | string | The path to the root of the project to bunde. Defaults to the current working directory. |
-v , --verbose | flag | Provide verbose output when generating the editor bundle. |
-h , --help | flag | Show help |
We appreciate your interest! Please see the Dojo 2 Meta Repository for the Contributing Guidelines and Style Guide.
Test cases MUST be written using Intern using the Object test interface and Assert assertion interface.
90% branch coverage MUST be provided for all code submitted to this repository, as reported by Istanbul’s combined coverage results for all supported platforms.
To test locally in node run:
grunt test
© 2017 JS Foundation & contributors. New BSD license.
FAQs
Emit a project bundle of a Dojo 2 Application
The npm package @dojo/cli-export-project receives a total of 6 weekly downloads. As such, @dojo/cli-export-project popularity was classified as not popular.
We found that @dojo/cli-export-project 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.