Update gltf-pipeline and general project cleanup

This commit is contained in:
Sean Lilley 2017-01-03 21:37:15 -05:00
parent aaa64b9e1a
commit 6f5bc856ed
6 changed files with 43 additions and 26 deletions

10
.gitignore vendored
View File

@ -2,14 +2,16 @@
node_modules
npm-debug.log
# TypeScript definitions
typings
# WebStorm user-specific
.idea/workspace.xml
.idea/tasks.xml
# TypeScript definitions
typings
# Generate data
test
coverage
doc
output
test
*.tgz

View File

@ -1,9 +1,10 @@
/.idea
/coverage
/doc
/output
/specs
/test
/typings
/coverage
.jshintrc
.npmignore
.travis.yml

View File

@ -1,6 +1,11 @@
language: node_js
node_js:
- 4
- "4"
- "6"
script:
- npm run jsHint -- --failTaskOnError
- npm run test -- --failTaskOnError --suppressPassed
after_success:
## We only need to run coveralls for one node version (doesn't matter which one).
## We also ignore publishing failures, since restarting an existing travis build would otherwise break.
- if node --version | grep -q ^v6 ; npm run coveralls ; fi

View File

@ -1,6 +1,11 @@
Change Log
==========
### 0.1.7 2017-01-03
* Update gltf-pipeline to 0.1.0-alpha9
* Added command to generate documentation (npm run jsdoc)
### 0.1.6 2016-09-07
* Changed obj2gltf.js line endings from CRLF to LF in npm package.

View File

@ -20,7 +20,7 @@ var environmentSeparator = process.platform === 'win32' ? ';' : ':';
var nodeBinaries = path.join(__dirname, 'node_modules', '.bin');
process.env.PATH += environmentSeparator + nodeBinaries;
var jsHintFiles = ['**/*.js', '!node_modules/**', '!coverage/**'];
var jsHintFiles = ['**/*.js', '!node_modules/**', '!coverage/**', '!doc/**'];
var specFiles = ['**/*.js', '!node_modules/**', '!coverage/**'];
gulp.task('jsHint', function () {

View File

@ -1,6 +1,6 @@
{
"name": "obj2gltf",
"version": "0.1.6",
"version": "0.1.7",
"description": "Convert OBJ model format to glTF",
"license": "Apache-2.0",
"contributors": [
@ -26,33 +26,37 @@
"node": ">=4.0.0"
},
"dependencies": {
"async": "2.1.2",
"bluebird": "3.4.6",
"byline": "5.0.0",
"cesium": "1.26.0",
"fs-extra": "0.30.0",
"gltf-pipeline": "0.1.0-alpha8",
"yargs": "6.3.0"
"async": "^2.1.4",
"bluebird": "^3.4.7",
"byline": "^5.0.0",
"cesium": "^1.29.0",
"fs-extra": "^1.0.0",
"gltf-pipeline": "^0.1.0-alpha9",
"yargs": "^6.6.0"
},
"devDependencies": {
"gulp": "3.9.1",
"gulp-jshint": "2.0.2",
"istanbul": "0.4.5",
"jasmine": "2.5.2",
"jasmine-spec-reporter": "2.7.0",
"jshint": "2.9.4",
"jshint-stylish": "2.2.1",
"open": "0.0.5",
"requirejs": "2.3.2",
"typings": "1.4.0"
"coveralls": "^2.11.15",
"gulp": "^3.9.1",
"gulp-jshint": "^2.0.4",
"istanbul": "^0.4.5",
"jasmine": "^2.5.2",
"jasmine-spec-reporter": "^3.0.0",
"jsdoc": "^3.4.3",
"jshint": "^2.9.4",
"jshint-stylish": "^2.2.1",
"open": "^0.0.5",
"requirejs": "^2.3.2",
"typings": "^2.1.0"
},
"scripts": {
"prepublish": "typings install",
"jsdoc": "jsdoc ./lib -R ./README.md -d doc",
"jsHint": "gulp jsHint",
"jsHint-watch": "gulp jsHint-watch",
"test": "gulp test",
"test-watch": "gulp test-watch",
"coverage": "gulp coverage"
"coverage": "gulp coverage",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
},
"bin": {
"obj2gltf": "./bin/obj2gltf.js"