![38% of CISOs Fear They’re Not Moving Fast Enough on AI](https://cdn.sanity.io/images/cgdhsj6q/production/faa0bc28df98f791e11263f8239b34207f84b86f-1024x1024.webp?w=400&fit=max&auto=format)
Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
generator-adaptivejs
Advanced tools
A generator for Yeoman that lets you quickly setup an Adaptive.js project.
Install generator-adaptivejs
:
npm install -g generator-adaptivejs
Run yo adaptivejs
:
yo adaptivejs
Follow the prompts and answer the required questions
Once completed, run grunt preview
to start previewing
If you made a change to generator-adaptivejs
and you want to test the local
version of the Yeoman generator, run npm link
and then yo adaptivejs
.
Specifying the --slug
option allows you to skip the prompt for entering the project's slug:
yo adaptivejs --slug [project-slug]
Specifying the --url
option allows you to skip the prompt for entering your site's URL:
yo adaptivejs --url [site-url]
If you want to use some simple defaults, you can use the --defaults
option:
yo adaptivejs --defaults
For Mobify's specific defaults, use the following:
yo adaptivejs --defaults mobify
To run tests within generator-adaptivejs
itself:
grunt test
To run unit and integration tests in the generated project:
grunt test
To run nightwatch WebDriver tests in the generated project:
grunt nightwatch
To run nightwatch tests locally on a real device (android or ios, requires Appium):
grunt android (or grunt ios)
To run nightwatch tests on an Android emulator or iOS simulator on Sauce Labs:
grunt sauce-android (or grunt sauce-ios)
The Adaptive generator allows you to install one of two selector libraries: jQuery or Zepto. We build custom versions of these selector libraries in order to add/remove specific features we require/don't require. Follow the directions below to build a custom version of your selector library of choice.
By default, we remove a number of jQuery modules to reduce the overall file size. Please see the jQuery README in github for more information.
$ git clone https://github.com/jquery/jquery.git
$ cd jquery
$ npm install
$ grunt custom:-deprecated,-ajax/jsonp,-deferred
By default we build Zepto with the addition of the selector, stack, and data modules. Below are the steps required to build Zepto with our defaults. Please see the Zepto README in github for more information.
$ git clone https://github.com/madrobby/zepto.git
$ cd zepto
$ npm install
# build a custom zepto
$ MODULES="zepto event ajax form fx selector stack data" npm run-script dist
Once built, copy the zepto.js
and zepto.min.js
files into the vendor/zepto
directory in the root of your Adaptive project.
When releasing a new version, follow these steps:
npm publish
FAQs
A generator for Yeoman
The npm package generator-adaptivejs receives a total of 0 weekly downloads. As such, generator-adaptivejs popularity was classified as not popular.
We found that generator-adaptivejs 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.