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

imprest

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

imprest - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

8

package.json
{
"name": "imprest",
"version": "0.0.6",
"version": "0.0.7",
"main": "lib/index.js",

@@ -13,5 +13,2 @@ "repository": "https://github.com/luk707/imprest.git",

"dependencies": {
"@emotion/core": "^10.0.14",
"@emotion/styled": "^10.0.14",
"@types/node": "^12.6.8",
"polished": "^3.4.1",

@@ -28,2 +25,3 @@ "prism-react-renderer": "^0.1.7",

"@babel/preset-typescript": "^7.3.3",
"@types/node": "^12.6.8",
"@types/react": "^16.8.23",

@@ -35,2 +33,4 @@ "@types/react-dom": "^16.8.5",

"peerDependencies": {
"@emotion/core": "^10.0.14",
"@emotion/styled": "^10.0.14",
"react": "^16.8.6",

@@ -37,0 +37,0 @@ "react-dom": "^16.8.6"

@@ -11,2 +11,27 @@ [![GitHub issues](https://img.shields.io/github/issues/luk707/imprest)](https://github.com/luk707/imprest/issues)

# Getting started
To install Imprest run the following command:
```
yarn add imprest react react-dom @emotion/core @emotion/styled
```
To use Imprest's components, you must wrap your application with a theme context provider and specifying any valid imprest theme:
```jsx
import React from "react";
import ReactDOM from "react-dom";
import { Button, lightTheme } from "imprest";
import { ThemeContext } from "@emotion/core";
ReactDOM.render(
<ThemeContext.Provider value={lightTheme}>
<Button>Hello world!</Button>
</ThemeContext.Provider>,
document.getElementById("root")
);
```
# Why is this project useful

@@ -13,0 +38,0 @@

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