Skip to content
This repository was archived by the owner on Sep 25, 2022. It is now read-only.

Commit bfc384a

Browse files
committed
Moves from Grunt tooling to Polyserve
1 parent 181f2e8 commit bfc384a

File tree

7 files changed

+8
-91
lines changed

7 files changed

+8
-91
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
bower_components/
2-
node_modules/

Gruntfile.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Or [download as ZIP](https://github.com/webcomponents/hello-world-polymer/archiv
2929
2. Import custom element:
3030

3131
```html
32-
<link rel="import" href="bower_components/hello-world-polymer/dist/hello-world.html">
32+
<link rel="import" href="bower_components/hello-world-polymer/hello-world.html">
3333
```
3434

3535
3. Start using it!
@@ -48,34 +48,22 @@ Attribute | Options | Default | Description
4848

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

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

5353
```sh
54-
$ [sudo] npm install -g bower grunt-cli
54+
$ npm install -g bower polyserve
5555
```
5656

5757
2. Install local dependencies:
5858

5959
```sh
60-
$ bower install && npm install
60+
$ bower install
6161
```
6262

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

6565
```sh
66-
$ grunt server
67-
```
68-
69-
4. To build the distribution files before releasing a new version.
70-
71-
```sh
72-
$ grunt build
73-
```
74-
75-
5. To provide a live demo, send everything to `gh-pages` branch.
76-
77-
```sh
78-
$ grunt deploy
66+
$ polyserve
7967
```
8068

8169
## History

bower.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
"WebComponents.org"
77
],
88
"license": "MIT",
9-
"main": "dist/hello-world.html",
9+
"main": "hello-world.html",
1010
"keywords": [
1111
"polymer",
1212
"web-components"
1313
],
1414
"ignore": [
1515
"**/.*",
16-
"node_modules",
1716
"bower_components"
1817
],
1918
"dependencies": {

dist/hello-world.html

Lines changed: 0 additions & 17 deletions
This file was deleted.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<script src="../webcomponentsjs/webcomponents-lite.min.js"></script>
1010

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

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

package.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)