@mediamonks/richmedia-temple-server
This is the Richmedia Temple, used for creating richmedia units for various vendors.
Last updated 3 months ago by devmonk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mediamonks/richmedia-temple-server 
SYNC missed versions from official npm registry.

Richmedia Temple Server Travis npm npm

Richmedia Temple Server is used as a tool to build and develop richmedia units.

See documentation https://assets-at-scale.gitbook.io/temple-suite/

Installation

yarn add @mediamonks/richmedia-temple-server
npm i -S @mediamonks/richmedia-temple-server

Basic Usage

// for building
node ./node_modules/@mediamonks/richmedia-temple-server/build.js

// for developing
node ./node_modules/@mediamonks/richmedia-temple-server/dev.js

// for client preview
node ./node_modules/@mediamonks/richmedia-temple-server/preview.js

maybe use @mediamonks/generator-richmedia-temple for creating your setup automatically.

Documentation

View the documentation.

Contribute

View CONTRIBUTING.md

Changelog

View CHANGELOG.md

Authors

View AUTHORS.md

LICENSE

MIT © MediaMonks

About this boilerplate

Remove this section when cloning this boilerplate to a real project!

Folders

This boilerplate contains the following folders:

  • /coverage - Contains the generated test code coverage, is sent to Code Climate and Coveral.io.
  • /docs - Contains the generated documentation by typedoc.
  • /lib - Contains the built code from src/lib, will be published to npm.
  • /node_modules - Contains the node modules generated by running yarn.
  • /src - Contains the source code.
  • /test - Contains the tests.
  • /vendor - Can contain 3rd party code used in this project, when not available on npm.

Files

This boilerplate contains the following files:

  • .babelrc - Contains babel configuration.
  • .codeclimate.yml - The Code Climate configuration for this project.
  • .editorconfig - Defines general formatting rules.
  • .eslintignore - Lists patterns that should be ignored when running eslint.
  • .eslintrc.js - Contains eslint configuration.
  • .gitignore - These files should not end up in git.
  • .npmignore - These files should not end up in npm.
  • .nvmrc - Contains nodejs version to build this project with.
  • .nycrc - Contains nyc code coverage configuration.
  • .prettierignore - Lists patterns that should be ignored when running prettier.
  • .prettierrc - Contains prettier formatting configuration.
  • .travis.yml - Configuration for Travis CI.
  • AUTHORS.md - Contains a list of all the authors that worked on this module.
  • CONTRIBUTING.md - Contains information on how to contribute on this project.
  • index.d.ts - The built Typescript definitions, referenced in the package.json. Will be published to npm.
  • index.d.ts - The built Typescript index, referenced in the package.json. Will be published to npm.
  • LICENSE - Our license file.
  • package.json - To list the npm package information, all the dependencies, and contains all the scripts that can be run.
  • README.MD - This file, remove the about section when cloning this boilerplate.
  • tsconfig.build.json - The TypeScript configuration file for building definitions.
  • tsconfig.json - The TypeScript configuration file for this project.
  • tslint.json - The linting rules for our TypeScript code.
  • yarn.lock - Yarn lockfile to freeze module versions.

Travis

This project uses Travis to build, test and publish its code to npm. Travis is free for public Github repositories.

It runs on all commits, shows the build status for pull requests, and publishes to npm when a new tag/release is created.

Travis only runs the npm test script, so have configured that script to run everything we want Travis to check. Besides the unit tests, we also run our validations and linters.

The travis configuration is placed in a .travis.yml file, consisting of multiple sections.

  1. Defines the node_js language, and tells travis on which node versions to run the process.
  2. Before running, it needs to install some global dependencies, and when it processes some coverage results.
  3. It can do a npm deploy, telling it to keep the generated artifacts and only publish when run on node 8 and when a tag was committed. It also contains the email address and api key of the npm user.
  4. Code Climate has a travis plugin that automatically uploads the code coverage results.

Because we want to keep the npm api key secret, we add the token to the Travis Repo settings where it will be stored secure: https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings

Before we can do this, we must make sure that the repository is added to Travis, because Travis needs the repository owner/name info to make sure the encrypted values only work for that repository.

  1. Then make sure you are logged in to your npm account with the adduser command:

    $ npm adduser
    

    To verify that you are logged in correctly you can check:

    $ npm whoami
    
  2. Now we need to create a new token:

    npm token create
    

    Copy the token value from the output to the Travis Environment Variable settings, and add it with the name NPM_TOKEN.

Current Tags

  • 3.0.2                                ...           latest (3 months ago)

75 Versions

  • 3.0.2                                ...           3 months ago
  • 3.0.1                                ...           3 months ago
  • 2.0.15                                ...           3 months ago
  • 2.0.14                                ...           6 months ago
  • 2.0.13                                ...           6 months ago
  • 2.0.12                                ...           6 months ago
  • 2.0.11                                ...           6 months ago
  • 2.0.10                                ...           6 months ago
  • 1.8.5                                ...           6 months ago
  • 2.0.9                                ...           6 months ago
  • 2.0.8                                ...           6 months ago
  • 2.0.7                                ...           6 months ago
  • 2.0.6                                ...           6 months ago
  • 2.0.5                                ...           6 months ago
  • 2.0.4                                ...           6 months ago
  • 2.0.3                                ...           7 months ago
  • 2.0.2                                ...           7 months ago
  • 2.0.1                                ...           7 months ago
  • 1.9.0                                ...           7 months ago
  • 2.0.0                                ...           7 months ago
  • 1.8.4                                ...           7 months ago
  • 1.8.3                                ...           7 months ago
  • 1.8.2                                ...           8 months ago
  • 1.8.1                                ...           8 months ago
  • 1.8.0                                ...           8 months ago
  • 1.7.1                                ...           9 months ago
  • 1.7.0                                ...           9 months ago
  • 1.6.0                                ...           9 months ago
  • 1.5.2                                ...           9 months ago
  • 1.4.10                                ...           9 months ago
  • 1.5.1                                ...           9 months ago
  • 1.5.0                                ...           9 months ago
  • 1.4.9                                ...           9 months ago
  • 1.4.8                                ...           9 months ago
  • 1.4.7                                ...           9 months ago
  • 1.4.6                                ...           9 months ago
  • 1.4.5                                ...           9 months ago
  • 1.4.4                                ...           9 months ago
  • 1.4.3                                ...           10 months ago
  • 1.4.2                                ...           10 months ago
  • 1.4.1                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.1                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.13                                ...           a year ago
  • 1.1.12                                ...           a year ago
  • 1.1.11                                ...           a year ago
  • 1.1.10                                ...           a year ago
  • 1.1.9                                ...           a year ago
  • 1.1.8                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.0.16                                ...           a year ago
  • 0.0.15                                ...           a year ago
  • 0.0.14                                ...           a year ago
  • 0.0.13                                ...           a year ago
  • 0.0.11                                ...           a year ago
  • 0.0.12                                ...           a year ago
  • 0.0.10                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
Downloads
Today 0
This Week 75
This Month 150
Last Day 0
Last Week 75
Last Month 150
Dependencies (67)
Dev Dependencies (32)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |