hooks-mixin
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "hooks-mixin", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "A small mixin for classes. Adds hooks ability to your classes", | ||
@@ -10,7 +10,17 @@ "main": "index.js", | ||
"private": false, | ||
"files": [ | ||
"index.js", | ||
"build/index.js" | ||
], | ||
"scripts": { | ||
"test": "jest" | ||
"build": "NODE_ENV=production ./node_modules/babel-cli/bin/babel.js index.js -d build/", | ||
"test": "jest", | ||
"tarball": "tarball=\"$(npm pack .)\"; wc -c \"${tarball}\"; tar tvf \"${tarball}\"; rm \"${tarball}\";", | ||
"prepublishOnly": "yarn build && yarn tarball" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^8.2.1", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-minify": "^0.4.0", | ||
"eslint": "^4.15.0", | ||
@@ -17,0 +27,0 @@ "jest": "^22.4.3" |
@@ -66,1 +66,5 @@ # hooks-mixin | ||
``` | ||
## Frontend | ||
Just `import` or `require` from `build/index.js`. |
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
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
70
6746
6
5
88