Skip to content

Commit c882831

Browse files
committed
fixed usage example
1 parent fdae1b7 commit c882831

File tree

2 files changed

+54
-50
lines changed

2 files changed

+54
-50
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In a your app, use the ProductBrowser or BuyNowButton components.
1111

1212
ProductBrowser usage example:
1313
```javascript
14-
import {ProductBrowser} from 'nextjs-ecwid-plugin'
14+
import {ProductBrowser} from '@ecwid/nextjs-ecwid-plugin'
1515

1616
export default function Store() {
1717
return (
@@ -26,7 +26,7 @@ export default function Store() {
2626

2727
Buy Now Button usage example:
2828
```javascript
29-
import {BuyNowButton} from 'nextjs-ecwid-plugin'
29+
import {BuyNowButton} from '@ecwid/nextjs-ecwid-plugin'
3030

3131
export default function Store() {
3232
return (

package.json

+52-48
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,53 @@
11
{
2-
"name": "nextjs-ecwid-plugin",
3-
"version": "0.1.0",
4-
"description": "Ecwid Ecommerce Shopping Cart is everything you need to add an online store to your site",
5-
"author": "Ecwid",
6-
"main": "./lib/index.js",
7-
"repository": {
8-
"type": "git",
9-
"url": "git+https://github.com/Ecwid/nextjs-ecwid-plugin.git"
10-
},
11-
"bugs": {
12-
"url": "https://github.com/Ecwid/nextjs-ecwid-plugin/issues"
13-
},
14-
"keywords": [
15-
"nextjs",
16-
"react",
17-
"ecwid",
18-
"ecommerce",
19-
"storefront"
20-
],
21-
"license": "Apache-2.0",
22-
"scripts": {
23-
"build": "webpack"
24-
},
25-
"peerDependencies": {
26-
"react": "^17.0.2",
27-
"react-dom": "^17.0.2",
28-
"next": "^11.0.1"
29-
},
30-
"devDependencies": {
31-
"babel-core": "^6.21.0",
32-
"babel-loader": "^7.1.5",
33-
"babel-preset-env": "^1.6.1",
34-
"babel-preset-react": "^6.16.0",
35-
"babel-preset-stage-0": "^6.24.1",
36-
"path": "^0.12.7",
37-
"prop-types": "^15.6.0",
38-
"react": "^16.14.0",
39-
"react-dom": "^16.0.0",
40-
"webpack": "^4.46.0",
41-
"webpack-cli": "^3.3.12"
42-
},
43-
"dependencies": {
44-
"@babel/core": "^7.14.6",
45-
"@babel/preset-env": "^7.14.7",
46-
"@babel/preset-react": "^7.14.5",
47-
"@babel/preset-stage-0": "^7.8.3"
48-
}
49-
}
2+
"name": "@ecwid/nextjs-ecwid-plugin",
3+
"version": "0.1.0",
4+
"description": "Ecwid Ecommerce Shopping Cart is everything you need to add an online store to your site",
5+
"author": "Ecwid",
6+
"main": "./lib/index.js",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/Ecwid/nextjs-ecwid-plugin.git"
10+
},
11+
"bugs": {
12+
"url": "https://github.com/Ecwid/nextjs-ecwid-plugin/issues"
13+
},
14+
"keywords": [
15+
"nextjs",
16+
"react",
17+
"ecwid",
18+
"ecommerce",
19+
"storefront"
20+
],
21+
"license": "Apache-2.0",
22+
"scripts": {
23+
"build": "webpack"
24+
},
25+
"peerDependencies": {
26+
"react": "^17.0.2",
27+
"react-dom": "^17.0.2",
28+
"next": "^11.0.1"
29+
},
30+
"devDependencies": {
31+
"babel-core": "^6.21.0",
32+
"babel-loader": "^7.1.5",
33+
"babel-preset-env": "^1.6.1",
34+
"babel-preset-react": "^6.16.0",
35+
"babel-preset-stage-0": "^6.24.1",
36+
"path": "^0.12.7",
37+
"prop-types": "^15.6.0",
38+
"react": "^16.14.0",
39+
"react-dom": "^16.0.0",
40+
"webpack": "^4.46.0",
41+
"webpack-cli": "^3.3.12"
42+
},
43+
"dependencies": {
44+
"@babel/core": "^7.14.6",
45+
"@babel/preset-env": "^7.14.7",
46+
"@babel/preset-react": "^7.14.5",
47+
"@babel/preset-stage-0": "^7.8.3"
48+
},
49+
"homepage": "https://github.com/Ecwid/nextjs-ecwid-plugin#readme",
50+
"directories": {
51+
"lib": "lib"
52+
}
53+
}

0 commit comments

Comments
 (0)