es6bindall
Version:
Simple function to bind multiple methods to an ES6 class's 'this' object. Intended as an equivalent to Backbone's bindAll() method.
32 lines (31 loc) • 1.01 kB
JSON
{
"name": "es6bindall",
"version": "0.0.9",
"description": "Simple function to bind multiple methods to an ES6 class's 'this' object. Intended as an equivalent to Backbone's bindAll() method.",
"main": "index.js",
"repository": "https://github.com/brownieboy/es6bindall.git",
"scripts": {
"build": "babel src/es6bindall.js --out-file index.js",
"start": "babel --watch src/es6bindall.js --out-file index.js",
"test": "node ./tests/test1.js",
"prepublish": "npm run build"
},
"keywords": [
"ES6",
"ReactJS",
"react-component"
],
"author": "Michael Brown <brownieboy@gmail.com>",
"license": "ISC",
"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.11.4",
"babel-eslint": "^6.1.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.11.5",
"babel-plugin-transform-es2015-modules-umd": "^6.12.0",
"babel-preset-es2015": "^6.13.2",
"faucet": "0.0.1",
"tape": "^4.6.2"
}
}