Reverted some package.json changes that were produced by npm tool

- Removed README.md and package.json from .npmignore.
  - Added interlining to .npmignore to maintain consistency with
    how we format .gitignore.
  - Change order of npm tasks in Gruntfile in order to have a more
    cohesive pattern.
This commit is contained in:
Miguel Del Castillo 2017-08-04 17:38:29 -05:00
parent ad666de06a
commit 15f0ebebfd
3 changed files with 26 additions and 6 deletions

View File

@ -1,23 +1,41 @@
.idea/
api-doc/
apps/
design-notes/
examples/
node_modules/
performance/
src/
test/
test-results/
tools/
.gitignore
.npmignore
.travis.yml
config.json
Gruntfile.js
HowToBuildWebWW.md
HowToCreateAndRunUnitTests.md
karma.conf.js
layout.tmpl
package-lock.json
package.json
README.md

View File

@ -71,9 +71,9 @@ module.exports = function (grunt) {
});
grunt.loadNpmTasks('grunt-contrib-requirejs');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-jsdoc');
grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.registerTask('default', ['karma', 'jsdoc', 'requirejs', 'copy']);
};

View File

@ -14,12 +14,14 @@
"ESA Consortium Contact <yann.voumard@solenix.ch>"
],
"directories": {
"example": "examples",
"test": "test"
"lib": "./src",
"doc": "./api-doc",
"test": "./test",
"example": "./examples"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NASAWorldWind/WebWorldWind.git"
"url": "https://github.com/NASAWorldWind/WebWorldWind.git"
},
"scripts": {
"build": "grunt",