Comparing version 0.9.2 to 0.9.3
@@ -31,2 +31,3 @@ /* | ||
grunt.loadNpmTasks("grunt-babel") | ||
grunt.loadNpmTasks("grunt-mocha-test") | ||
grunt.initConfig({ | ||
@@ -37,4 +38,10 @@ eslint: { | ||
}, | ||
"gruntfile": [ "Gruntfile.js" ], | ||
"encodr": [ "src/**/*.js" ] | ||
"gruntfile": [ "Gruntfile.js" ], | ||
"encodr-source": [ "src/**/*.js" ], | ||
"encodr-tests": { | ||
src: [ "tst/**/*.js" ], | ||
options: { | ||
envs: [ "node", "mocha" ] | ||
} | ||
} | ||
}, | ||
@@ -98,2 +105,11 @@ browserify: { | ||
}, | ||
mochaTest: { | ||
options: { | ||
reporter: "spec", | ||
require: "babel-register" | ||
}, | ||
"encodr": { | ||
src: [ "tst/**/*.js" ] | ||
} | ||
}, | ||
clean: { | ||
@@ -104,4 +120,5 @@ clean: [], | ||
}) | ||
grunt.registerTask("default", [ "eslint", "browserify:encodr-browser", "babel:encodr-node" ]) | ||
grunt.registerTask("default", [ "eslint", "browserify", "babel", "mochaTest" ]) | ||
grunt.registerTask("test", [ "mochaTest" ]) | ||
} | ||
{ | ||
"name": "encodr", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"description": "Encoding/Decoding to/from JSON/CBOR/MsgPack", | ||
@@ -41,2 +41,3 @@ "keywords": [ "encode", "decode", "codec", "json", "cbor", "msgpack" ], | ||
"grunt-browserify": "~5.0.0", | ||
"grunt-mocha-test": "~0.13.2", | ||
"browserify": "~14.4.0", | ||
@@ -50,8 +51,12 @@ "aliasify": "~2.1.0", | ||
"babel-preset-stage-2": "~6.24.1", | ||
"babel-preset-env": "~1.5.2", | ||
"babel-plugin-transform-runtime": "~6.23.0", | ||
"uglifyify": "~4.0.0", | ||
"babel-register": "~6.24.1", | ||
"babel-eslint": "~7.2.3", | ||
"mocha": "~3.4.2", | ||
"chai": "~4.0.2", | ||
"chai-deep-match": "~1.0.2", | ||
"uglifyify": "~4.0.1", | ||
"browserify-header": "~0.9.2", | ||
"browserify-derequire": "~0.9.4", | ||
"babel-eslint": "~7.2.3", | ||
"babel-preset-env": "~1.5.2", | ||
"eslint": "~4.0.0", | ||
@@ -66,4 +71,5 @@ "eslint-config-standard": "~10.2.1", | ||
"prepublish": "grunt default", | ||
"build": "grunt default" | ||
"build": "grunt default", | ||
"test": "grunt test" | ||
} | ||
} |
@@ -11,3 +11,2 @@ { | ||
"grunt-contrib-clean": "~1.1.0", | ||
"grunt-eslint": "~19.0.0", | ||
"grunt-browserify": "~5.0.0", | ||
@@ -14,0 +13,0 @@ "browserify": "~14.4.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1173400
17
30135
31
3