@vtex/order-manager
Advanced tools
Comparing version 0.0.3-0 to 0.0.3-1
@@ -1,6 +0,1 @@ | ||
/// <reference types="react" /> | ||
interface ExampleProps { | ||
text: string; | ||
} | ||
declare const Example: ({ text }: ExampleProps) => JSX.Element; | ||
export { Example, ExampleProps }; | ||
export declare const HelloWorld: () => JSX.Element; |
@@ -5,12 +5,9 @@ 'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var React = require('react'); | ||
var React = _interopDefault(require('react')); | ||
var Example = function Example(_ref) { | ||
var text = _ref.text; | ||
return /*#__PURE__*/React.createElement("div", null, "Example Component: ", text); | ||
var HelloWorld = function HelloWorld() { | ||
return React.createElement("div", null, "iai boy"); | ||
}; | ||
exports.Example = Example; | ||
exports.HelloWorld = HelloWorld; | ||
//# sourceMappingURL=order-manager.cjs.development.js.map |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e;exports.Example=function(e){return t.createElement("div",null,"Example Component: ",e.text)}; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.HelloWorld=function(){return e.createElement("div",null,"iai boy")}; | ||
//# sourceMappingURL=order-manager.cjs.production.min.js.map |
@@ -1,9 +0,8 @@ | ||
import React from 'react'; | ||
import { createElement } from 'react'; | ||
var Example = function Example(_ref) { | ||
var text = _ref.text; | ||
return /*#__PURE__*/React.createElement("div", null, "Example Component: ", text); | ||
var HelloWorld = function HelloWorld() { | ||
return createElement("div", null, "iai boy"); | ||
}; | ||
export { Example }; | ||
export { HelloWorld }; | ||
//# sourceMappingURL=order-manager.esm.js.map |
{ | ||
"name": "@vtex/order-manager", | ||
"version": "0.0.3-0", | ||
"description": "", | ||
"repository": "https://github.com/vtex/order-manager", | ||
"version": "0.0.3-1", | ||
"main": "dist/index.js", | ||
"module": "dist/order-manager.esm.js", | ||
"typings": "dist/index.d.ts", | ||
"license": "", | ||
"files": [ | ||
"dist", | ||
"src" | ||
], | ||
"engines": { | ||
@@ -15,40 +17,31 @@ "node": ">=10" | ||
"build": "tsdx build", | ||
"test": "tsdx test --passWithNoTests", | ||
"lint": "eslint src/ --ext .tsx,.ts", | ||
"prepare": "tsdx build", | ||
"storybook": "start-storybook -p 6006", | ||
"build-storybook": "build-storybook" | ||
"test": "echo 'not implemented'", | ||
"size": "size-limit", | ||
"analyze": "size-limit --why" | ||
}, | ||
"sideEffects": false, | ||
"peerDependencies": { | ||
"react": "^16.0.0" | ||
"react": ">=16" | ||
}, | ||
"module": "dist/order-manager.esm.js", | ||
"size-limit": [ | ||
{ | ||
"path": "dist/order-manager.cjs.production.min.js", | ||
"limit": "10 KB" | ||
}, | ||
{ | ||
"path": "dist/order-manager.esm.js", | ||
"limit": "10 KB" | ||
} | ||
], | ||
"devDependencies": { | ||
"@babel/plugin-syntax-jsx": "^7.12.13", | ||
"@babel/preset-react": "^7.12.13", | ||
"@storybook/addon-actions": "^6.1.21", | ||
"@storybook/addon-links": "^6.1.21", | ||
"@storybook/addons": "^6.1.21", | ||
"@storybook/preset-create-react-app": "^3.1.4", | ||
"@storybook/react": "^6.1.21", | ||
"@size-limit/preset-small-lib": "^4.10.1", | ||
"@types/react": "^17.0.3", | ||
"@types/react-dom": "^17.0.2", | ||
"@vtex/prettier-config": "^0.3.1", | ||
"@vtex/tsconfig": "^0.5.0", | ||
"eslint-config-vtex-react": "^6.7.0", | ||
"prettier": "^2.0.5", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"react-scripts": "^4.0.3", | ||
"ts-loader": "^8.0.1", | ||
"size-limit": "^4.10.1", | ||
"tsdx": "^0.14.1", | ||
"tslib": "^2.1.0", | ||
"typescript": "^4.2.3" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"files": [ | ||
"dist", | ||
"src" | ||
] | ||
} | ||
} |
@@ -1,25 +0,3 @@ | ||
# @vtex/order-manager | ||
# Order Manager (NPM package) | ||
> | ||
[![NPM](https://img.shields.io/npm/v/@vtex/order-manager.svg)](https://www.npmjs.com/package/@vtex/order-manager) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) | ||
## Install | ||
```bash | ||
yarn add @vtex/order-manager | ||
``` | ||
## Usage | ||
```tsx | ||
import React, { Component } from 'react' | ||
import MyComponent from '@vtex/order-manager' | ||
class Example extends Component { | ||
render() { | ||
return <MyComponent /> | ||
} | ||
} | ||
``` | ||
This package is an abstraction to decouple the Order Manager logic from VTEX IO. Refer to the [repository root's README](../../../docs/README.md) for more information. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
9
0
4225
12
27
4