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

react-skeleton-blocks

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-skeleton-blocks - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

dist/react-skeleton-blocks.js

31

package.json
{
"name": "react-skeleton-blocks",
"version": "1.0.1",
"version": "1.0.2",
"description": "React Skeleton UI components for loading elements",

@@ -8,4 +8,5 @@ "author": "stefandunn",

"repository": "stefandunn/skeleton-ui",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"main": "dist/react-skeleton-blocks.js",
"module": "dist/react-skeleton-blocks.modern.js",
"browser": "dist/react-skeleton-blocks.umd.js",
"source": "src/index.js",

@@ -16,3 +17,3 @@ "engines": {

"scripts": {
"build": "microbundle-crl --no-compress --format modern,cjs --jsxFragment React.Fragment",
"build": "microbundle-crl --compress --format modern,cjs,umd --jsxFragment React.Fragment --css-modules true --globals react=React --name ReactSkeletonBlocks",
"start": "microbundle-crl watch --no-compress --format modern,cjs --jsxFragment React.Fragment",

@@ -36,18 +37,19 @@ "prepare": "run-s build",

"eslint": "^6.8.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-prettier": "^6.14.0",
"eslint-config-standard": "^14.1.0",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-standard": "^4.0.2",
"gh-pages": "^2.2.0",
"microbundle-crl": "^0.13.10",
"microbundle-crl": "^0.13.11",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.1"
"prettier": "^2.1.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-scripts": "^4.0.0",
"babel-jest": "^24.9.0"
},

@@ -59,3 +61,6 @@ "files": [

"extends": "react-app"
},
"dependencies": {
"fsevents": "^2.1.3"
}
}

@@ -234,4 +234,31 @@ # react-skeleton-blocks

## UMD Distribution Usage
All blocks are distributed under the ReactSkeletonBlocks scope attached to the browser's window.
### Package
You can point to the react-skeleton-blocks.umd.js file within a `<script>` tag:
```
<script src"./dist/react-skeleton-blocks.umd.js"></script>
```
### Using Blocks
Very similar to the above samples, but you will need to specify the scope, `ReactSkeletonBlocks`, so for example:
```javascript
ReactDOM.render(
<ReactSkeletonBlocks.SkeletonAvatar
radius='80'
src='https://source.unsplash.com/random/100x100'
alt='Preloaded from Unsplash'
/>,
document.getElementById('root')
)
```
## License
MIT © [stefandunn](https://github.com/stefandunn)
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