Skip to content

Commit

Permalink
Release 3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Sep 10, 2018
2 parents 08b8d6f + 5279870 commit ece816b
Show file tree
Hide file tree
Showing 35 changed files with 1,219 additions and 732 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
language: node_js
node_js:
- "8"
before_install:
- npm install -g grunt-cli
15 changes: 15 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,20 @@ module.exports = function(grunt) {
}
},

/**
* Autoprefix CSS
*/
postcss: {
options: {
processors: [
require('autoprefixer')({ browsers: 'last 2 versions, ie >= 11' })
]
},
lib: {
src: 'dist/photo-sphere-viewer.css'
}
},

/**
* Minify dist CSS file
*/
Expand Down Expand Up @@ -287,6 +301,7 @@ module.exports = function(grunt) {
'wrap',
'uglify',
'sass',
'postcss',
'cssmin',
'usebanner'
]);
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,16 @@ Photo Sphere Viewer is available on [jsDelivr](https://cdn.jsdelivr.net/npm/phot

#### Prerequisites
* NodeJS + NPM: `apt-get install nodejs-legacy npm`
* Grunt CLI: `npm install -g grunt-cli`

#### Run

Install Node and Bower dependencies `npm install` then run `grunt` in the root directory to generate production files inside `dist`.
Install Node dependencies `npm install` then run `npm run build` in the root directory to generate production files inside `dist`.

#### Other commands

* `grunt test` to run jshint/jscs/scsslint.
* `grunt serve` to open the example page with automatic build and livereload.
* `grunt doc` to generate the documentation.
* `npm run test` to run jshint/jscs/scsslint.
* `npm run serve` to open the example page with automatic build and livereload.
* `npm run doc` to generate the documentation.

## License
This library is available under the MIT license.
Loading

0 comments on commit ece816b

Please sign in to comment.