Skip to content

Commit 2f58edf

Browse files
author
Ixl123
committed
chore: update package name
1 parent 0711e57 commit 2f58edf

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Sometimes you want to change or get a CSS custom property value inside you react
3737

3838
## 🚀 Installation
3939

40-
`npm i @jcofman/react-use-css-custom-property --save` or `yarn add @jcofman/react-use-css-custom-property`
40+
`npm i react-use-css-custom-property --save` or `yarn add react-use-css-custom-property`
4141

4242
## Usage
4343

@@ -48,7 +48,7 @@ import 'react-app-polyfill/ie11';
4848
import * as React from 'react';
4949
import * as ReactDOM from 'react-dom';
5050
import './index.css';
51-
import useCSSCustomProperty from '@jcofman/react-use-css-custom-property';
51+
import useCSSCustomProperty from 'react-use-css-custom-property';
5252

5353
const App = () => {
5454
const [firstColor, setFirstColor] = useCSSCustomProperty('--first-color');

coverage/clover.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<coverage generated="1585495549724" clover="3.2.0">
3-
<project timestamp="1585495549724" name="All files">
2+
<coverage generated="1585497629243" clover="3.2.0">
3+
<project timestamp="1585497629243" name="All files">
44
<metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0" elements="0" coveredelements="0" complexity="0" loc="0" ncloc="0" packages="0" files="0" classes="0"/>
55
</project>
66
</coverage>

coverage/lcov-report/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h1>All files</h1>
7979
<div class='footer quiet pad2 space-top1 center small'>
8080
Code coverage generated by
8181
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
82-
at Sun Mar 29 2020 17:25:49 GMT+0200 (GMT+02:00)
82+
at Sun Mar 29 2020 18:00:29 GMT+0200 (GMT+02:00)
8383
</div>
8484
</div>
8585
<script src="prettify.js"></script>

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@
2828
"singleQuote": true,
2929
"trailingComma": "es5"
3030
},
31-
"name": "@jcofman/react-use-css-custom-property",
32-
"author": "jcofman",
31+
"author": {
32+
"name": "jcofman",
33+
"email": "cofman.jacob@gmail.com",
34+
"url": "https://jcofman.com"
35+
},
36+
"name": "react-use-css-custom-property",
3337
"module": "dist/react-use-computed-style.esm.js",
3438
"devDependencies": {
3539
"@types/jest": "^25.1.4",

0 commit comments

Comments
 (0)