mirror of
https://github.com/hanzoai/elliptic.git
synced 2026-09-23 23:51:03 +00:00
+8
-3
@@ -8,6 +8,11 @@ module.exports = function(grunt) {
|
||||
options: {
|
||||
transform: ['brfs']
|
||||
}
|
||||
},
|
||||
dist: {
|
||||
files: {
|
||||
'dist/elliptic.js': [ 'lib/**/*.js' ]
|
||||
}
|
||||
}
|
||||
},
|
||||
connect: {
|
||||
@@ -149,9 +154,9 @@ module.exports = function(grunt) {
|
||||
},
|
||||
},
|
||||
uglify: {
|
||||
scrypt: {
|
||||
dist: {
|
||||
files: {
|
||||
'elliptic.min.js' : [ 'elliptic.js' ]
|
||||
'dist/elliptic.min.js' : [ 'dist/elliptic.js' ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -173,7 +178,7 @@ module.exports = function(grunt) {
|
||||
});
|
||||
});
|
||||
|
||||
grunt.registerTask('build', ['uglify']);
|
||||
grunt.registerTask('dist', ['browserify', 'uglify']);
|
||||
grunt.registerTask('coverage', ['browserify', 'copy:test', 'mocha_istanbul:coverage']);
|
||||
grunt.registerTask('coveralls', ['browserify', 'copy:test', 'mocha_istanbul:coveralls']);
|
||||
grunt.registerTask('saucelabs', ['browserify', 'copy:test', 'connect', 'saucelabs-mocha']);
|
||||
|
||||
Vendored
+2
-1
@@ -11,7 +11,8 @@
|
||||
"jshint": "jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",
|
||||
"lint": "npm run jscs && npm run jshint",
|
||||
"unit": "istanbul test _mocha --reporter=spec test/index.js",
|
||||
"test": "npm run lint && npm run unit"
|
||||
"test": "npm run lint && npm run unit",
|
||||
"version": "grunt dist && git add dist/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user