Skip to content

Commit

Permalink
Move npm package to root so it can be indexed
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Meekins committed Jan 17, 2017
1 parent 1b52d15 commit 868dc4b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
File renamed without changes.
29 changes: 14 additions & 15 deletions utils/Gruntfile.js → Gruntfile.js
Expand Up @@ -4,8 +4,8 @@ module.exports = function(grunt) {
pkg: grunt.file.readJSON('package.json'),
concat: {
build: {
src : ['../src/*.js', '../src/**/*.js'],
dest : '../build/ros3d.js'
src : ['./src/*.js', './src/**/*.js'],
dest : './build/ros3d.js'
}
},
jshint: {
Expand All @@ -14,12 +14,12 @@ module.exports = function(grunt) {
},
files: [
'Gruntfile.js',
'../build/ros3d.js'
'./build/ros3d.js'
]
},
karma: {
build: {
configFile: '../test/karma.conf.js',
configFile: './test/karma.conf.js',
singleRun: true,
browsers: ['PhantomJS']
}
Expand All @@ -29,8 +29,8 @@ module.exports = function(grunt) {
report: 'min'
},
build: {
src: '../build/ros3d.js',
dest: '../build/ros3d.min.js'
src: './build/ros3d.js',
dest: './build/ros3d.min.js'
}
},
watch: {
Expand All @@ -39,8 +39,8 @@ module.exports = function(grunt) {
interrupt: true
},
files: [
'../src/*.js',
'../src/**/*.js'
'./src/*.js',
'./src/**/*.js'
],
tasks: ['concat']
},
Expand All @@ -51,8 +51,8 @@ module.exports = function(grunt) {
files: [
'Gruntfile.js',
'.jshintrc',
'../src/*.js',
'../src/**/*.js'
'./src/*.js',
'./src/**/*.js'
],
tasks: ['build']
}
Expand All @@ -61,16 +61,16 @@ module.exports = function(grunt) {
options: {
force: true
},
doc: ['../doc']
doc: ['./doc']
},
jsdoc: {
doc: {
src: [
'../src/*.js',
'../src/**/*.js'
'./src/*.js',
'./src/**/*.js'
],
options: {
destination: '../doc',
destination: './doc',
configure: 'jsdoc_conf.json'
}
}
Expand All @@ -90,4 +90,3 @@ module.exports = function(grunt) {
grunt.registerTask('build_and_watch', ['watch']);
grunt.registerTask('doc', ['clean', 'jsdoc']);
};

File renamed without changes.
File renamed without changes.

0 comments on commit 868dc4b

Please sign in to comment.