Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Moves from Grunt tooling to Polyserve
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha committed May 15, 2015
1 parent cbab7e5 commit 8ba4e95
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 196 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
bower_components/
node_modules/
42 changes: 0 additions & 42 deletions Gruntfile.js

This file was deleted.

25 changes: 6 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Or [download as ZIP](https://github.com/webcomponents/hello-world-xtag/archive/m
2. Import custom element:

```html
<link rel="import" href="bower_components/hello-world-xtag/dist/hello-world.html">
<link rel="import" href="bower_components/hello-world-xtag/hello-world.html">
```

3. Start using it!
Expand All @@ -48,35 +48,22 @@ Attribute | Options | Default | Description

In order to run it locally you'll need to fetch some dependencies and a basic server setup.

1. Install [Bower](http://bower.io/) & [Grunt](http://gruntjs.com/):
1. Install [bower](http://bower.io/) & [polyserve](https://npmjs.com/polyserve):

```sh
$ [sudo] npm install -g bower grunt-cli
$ npm install -g bower polyserve
```

2. Install local dependencies:

```sh
$ bower install && npm install
$ bower install
```

3. To test your project, start the development server and open `http://localhost:8000`.
3. Start development server and open `http://localhost:8080/components/hello-world-xtag/`.

```sh
$ grunt server
```

4. To build the distribution files before releasing a new version.

```sh
$ grunt build
```

5. To provide a live demo, send everything to `gh-pages` branch.

```sh
$ grunt deploy
```t bump:major # v1.0.0
$ polyserve
```

## History
Expand Down
3 changes: 1 addition & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
"WebComponents.org"
],
"license": "MIT",
"main": "dist/hello-world.html",
"main": "hello-world.html",
"keywords": [
"x-tag",
"web-components"
],
"ignore": [
"**/.*",
"node_modules",
"bower_components"
],
"dependencies": {
Expand Down
60 changes: 0 additions & 60 deletions dist/hello-world.html

This file was deleted.

60 changes: 0 additions & 60 deletions dist/my-element.html

This file was deleted.

4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<meta charset="utf-8">
<title>&lt;hello-world&gt;</title>

<script src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
<!-- Imports polyfill -->
<script src="../webcomponentsjs/webcomponents.min.js"></script>

<!-- Imports custom element -->
<link rel="import" href="hello-world.html">

<link rel="import" href="src/hello-world.html">
</head>
<body>

Expand Down
10 changes: 0 additions & 10 deletions package.json

This file was deleted.

0 comments on commit 8ba4e95

Please sign in to comment.