fruitmachine-ftdomdelegate
Advanced tools
Comparing version 2.2.0 to 2.2.2
@@ -7,3 +7,12 @@ module.exports = function(grunt) { | ||
buster: {}, | ||
buster: { | ||
test: { | ||
server: { | ||
port: 1112, | ||
}, | ||
test: { | ||
config: 'test/buster.js', | ||
}, | ||
}, | ||
}, | ||
@@ -15,2 +24,6 @@ browserify: { | ||
}, | ||
test: { | ||
src: 'test/test.js', | ||
dest: 'test/build/fruitmachine-ftdomdelegate.test.js' | ||
}, | ||
options: { | ||
@@ -34,4 +47,4 @@ standalone: 'fruitmachineFTDOMDelegate' | ||
// Default task. | ||
grunt.registerTask('default', ['browserify', 'uglify']); | ||
grunt.registerTask('default', ['browserify:build', 'uglify']); | ||
grunt.registerTask('test', ['browserify:test', 'buster']); | ||
}; |
@@ -23,3 +23,3 @@ /** | ||
view.on('setup', function() { | ||
view.on('mount', function() { | ||
this.delegate.root(this.el); | ||
@@ -26,0 +26,0 @@ }); |
{ | ||
"name": "fruitmachine-ftdomdelegate", | ||
"title": "FruitMachine Delegate Helper", | ||
"version": "2.2.0", | ||
"version": "2.2.2", | ||
"author": { | ||
@@ -22,2 +22,16 @@ "name": "Matt Andrews", | ||
"browser": "lib/helper", | ||
"browserify": { | ||
"transform": [ | ||
"browserify-swap" | ||
] | ||
}, | ||
"browserify-swap": { | ||
"@packages": [ | ||
"dom-delegate", | ||
"fruitmachine-ftdomdelegate" | ||
], | ||
"test": { | ||
"dom-delegate": "./test/stubs/delegate.stub.js" | ||
} | ||
}, | ||
"main": "lib/node", | ||
@@ -28,3 +42,3 @@ "engines": { | ||
"scripts": { | ||
"test": "node test/build && ./node_modules/.bin/grunt buster" | ||
"test": "BROWSERIFYSWAP_ENV=test grunt test" | ||
}, | ||
@@ -35,12 +49,16 @@ "dependencies": { | ||
"devDependencies": { | ||
"buster": "~0.6.2", | ||
"grunt": "~0.4.1", | ||
"grunt-cli": "~0.1.8", | ||
"grunt-buster": "~0.1.2", | ||
"grunt-browserify": "1.0.2", | ||
"grunt-contrib-uglify": "~0.1.2", | ||
"fruitmachine": "*", | ||
"proxyquireify": "~0.2.2", | ||
"browserify": "~2.12.0" | ||
"browserify": "^11.0.0", | ||
"browserify-swap": "^0.2.2", | ||
"buster": "^0.7.0", | ||
"fruitmachine": "^1.1.0", | ||
"grunt": "^0.4.1", | ||
"grunt-browserify": "^4.0.0", | ||
"grunt-buster": "^0.3.2", | ||
"grunt-cli": "^0.1.8", | ||
"grunt-contrib-uglify": "^0.9.2", | ||
"phantomjs": "^1.9.18" | ||
}, | ||
"peerDependencies": { | ||
"fruitmachine": "^1.1.0" | ||
}, | ||
"contributors": [ | ||
@@ -47,0 +65,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
0
7085
2
10
8
87
2