@simply-fin-services/astronomix3
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@simply-fin-services/astronomix3", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Astronomix 3.0", | ||
@@ -25,4 +25,4 @@ "author": "pierrenel", | ||
"prepare": "npm run build", | ||
"predeploy": "cd example && npm install && npm run build", | ||
"deploy": "gh-pages -d example/build", | ||
"predeploy": "npm install && npm run build", | ||
"deploy": "git push --follow-tags", | ||
"storybook": "start-storybook -p 6006", | ||
@@ -29,0 +29,0 @@ "build-storybook": "build-storybook --docs" |
our module has been created at /Users/pierre/Code/foo/astronomix2. | ||
To get started, in one tab, run: | ||
$ cd astronomix2 && npm start | ||
$ cd astronomix3 && npm i && npm run storybook | ||
And in another tab, run the create-react-app dev server: | ||
$ cd astronomix2/example && npm start | ||
# astronomix3 | ||
> Astronomix 3.0 | ||
# astronomix2 | ||
> Astronomix 2.0 | ||
[![NPM](https://img.shields.io/npm/v/astronomix2.svg)](https://www.npmjs.com/package/astronomix2) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) | ||
## Install | ||
```bash | ||
npm install --save astronomix2 | ||
npm install --save @simply-fin-services/astronomix3 | ||
``` | ||
@@ -25,12 +19,11 @@ | ||
```jsx | ||
import React, { Component } from 'react' | ||
import React from 'react' | ||
import MyComponent from '@simply-fin-services/astronomix3' | ||
import MyComponent from 'astronomix2' | ||
class Example extends Component { | ||
render () { | ||
return ( | ||
const Foo = (props) => { | ||
return ( | ||
<React.Fragment> | ||
<MyComponent /> | ||
) | ||
} | ||
</React.Fragment> | ||
) | ||
} | ||
@@ -37,0 +30,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
648981
34