Skip to content

Commit

Permalink
Prepare NPM publish, change three.js examples package
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Oct 23, 2016
1 parent 92937d3 commit d680c92
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 6,042 deletions.
3 changes: 0 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
## Work on `dev`
Any merge request should be created from and issued to the `dev` branch.

## dist files
Keep it simple, don't commit any files in the `dist` directory, I build these files only before a release.

## Unit tests
There are very few unit tests because it's somehow difficult to setup, but please don't break them and create new ones if you can.

Expand Down
1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

- [ ] I read the [guidelines for contributing](https://github.com/mistic100/Photo-Sphere-Viewer/blob/master/.github/CONTRIBUTING.md)
- [ ] I created my branch from `dev` and I am issuing the PR to `dev`
- [ ] I **didn't** commited files in the `dist` directory
- [ ] Unit tests are OK
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/.sass-cache
/.idea
/*.iml
/dist
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ module.exports = function(grunt) {
connect: {
dev: {
options: {
host: '0.0.0.0',
port: 9000
}
}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Photo Sphere Viewer

[![Bower version](https://img.shields.io/bower/v/Photo-Sphere-Viewer.svg?style=flat-square)](http://photo-sphere-viewer.js.org)
[![NPM version](https://img.shields.io/npm/v/photo-sphere-viewer.svg?style=flat-square)](https://www.npmjs.com/package/photo-sphere-viewer)
[![Build Status](https://img.shields.io/travis/mistic100/Photo-Sphere-Viewer/master.svg?style=flat-square)](https://travis-ci.org/mistic100/Photo-Sphere-Viewer)

Photo Sphere Viewer is a JavaScript library that allows you to display 360×180 degrees panoramas on any web page. Panoramas must use the equirectangular projection and can be taken with the Google Camera, the Ricoh Theta or any 360° camera.
Expand Down Expand Up @@ -32,8 +33,7 @@ Install Node and Bower dependencies `npm install & bower install` then run `grun
### Other commands

* `grunt test` to run jshint/jscs/scsslint.
* `grunt watch` to automatically build the library when modifying the source files.
* `grunt server` to open the example page with automatic build and livereload.
* `grunt serve` to open the example page with automatic build and livereload.

## License
This library is available under the MIT license.
9 changes: 4 additions & 5 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "Photo-Sphere-Viewer",
"version": "3.2.1",
"authors": [
{
"name": "Jérémy Heleine",
Expand All @@ -25,6 +24,9 @@
"uevent": "~1.0.0",
"doT": "master"
},
"devDependencies": {
"three.js-examples": "master"
},
"keywords": [
"photosphere",
"panorama",
Expand All @@ -43,8 +45,5 @@
"tests",
"package.json",
"Gruntfile.js"
],
"devDependencies": {
"threejs-examples": "master"
}
]
}
Loading

0 comments on commit d680c92

Please sign in to comment.