mirror of
https://github.com/coreui/coreui-icons.git
synced 2025-08-14 04:34:00 +02:00
init lerna
This commit is contained in:
21
packages/icons-react/LICENSE
Normal file
21
packages/icons-react/LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 creativeLabs Łukasz Holeczek
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@@ -14,8 +14,6 @@
|
||||
·
|
||||
<a href="https://github.com/coreui/coreui-icons/issues/new?template=feature_request.md">Request feature</a>
|
||||
·
|
||||
<a href="https://community.coreui.io/">Community</a>
|
||||
·
|
||||
<a href="https://blog.coreui.io/">Blog</a>
|
||||
</p>
|
||||
|
||||
@@ -34,14 +32,14 @@
|
||||
|
||||
```bash
|
||||
npm install @coreui/icons
|
||||
npm install @coreui/icons-react@next
|
||||
npm install @coreui/icons-react
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
yarn add @coreui/icons
|
||||
yarn add @coreui/icons-react@next
|
||||
yarn add @coreui/icons-react
|
||||
```
|
||||
|
||||
## Use
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@coreui/icons-react",
|
||||
"version": "2.0.0-rc.6",
|
||||
"version": "2.0.0",
|
||||
"description": "Official React component for CoreUI Icons",
|
||||
"keywords": [
|
||||
"coreui",
|
||||
@@ -26,15 +26,16 @@
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.es.js",
|
||||
"jsnext:main": "dist/index.es.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist/",
|
||||
"README.md"
|
||||
"src/"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "rollup -c",
|
||||
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
|
||||
"test": "jest --coverage",
|
||||
"test:clear": "jest --clearCache",
|
||||
"test:update": "jest --coverage --updateSnapshot"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@@ -12,12 +12,22 @@ export default {
|
||||
format: 'cjs',
|
||||
exports: 'named',
|
||||
sourcemap: true,
|
||||
sourcemapPathTransform: (relativeSourcePath) => {
|
||||
return relativeSourcePath
|
||||
.replace('../../node_modules/', '../')
|
||||
.replace('../packages/icons-react', '..')
|
||||
},
|
||||
},
|
||||
{
|
||||
file: pkg.module,
|
||||
format: 'es',
|
||||
exports: 'named',
|
||||
sourcemap: true,
|
||||
sourcemapPathTransform: (relativeSourcePath) => {
|
||||
return relativeSourcePath
|
||||
.replace('../../node_modules/', '../')
|
||||
.replace('../packages/icons-react', '..')
|
||||
},
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
|
Reference in New Issue
Block a user