Skip to content

Commit 20368b3

Browse files
committed
Add support for NPM releases. Remove releases/ from sources.
1 parent 9acb769 commit 20368b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+8
-69561
lines changed

Gruntfile.js

+7
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,13 @@ module.exports = function(grunt) {
157157

158158
// Release current build.
159159
grunt.registerTask('stage', 'Stage current binaries to releases/.', function() {
160+
grunt.task.run('default');
160161
grunt.task.run('copy:release');
161162
});
163+
164+
// Increment package version and publish to NPM.
165+
grunt.registerTask('publish', 'Publish VexFlow NPM.', function() {
166+
grunt.task.run('stage');
167+
grunt.task.run('release');
168+
});
162169
};

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ Install via NPM:
2121

2222
$ npm install vexflow
2323

24-
Include one of `lib/vexflow*.js` into your HTML or JS code. If you're using a CommonJS loader, you can import with `var Vex = require('vexflow')`.
25-
26-
You can also just download one of the Pre-built binary releases from the `releases/` directory of this tree.
24+
Include `releases/vexflow-min.js` into your HTML or JS code. It works as a standalone script in a `script` tag, or as a CommonJS or AMD dependency.
2725

2826
## Resources
2927

0 commit comments

Comments
 (0)