first commit
This commit is contained in:
38
build/node_modules/hydrolysis/README.md
generated
vendored
Normal file
38
build/node_modules/hydrolysis/README.md
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
[](https://npmjs.org/package/hydrolysis)
|
||||
[](https://travis-ci.org/Polymer/hydrolysis)
|
||||
# hydrolysis
|
||||
|
||||
Static analysis utilities for polymer.
|
||||
|
||||
## 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
|
||||
```
|
||||
Reference in New Issue
Block a user