forked from squarefeet/ShaderParticleEngine
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing use of global grunt and adding npm build script
This is a minor modernization of the project. You shouldn't require users to have global versions of packages installed. Using npm scripts means the grunt command will be available when the npm script is run. Note the indentation of package.json has changed to two spaces. This is because of the use of the automatic command `npm install --save-dev grunt`. Note any automatic npm command will change the spacing to 2 spaces, so I think it's best to keep it this way. Additionally this adds missing grunt plugins to the packages, which presumably you had installed along with your global grunt.
- Loading branch information
1 parent
51e0e2b
commit f225e24
Showing
2 changed files
with
40 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,40 @@ | ||
{ | ||
"name": "shader-particle-engine", | ||
"description": "A GLSL-focused particle engine for THREE.js.", | ||
"version": "1.0.3", | ||
"author": "Luke Moody (https://github.com/squarefeet/)", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/squarefeet/ShaderParticleEngine.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/squarefeet/ShaderParticleEngine/issues" | ||
}, | ||
"homepage": "https://github.com/squarefeet/ShaderParticleEngine/", | ||
"keywords": [ | ||
"three.js", | ||
"webgl", | ||
"particle", | ||
"particles", | ||
"glsl", | ||
"shader", | ||
"spe" | ||
], | ||
"devDependencies": { | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-concat": "^0.5.1", | ||
"grunt-contrib-uglify": "^0.9.2", | ||
"grunt-docco2": "^0.2.1", | ||
"grunt-jsdoc": "^1.0.0" | ||
}, | ||
"scripts": { | ||
"test": "grunt" | ||
}, | ||
"main": "build/SPE.min.js", | ||
"directories": { | ||
"doc": "docs", | ||
"example": "examples" | ||
} | ||
"name": "shader-particle-engine", | ||
"description": "A GLSL-focused particle engine for THREE.js.", | ||
"version": "1.0.3", | ||
"author": "Luke Moody (https://github.com/squarefeet/)", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/squarefeet/ShaderParticleEngine.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/squarefeet/ShaderParticleEngine/issues" | ||
}, | ||
"homepage": "https://github.com/squarefeet/ShaderParticleEngine/", | ||
"keywords": [ | ||
"three.js", | ||
"webgl", | ||
"particle", | ||
"particles", | ||
"glsl", | ||
"shader", | ||
"spe" | ||
], | ||
"devDependencies": { | ||
"grunt": "^0.4.5", | ||
"grunt-cli": "^0.1.13", | ||
"grunt-contrib-concat": "^0.5.1", | ||
"grunt-contrib-uglify": "^0.9.2", | ||
"grunt-docco2": "^0.2.1", | ||
"grunt-jsdoc": "^1.1.0" | ||
}, | ||
"scripts": { | ||
"build": "grunt" | ||
}, | ||
"main": "build/SPE.min.js", | ||
"directories": { | ||
"doc": "docs", | ||
"example": "examples" | ||
} | ||
} |