This package has been deprecated

Author message:

The package has been moved under @68publishers/amp-client. For versions from 1.4.0 onwards, use the mentioned package.

amp-client

1.3.1 • Public • Published

AMP Client JS

Advertising Management Platform Client

Table of Contents

Getting Started

Please follow these instructions to get a local copy and setting up it.

Prerequisites

  • Git
  • Npm

Installation

  1. Clone the repo
$ git clone git@gitlab.com:68publishers/projects/amp/amp-client-js.git
$ cd amp-client-js
  1. Install npm dependencies
$ npm install

Build and Demo

Use predefined commands for the application's build:

$ npm run build:dev # or prod

Paths of an output files are:

  • ~/build/amp-client.js (dev mode)
  • ~/dist/amp-client.min.js (production mode) respectively ~/dist/amp-client.standalone.min.js.

A simple demo page is located in ~/build/index.html. To show demo in your browser run:

$ npm run start:dev

Then visit the page http://localhost:3000.

Integration

Please see the Integration Guide.

Dependents (0)

Package Sidebar

Install

npm i amp-client

Weekly Downloads

9

Version

1.3.1

License

ISC

Unpacked Size

232 kB

Total Files

36

Last publish

Collaborators

  • tg666