New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@snappmarket/config

Package Overview
Dependencies
Maintainers
5
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snappmarket/config - npm Package Compare versions

Comparing version

to
0.2.10-alpha.1

babel/index.js

29

package.json
{
"name": "@snappmarket/config",
"private": false,
"version": "0.2.6",
"version": "0.2.10-alpha.1",
"author": "Jafar Rezaei (SayJeyHi) <jafar.rezaei.ard@gmail.com>",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
"unpkg": "./dist/umd/hooks.production.js",
"scripts": {
"test": "cross-env BABEL_ENV=test jest --config ../../jest.config.js",
"test:coverage": "cross-env BABEL_ENV=test jest --config ../../jest.config.js --coverage=true",
"build": "yarn build:cjs && yarn build:esm && yarn build:es && yarn build:umd && yarn build:copy-files",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel --config-file ../../babel.config.js ./packages --out-dir ./dist",
"build:esm": "cross-env NODE_ENV=production BABEL_ENV=esm babel --config-file ../../babel.config.js ./packages --out-dir ./dist/esm",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=es babel --config-file ../../babel.config.js ./packages --out-dir ./dist/es",
"build:umd": "cross-env BABEL_ENV=production-umd rollup -c",
"build:copy-files": "node ../../scripts/copy-file/packages-copy.js",
"release": "node ../../scripts/release/release-parents.js",
"prebuild": "rimraf ./dist",
"start": "rollup -c -w",
"prepare": "yarn run build",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build"
"main": "./index.js",
"module": "./esm/index.js",
"unpkg": "./dist/umd/config.production.js",
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"styled-components": "^4.2.0"
},

@@ -58,2 +47,2 @@ "engines": {

"gitHead": "36dda3b65acbad094685d04eb869ce590c65c2b6"
}
}

@@ -1,8 +0,8 @@

# Our apps re-usable hooks
> ⚓ hooks are good, making custom re-usable ones is better
# Snappmarket config
> 🧮 babel, eslint, theme and etc
[![version](https://img.shields.io/npm/v/@snappmarket/hooks.svg?style=flat-square)](https://www.npmjs.com/package/@snappmarket/hooks)
[![downloads](https://img.shields.io/npm/dm/@snappmarket/hooks.svg?style=flat-square)](http://www.npmtrends.com/@snappmarket/hooks)
[![version](https://img.shields.io/npm/v/@snappmarket/hooks.svg?style=flat-square)](https://www.npmjs.com/package/@snappmarket/config)
[![downloads](https://img.shields.io/npm/dm/@snappmarket/hooks.svg?style=flat-square)](http://www.npmtrends.com/@snappmarket/config)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![MIT License](https://img.shields.io/npm/l/@snappmarket/hooks.svg?style=flat-square)](https://github.com/snappmarket/frontend-toolbox/tree/master/packages/useDidUpdateEffect/blob/master/LICENSE.md)
[![MIT License](https://img.shields.io/npm/l/@snappmarket/hooks.svg?style=flat-square)](https://github.com/snappmarket/frontend-toolbox/tree/master/packages/config/blob/master/LICENSE.md)

@@ -12,6 +12,2 @@ [![Watch on GitHub](https://img.shields.io/github/watchers/snappmarket/frontend-toolbox.svg?style=social)](https://github.com/snappmarket/frontend-toolbox/watchers)

<p align="center">
<img src="./logo.png" alt="react hooks" />
</p>
----

@@ -21,29 +17,6 @@

```bash
npm i @snappmarket/hooks
npm i @snappmarket/config
```
## Hooks Found Here
| Hook Name | Description |
| ------------------------------------------------- | ---------------------------------------------------------------- |
| [useDebounce](https://github.com/snappmarket/frontend-toolbox/tree/master/packages/hooks/packages/useDebounce) | 🔂 Change rapidly, do once |
| [useDidUpdateEffect](https://github.com/snappmarket/frontend-toolbox/tree/master/packages/hooks/packages/useDidUpdateEffect) | 🧵 Do not worry about render phase effect calls |
| [useFocus](https://github.com/snappmarket/frontend-toolbox/tree/master/packages/hooks/packages/useFocus) | 😵 Focus on every thing you want |
| [useForceUpdate](https://github.com/snappmarket/frontend-toolbox/tree/master/packages/hooks/packages/useForceUpdate) | 👿 force update component |
| [useGeoLocation](https://github.com/snappmarket/frontend-toolbox/tree/master/packages/hooks/packages/useGeoLocation) | 🗺 easily deal with navigator location API |
| [useRouteChange](https://github.com/snappmarket/frontend-toolbox/tree/master/packages/hooks/packages/useRouteChange) | 🏹 detect when react router dom route changes |
| [useTimer](https://github.com/snappmarket/frontend-toolbox/tree/master/packages/hooks/packages/useTimer) | ⏱ easily handle timing |
## usage
```javascript
import { HOOK_NAME } from '@snappmarket/hooks';
const MyComponenet = props => {
// use hook here
};
```
---

@@ -50,0 +23,0 @@ #### The MIT License (MIT)