Blame view

bower_components/hydrolysis/README.md 609 Bytes
73bcce88   luigser   COMPONENTS
1
2
  # hydrolysis
  
e619a3b0   Luigi Serra   Controllet cross ...
3
  Static analysis utilities for polymer.
73bcce88   luigser   COMPONENTS
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  
  ## Install
  ```
  npm install hydrolysis
  ```
  
  ## Usage
  ```js
  var hyd = require('hydrolysis');
  
  hyd.Analyzer.analyze('path-to-polymer-element.html')
      .then(function(analyzer) {
        console.log(analyzer.elementsByTagName['my-element'])
      });
  ```
  
  For more detail, see the [API Docs](API.md).
  
  
  ## Developing
  You need [wct](https://github.com/Polymer/web-component-tester) to run the tests.
  
  Run a one-off build of the project:
  
  ```sh
  npm run build
  ```
  
  Or watch the source for changes, and rebuild each time a file is modified:
  
  ```sh
  npm run watch
  ```