
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
gulp-cordova-create
Advanced tools
Create a cordova project
npm install --save-dev gulp-cordova-create
const create = require('gulp-cordova-create');
gulp.task('build', () => {
return gulp.src('www')
.pipe(create());
});
This will generate a Cordova project in the .cordova directory. It will copy the contents of the www directory
to the root directory of the Cordova project.
Make sure you html files are located in a directory called www.
You can pass in extra options to change the initial configuration of the project.
const create = require('gulp-cordova-create');
gulp.task('build', () => {
const options = {
dir: 'myproject',
id: 'com.myproject.hello',
name: 'MyProject'
};
return gulp.src('www')
.pipe(create(options));
});
This will execute the following command
$ cordova create myproject com.myproject.hello MyProject
And then it will copy the content of the www directory to the www directory of the cordova project.
Type: string
Default: .cordova
The name of the output directory.
Type: string
Default: io.cordova.hellocordova
The reverse domain-style identifier of the project.
Type: string
Default: HelloCordova
The application's display title.
See gulp-cordova for the full list of available packages.
MIT © Sam Verschueren
FAQs
Create a cordova project
We found that gulp-cordova-create 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.