Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hooks-mixin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hooks-mixin - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

build/index.js

14

package.json
{
"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`.
.eslintrc.js
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc