ldx-widgets
widgets
Last updated 2 years ago by ldx .
Original npm · Tarball · package.json
$ cnpm install ldx-widgets 
SYNC missed versions from official npm registry.

LDX web utilities

This repo is for reusable components and utlity methods, which need to be shared across projects. Note: this is not an open source project, and is intended for use in applicaitons internally at a specific company. If you do not work at said company, this code is probably of little use to you.

Initial setup

This document will serve as a basic guide to getting started with the ldx-web-utilities project

1. Install Node Version Manager (nvm) if you don't already have Node installed

Run the nvm install script using the following command in your terminal: curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash

2. Install Node versions

Once the nvm install script is completed, you can now install various versions of Node. Start by installing Node v6.9 by running nvm install 6.9.

Nvm will allow you to hot-switch between Node versions when required, using the nvm use command. If you have previously installed Node by other means (such as Homebrew), you may need to uninstall that implementation before installing it with nvm.

3. Install repo dependencies

Install the repo's dependencies using npm install. Note: you may need to install additional dependencies globally using the -g flag, e.g.: npm install gulp -g

4. Start development environment

Use the npm start command to get the development environment running. This will compile changes to js in the /dist folder, as well as run tests after each change. Note that when the code is used as a dependency, only the js is required, so if coffee-script changes are not compiled, they will not be usable in production. SO DO NOT SKIP THIS STEP!

Note: changes are not compiled on startup, so if you forget this step, make a change, then start the dev environment, you must make anohter change to a compilation to take place.

5. Tests, tests, tests

Please ensure that any additions or changes are covered in tests. PRs will not be merged with broken tests or new functionality that is untested.

Documentation

The widgets in this repository have generated API docs used for props documentation.

Re-generating docs

If you have made changes to a component's documentation, and wish to re-generate the doc files, run the following command: npm run docs.

Auto-copying compiled Javascript to your project's node_modules

The default behavior when running npm start includes auto-copying of compiled source files to a specified application. After changes are made to the source .coffee files, the dist folder is automatically copied to replace the same folder inside your local project's node_modules directory.

The purpose of this is to make it easier to develop this library while providing means for an implementation and/or staging environment for the widgets.

paths.json

In order for this feature to work properly, you must create a paths.json file in the root of this repo. This file is local to your installation, and is ignored by .gitignore. This file should contain an array of absolute folder paths to places you want to copy the compiled output:

[
  {
    "PATH": "/Users/andyparisi/Documents/myProjectRoot"
  }
]

Note: If this directory is incorrect or not writeable, you will receive an error when trying to run npm start.

Running the compiler without auto-copying

If you have issues with the auto-copying feature or do not want to automatically replace your project files as you work, you can disable this feature. Instead, start the process using the Gulp task directly:

gulp test --alone

Current Tags

  • 6.2.0                                ...           latest (2 years ago)

301 Versions

  • 6.2.0                                ...           2 years ago
  • 6.1.0                                ...           2 years ago
  • 6.0.0                                ...           2 years ago
  • 5.2.0                                ...           2 years ago
  • 5.1.2                                ...           2 years ago
  • 5.1.1                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.15                                ...           2 years ago
  • 5.0.14                                ...           2 years ago
  • 5.0.13                                ...           2 years ago
  • 5.0.12                                ...           2 years ago
  • 5.0.11                                ...           2 years ago
  • 5.0.10                                ...           2 years ago
  • 5.0.9                                ...           2 years ago
  • 5.0.8                                ...           2 years ago
  • 5.0.7                                ...           2 years ago
  • 5.0.6                                ...           2 years ago
  • 5.0.4                                ...           2 years ago
  • 5.0.3                                ...           2 years ago
  • 5.0.2                                ...           2 years ago
  • 5.0.1                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 4.10.7                                ...           2 years ago
  • 4.10.6                                ...           2 years ago
  • 4.10.5                                ...           2 years ago
  • 4.10.4                                ...           2 years ago
  • 4.10.3                                ...           2 years ago
  • 4.10.2                                ...           2 years ago
  • 4.10.1                                ...           2 years ago
  • 4.10.0                                ...           2 years ago
  • 4.9.1                                ...           2 years ago
  • 4.9.0                                ...           2 years ago
  • 4.8.0                                ...           2 years ago
  • 4.7.2                                ...           2 years ago
  • 4.7.1                                ...           2 years ago
  • 4.7.0                                ...           2 years ago
  • 4.6.0                                ...           2 years ago
  • 4.5.2                                ...           2 years ago
  • 4.5.1                                ...           3 years ago
  • 4.5.0                                ...           3 years ago
  • 4.4.0                                ...           3 years ago
  • 4.3.0                                ...           3 years ago
  • 4.2.4                                ...           3 years ago
  • 4.2.3                                ...           3 years ago
  • 4.2.2                                ...           3 years ago
  • 4.2.1                                ...           3 years ago
  • 4.2.0                                ...           3 years ago
  • 4.1.1                                ...           3 years ago
  • 4.1.0                                ...           3 years ago
  • 4.0.3                                ...           3 years ago
  • 3.12.4                                ...           3 years ago
  • 4.0.2                                ...           3 years ago
  • 4.0.1                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.12.3                                ...           3 years ago
  • 3.12.2                                ...           3 years ago
  • 3.12.1                                ...           3 years ago
  • 3.12.0                                ...           3 years ago
  • 3.11.2                                ...           3 years ago
  • 3.11.1                                ...           3 years ago
  • 3.11.0                                ...           3 years ago
  • 3.10.3                                ...           3 years ago
  • 3.10.2                                ...           3 years ago
  • 3.10.1                                ...           3 years ago
  • 3.10.0                                ...           3 years ago
  • 3.9.9                                ...           3 years ago
  • 3.9.8                                ...           3 years ago
  • 3.9.7                                ...           3 years ago
  • 3.9.6                                ...           3 years ago
  • 3.9.5                                ...           3 years ago
  • 3.8.4                                ...           3 years ago
  • 3.8.3                                ...           3 years ago
  • 3.9.4                                ...           3 years ago
  • 3.9.3                                ...           3 years ago
  • 3.9.2                                ...           3 years ago
  • 3.9.1                                ...           3 years ago
  • 3.9.0                                ...           3 years ago
  • 3.8.2                                ...           3 years ago
  • 3.8.1                                ...           3 years ago
  • 3.8.0                                ...           3 years ago
  • 3.7.9                                ...           3 years ago
  • 3.7.8                                ...           3 years ago
  • 3.7.7                                ...           3 years ago
  • 3.7.6                                ...           3 years ago
  • 3.7.5                                ...           3 years ago
  • 3.7.4                                ...           3 years ago
  • 3.7.3                                ...           3 years ago
  • 3.7.2                                ...           3 years ago
  • 3.7.1                                ...           3 years ago
  • 3.7.0                                ...           3 years ago
  • 3.6.6                                ...           3 years ago
  • 3.6.5                                ...           3 years ago
  • 3.6.4                                ...           3 years ago
  • 3.6.3                                ...           3 years ago
  • 3.6.2                                ...           3 years ago
  • 3.6.1                                ...           3 years ago
  • 3.6.0                                ...           3 years ago
  • 3.5.5                                ...           3 years ago
  • 3.5.4                                ...           3 years ago
  • 3.5.3                                ...           3 years ago
  • 3.5.2                                ...           3 years ago
  • 3.5.1                                ...           3 years ago
  • 3.5.0                                ...           3 years ago
  • 3.3.2                                ...           3 years ago
  • 3.3.1                                ...           3 years ago
  • 3.3.0                                ...           3 years ago
  • 3.2.1                                ...           3 years ago
  • 3.2.0                                ...           3 years ago
  • 3.1.3                                ...           3 years ago
  • 3.1.2                                ...           3 years ago
  • 3.1.1                                ...           3 years ago
  • 3.0.33                                ...           3 years ago
  • 3.0.32                                ...           3 years ago
  • 3.0.31                                ...           3 years ago
  • 3.0.30                                ...           3 years ago
  • 3.0.29                                ...           3 years ago
  • 3.0.28                                ...           3 years ago
  • 3.0.27                                ...           3 years ago
  • 3.0.26                                ...           3 years ago
  • 3.0.24                                ...           3 years ago
  • 3.0.23                                ...           3 years ago
  • 3.0.22                                ...           3 years ago
  • 3.0.21                                ...           3 years ago
  • 3.0.20                                ...           3 years ago
  • 3.0.19                                ...           3 years ago
  • 3.0.18                                ...           3 years ago
  • 3.0.17                                ...           3 years ago
  • 3.0.16                                ...           3 years ago
  • 3.0.15                                ...           3 years ago
  • 3.0.14                                ...           4 years ago
  • 3.0.13                                ...           4 years ago
  • 3.0.12                                ...           4 years ago
  • 3.0.11                                ...           4 years ago
  • 3.0.10                                ...           4 years ago
  • 3.0.9                                ...           4 years ago
  • 3.0.8                                ...           4 years ago
  • 3.0.7                                ...           4 years ago
  • 3.0.6                                ...           4 years ago
  • 3.0.5                                ...           4 years ago
  • 3.0.4                                ...           4 years ago
  • 3.0.3                                ...           4 years ago
  • 3.0.2                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.1.35                                ...           4 years ago
  • 2.1.34                                ...           4 years ago
  • 2.1.33                                ...           4 years ago
  • 2.1.32                                ...           4 years ago
  • 2.1.31                                ...           4 years ago
  • 2.1.30                                ...           4 years ago
  • 2.1.29                                ...           4 years ago
  • 2.1.28                                ...           4 years ago
  • 2.1.27                                ...           4 years ago
  • 2.1.26                                ...           4 years ago
  • 2.1.25                                ...           4 years ago
  • 2.1.24                                ...           4 years ago
  • 2.1.23                                ...           4 years ago
  • 2.1.22                                ...           4 years ago
  • 2.1.21                                ...           4 years ago
  • 2.1.20                                ...           4 years ago
  • 2.1.19                                ...           4 years ago
  • 2.1.18                                ...           4 years ago
  • 2.1.17                                ...           4 years ago
  • 2.1.15                                ...           4 years ago
  • 2.1.16                                ...           4 years ago
  • 2.1.14                                ...           4 years ago
  • 2.1.13                                ...           4 years ago
  • 2.1.12                                ...           4 years ago
  • 2.1.11                                ...           4 years ago
  • 2.1.10                                ...           4 years ago
  • 2.1.9                                ...           4 years ago
  • 2.1.8                                ...           4 years ago
  • 2.1.7                                ...           4 years ago
  • 2.1.6                                ...           4 years ago
  • 2.1.5                                ...           4 years ago
  • 2.1.4                                ...           4 years ago
  • 2.1.3                                ...           4 years ago
  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.20                                ...           4 years ago
  • 2.0.19                                ...           4 years ago
  • 2.0.18                                ...           4 years ago
  • 2.0.17                                ...           4 years ago
  • 2.0.16                                ...           4 years ago
  • 2.0.14                                ...           4 years ago
  • 2.0.13                                ...           4 years ago
  • 2.0.12                                ...           4 years ago
  • 2.0.11                                ...           4 years ago
  • 2.0.10                                ...           4 years ago
  • 2.0.9                                ...           4 years ago
  • 2.0.8                                ...           4 years ago
  • 2.0.7                                ...           4 years ago
  • 2.0.6                                ...           4 years ago
  • 2.0.5                                ...           4 years ago
  • 2.0.4                                ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.7.0                                ...           4 years ago
  • 1.6.15                                ...           4 years ago
  • 1.6.14                                ...           4 years ago
  • 1.6.13                                ...           4 years ago
  • 1.6.12                                ...           4 years ago
  • 1.6.11                                ...           4 years ago
  • 1.6.10                                ...           4 years ago
  • 1.6.9                                ...           4 years ago
  • 1.6.8                                ...           4 years ago
  • 1.6.7                                ...           4 years ago
  • 1.6.6                                ...           4 years ago
  • 1.6.5                                ...           4 years ago
  • 1.6.4                                ...           4 years ago
  • 1.6.3                                ...           4 years ago
  • 1.6.2                                ...           4 years ago
  • 1.6.1                                ...           4 years ago
  • 1.6.0                                ...           4 years ago
  • 1.5.4                                ...           4 years ago
  • 1.5.3                                ...           4 years ago
  • 1.5.1                                ...           4 years ago
  • 1.5.0                                ...           4 years ago
  • 1.4.11                                ...           4 years ago
  • 1.4.10                                ...           4 years ago
  • 1.4.9                                ...           4 years ago
  • 1.4.8                                ...           4 years ago
  • 1.4.7                                ...           4 years ago
  • 1.4.6                                ...           4 years ago
  • 1.4.5                                ...           4 years ago
  • 1.4.4                                ...           4 years ago
  • 1.4.3                                ...           4 years ago
  • 1.4.2                                ...           4 years ago
  • 1.4.1                                ...           4 years ago
  • 1.4.0                                ...           4 years ago
  • 1.3.3                                ...           4 years ago
  • 1.3.2                                ...           4 years ago
  • 1.3.1                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.9                                ...           4 years ago
  • 1.2.8                                ...           4 years ago
  • 1.2.7                                ...           4 years ago
  • 1.2.6                                ...           4 years ago
  • 1.2.5                                ...           4 years ago
  • 1.2.4                                ...           4 years ago
  • 1.2.3                                ...           4 years ago
  • 1.2.2                                ...           4 years ago
  • 1.2.1                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.37                                ...           4 years ago
  • 1.1.36                                ...           4 years ago
  • 1.1.35                                ...           4 years ago
  • 1.1.34                                ...           4 years ago
  • 1.1.33                                ...           4 years ago
  • 1.1.32                                ...           4 years ago
  • 1.1.31                                ...           4 years ago
  • 1.1.30                                ...           4 years ago
  • 1.1.29                                ...           4 years ago
  • 1.1.28                                ...           4 years ago
  • 1.1.27                                ...           4 years ago
  • 1.1.26                                ...           4 years ago
  • 1.1.25                                ...           4 years ago
  • 1.1.24                                ...           4 years ago
  • 1.1.23                                ...           4 years ago
  • 1.1.22                                ...           4 years ago
  • 1.1.21                                ...           4 years ago
  • 1.1.20                                ...           4 years ago
  • 1.1.18                                ...           4 years ago
  • 1.1.17                                ...           4 years ago
  • 1.1.16                                ...           4 years ago
  • 1.1.15                                ...           4 years ago
  • 1.1.14                                ...           4 years ago
  • 1.1.13                                ...           4 years ago
  • 1.1.12                                ...           4 years ago
  • 1.1.11                                ...           4 years ago
  • 1.1.10                                ...           4 years ago
  • 1.1.9                                ...           4 years ago
  • 1.1.8                                ...           4 years ago
  • 1.1.7                                ...           4 years ago
  • 1.1.6                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.4                                ...           4 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.17                                ...           4 years ago
  • 1.0.16                                ...           4 years ago
  • 1.0.15                                ...           4 years ago
  • 1.0.14                                ...           4 years ago
  • 1.0.13                                ...           4 years ago
  • 1.0.12                                ...           4 years ago
  • 1.0.11                                ...           4 years ago
  • 1.0.10                                ...           4 years ago
  • 1.0.9                                ...           4 years ago
  • 1.0.8                                ...           4 years ago
  • 1.0.7                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (8)
Dev Dependencies (40)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |