forked from morfeojs/morfeo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(react): introducing react package
This package simply re-export @morfeo/web and @morfeo/hooks to easily use morfeo inside any React Application without knowing the internal architecture. From now on this package will be used inside any other "react-based" package and it will be suggested to be used inside a React environment inside the documentations. next commits will replace the imports of @morfeo/web and @morfeo/hooks from @morfeo/styled-components-web and the web-sandbox.
- Loading branch information
Showing
5 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
The MIT License (MIT) | ||
|
||
Copyright (c) 2021 Mauro Erta. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div align="center"> | ||
<h1>@morfeo/react</h1> | ||
</div> | ||
|
||
**@morfeo/react** is part of the [@morfeo](https://github.com/VLK-STUDIO/morfeo) eco-system, a set of **framework-agnostic** tools that help you to create beautiful design systems for your web and mobile apps. | ||
|
||
--- | ||
|
||
<div align="center"> | ||
<a href="https://github.com/VLK-STUDIO/morfeo">Documentation</a> | | ||
<a href="https://github.com/VLK-STUDIO/morfeo">API</a> | | ||
<a href="https://github.com/VLK-STUDIO/morfeo">Contributing</a> | | ||
<a href="https://morfeo.slack.com">Slack</a> | ||
</div> | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"name": "@morfeo/react", | ||
"author": { | ||
"name": "Mauro Erta", | ||
"email": "mauro@vlkstudio.com" | ||
}, | ||
"private": false, | ||
"version": "0.1.4", | ||
"license": "MIT", | ||
"main": "build/index.js", | ||
"module": "build/index.js", | ||
"types": "build/index", | ||
"typings": "build/index", | ||
"keywords": [ | ||
"design", | ||
"system", | ||
"morfeo", | ||
"morfeo-js", | ||
"react" | ||
], | ||
"scripts": { | ||
"build": "rimraf build && tsc", | ||
"watch": "tsc -w" | ||
}, | ||
"dependencies": { | ||
"@morfeo/web": "^0.1.4", | ||
"@morfeo/hooks": "^0.1.4" | ||
}, | ||
"peerDependencies": { | ||
"csstype": "^3.0.8" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"files": [ | ||
"build" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/VLK-STUDIO/morfeo/tree/main/packages/web" | ||
}, | ||
"homepage": "https://github.com/VLK-STUDIO/morfeo/tree/main/packages/web", | ||
"bugs": { | ||
"url": "https://github.com/VLK-STUDIO/morfeo/issues" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from '@morfeo/web'; | ||
export * from '@morfeo/hooks'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "./build", | ||
}, | ||
"include": ["./src"], | ||
"exclude": ["./node_modules", "./src/**/*.test.ts", "./src/**/*.spec.ts"] | ||
} |