#adaptive-stencil-2
This repository contains the code for the adaptive-stencil-2 Adaptive.js project.
For documentation for Adaptive.js, including tool installation, and information on running your project in the Mobify Cloud, please see our cloud documentation.
Please contact [email protected] for assistance.
- Project Slug: adaptive-stencil-2
- Site URL:
- Generated by: [email protected]
To install, first clone the repository:
git clone https://github.com/<organization>/adaptive-stencil-2.git
Adaptive.js uses grunt.js to run, build, test, and deploy. The following grunt tasks are available:
Builds the project and runs a local development server, allowing the project to be run locally. The preview command additionally outputs the preview URL of the target site, allowing you to easily navigate to preview.mobify.com to enable previewing.
For more information on previewing, please see our preview documentation.
Runs eslint against the project, ensuring that code style and stynax are correct. For more information on lint errors, please see eslint.org.
To find out more about Mobify's code style rules, please see the Mobify Code Style repository.
Runs our unit and integration tests.
// runs tests in the terminal/command line
grunt test
// runs tests in the terminal/command line and skips the build process
grunt test_skip_build
// runs tests in the browser, viewable at http://localhost:8888/tests/runner
grunt test_browser
Runs nightwatch, our WebDriver system test framework written in Node.js.
// runs all tests
grunt nightwatch
// runs a specific group
grunt nightwatch --group path/to/my/tests/
// runs a specific test file
grunt nightwatch --test path/to/my/tests/test.js
Builds and deploys a version of this project to cloud.mobify.com.
grunt push -m "Bundle for January 1st"