mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 14:42:31 +00:00
* Icky 161 folder and env setup (#1) * folder and env setup * codegen.json headers removed Co-authored-by: Chandradeepta <43542673+Chandradeepta@users.noreply.github.com> * Feature/icky 194 (#5) * folder and env setup * codegen.json headers removed * use-cart code flow updated * use-cart code flow updated * Implemented get-cart functionality * removed unused file * getAnonymousShopperToken function added * normalization mapping updated * PR points resolved * Anonymous shopper token query added * getAnonymousShopperToken function added * Anonymous shopper token query added Co-authored-by: Chandradeepta <43542673+Chandradeepta@users.noreply.github.com> * Icky 175 (#3) * folder and env setup * codegen.json headers removed * icky-175-get-site-info * PR comments resolved * update category Id Co-authored-by: Chandradeepta <43542673+Chandradeepta@users.noreply.github.com> * Icky-169-LogIn (#4) * Update README.md * Initial Commit * Commited Keys * GraphQL Changes * GraphQL Query * Final Changes * Changed login.ts * Made changes in login.ts * Final Changes * Refactored login.ts * SignUp Initial Checkin * logout Initial * Customer Account Initial Commit * Logout - deleted cookie * Reverted ReadMe and UserNav file * Final Changes * Resolved comments * Resolved comments 1 * Resolved comments 2 * Resolved comments 3 * Resolved comments 4 Co-authored-by: SushantJadhav <Sushant.Jadhav@kibocommerce.com> * ICKY-166-getProducts-and-getProduct (#6) * GetProduct Initial Commit * Passed productCode as Slug to get-product * Moved currencyCode in Config file * Icky 173 (#9) * Initial commit related to getAllPages * Initial Changes * Making documentListName configurable * fixing dynamic page rendering and adding typescript code Co-authored-by: amolnadagonde <amol.nadagonde@kibocommerce.com> Co-authored-by: kibo-sushant <sushant.jadhav@blueconchtech.com> * Feature/icky 176 (#8) * GetProduct Initial Commit * addItemToCart function implemneted * Add Item to cart functionality implemented * ICKY-166-getProducts-and-getProduct (#6) * GetProduct Initial Commit * Passed productCode as Slug to get-product * Moved currencyCode in Config file * Icky 173 (#9) * Initial commit related to getAllPages * Initial Changes * Making documentListName configurable * fixing dynamic page rendering and adding typescript code Co-authored-by: amolnadagonde <amol.nadagonde@kibocommerce.com> Co-authored-by: kibo-sushant <sushant.jadhav@blueconchtech.com> * addItemToCart function implemneted Conflicts resolved * Add Item to cart functionality implemented * booleans removed from query * cart size option enabled * updated addItem for with and without variants products Co-authored-by: kibo-sushant <sushant.jadhav@blueconchtech.com> Co-authored-by: Chandradeepta <43542673+Chandradeepta@users.noreply.github.com> Co-authored-by: kibo-sushant <89385472+kibo-sushant@users.noreply.github.com> Co-authored-by: kibo-kevinwatts <85258296+kibo-kevinwatts@users.noreply.github.com> Co-authored-by: amolnadagonde <amol.nadagonde@kibocommerce.com> * Removed types from schema.d.ts (#11) * Final Changes (#16) * Icky 177 (#13) * addItemToCart function implemneted Conflicts resolved * Add Item to cart functionality implemented * remove Item from cart implemented * removed unused code Co-authored-by: Chandradeepta <43542673+Chandradeepta@users.noreply.github.com> * Icky 178 - Update Cart Quantity implemented (#14) * update cart quantity implemented * add item to cart bug fixed Co-authored-by: Chandradeepta <43542673+Chandradeepta@users.noreply.github.com> * Icky 182 (#12) * initial commit * useSearch hook * remove extra spaces * revert pages and component changes * remove extra spacing in search.tsx * changes in catalog/products and product-search-vars * initial commit * useSearch hook * remove extra spaces * revert pages and component changes * remove extra spacing in search.tsx * changes in catalog/products and product-search-vars * changes in product-search-vars * remove unwanted boolean * Feature/icky 179 (#17) * initial commit * useSearch hook * remove extra spaces * revert pages and component changes * remove extra spacing in search.tsx * changes in catalog/products and product-search-vars * initial commit * useSearch hook * remove extra spaces * revert pages and component changes * remove extra spacing in search.tsx * changes in catalog/products and product-search-vars * changes in product-search-vars * remove unwanted boolean * initial commit * updated Provider * usewishlist/getwishlist * changes in provider.ts * initial commit * useSearch hook * revert pages and component changes * remove extra spacing in search.tsx * changes in catalog/products and product-search-vars * initial commit * useSearch hook * revert pages and component changes * remove extra spacing in search.tsx * changes in catalog/products and product-search-vars * initial commit * usewishlist/getwishlist * updated Provider * changes in provider.ts * normalize wishlistitem * changes in get-customer-account * remove unwanted code * resolve empty wishlist case * resolve pr comments Co-authored-by: kibo-sushant <sushant.jadhav@blueconchtech.com> * token encoding and decoding fixed (#19) Co-authored-by: Chandradeepta <43542673+Chandradeepta@users.noreply.github.com> * Feature/icky- 180 & 181 (#20) * initial commit * useSearch hook * revert pages and component changes * remove extra spacing in search.tsx * changes in catalog/products and product-search-vars * initial commit * useSearch hook * revert pages and component changes * remove extra spacing in search.tsx * changes in catalog/products and product-search-vars * usewishlist/getwishlist * changes in provider.ts * changes in get-customer-account * initial commit * useSearch hook * revert pages and component changes * remove extra spacing in search.tsx * changes in catalog/products and product-search-vars * initial commit * useSearch hook * revert pages and component changes * remove extra spacing in search.tsx * changes in catalog/products and product-search-vars * usewishlist/getwishlist * changes in provider.ts * remove unwanted code * initial commit * resolve pr comments * changes in add-item * remove wishlist fragment * remove item from wishlist * changes in normalize.ts * changes in additemtowishlist mutation * resove pr comments * Feature/icky 291 (#22) * Kibo API authentication helper handling oauth token generation / refresh and making auth ticket available to process via next server runtime config * Update .env template with placeholder for Kibo Auth Url * resolve ICKY-275 (#24) * Fix/icky 276 (#21) * remove Item from cart implemented * update cart quantity implemented * removed unused code * ICKY 176 and 263 implemented * ICKY 263 removed * PR points resolved Co-authored-by: Chandradeepta <43542673+Chandradeepta@users.noreply.github.com> * ICKY-263 (#23) * ICKY-263 * resolve pr comments * resolve pr comments for customer typescript * docs: update kibo commerce readme with env details (#26) * resolve icky-264 (#25) * chore: remove extra field from .env.template * chore: remove extra .vscode launch json file * chore: cleanup test message from kibocommerce fork * chore(docs): remove extra field from .env template and .env related docs * chore: remove test data json file * chore: delete yarn.lock * refactor: remove unused fetch from kibo config, remove unused CommerceProvider * refactor: rename queries and util modules for consistency * chore: add checkout related api noop handlers and hooks * chore: revert modified core files * chore(config): add kibo production sandbox cdn to image domains config * fix: page normalizer and query for static pages * chore: remove commented code and unnecessary imports * fix(module paths): switch framework alias for relative path Co-authored-by: kibo-chandradeeptalaha <89371824+kibo-chandradeeptalaha@users.noreply.github.com> Co-authored-by: Chandradeepta <43542673+Chandradeepta@users.noreply.github.com> Co-authored-by: kibo-geetanshuchhabra <89399259+kibo-geetanshuchhabra@users.noreply.github.com> Co-authored-by: kibo-sushant <89385472+kibo-sushant@users.noreply.github.com> Co-authored-by: SushantJadhav <Sushant.Jadhav@kibocommerce.com> Co-authored-by: amolnadagonde <amol.nadagonde@kibocommerce.com> Co-authored-by: kibo-sushant <sushant.jadhav@blueconchtech.com> Co-authored-by: kibo-amolnadagonde <75060520+kibo-amolnadagonde@users.noreply.github.com>
127 lines
3.3 KiB
JSON
127 lines
3.3 KiB
JSON
{
|
|
"name": "nextjs-commerce",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "NODE_OPTIONS='--inspect' next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"analyze": "BUNDLE_ANALYZE=both next build",
|
|
"lint": "next lint",
|
|
"prettier-fix": "prettier --write .",
|
|
"find:unused": "npx next-unused",
|
|
"generate": "graphql-codegen",
|
|
"generate:shopify": "DOTENV_CONFIG_PATH=./.env.local graphql-codegen -r dotenv/config --config framework/shopify/codegen.json",
|
|
"generate:vendure": "graphql-codegen --config framework/vendure/codegen.json",
|
|
"generate:definitions": "node framework/bigcommerce/scripts/generate-definitions.js",
|
|
"generate:kibocommerce": "graphql-codegen --config framework/kibocommerce/codegen.json"
|
|
},
|
|
"sideEffects": false,
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=14.x"
|
|
},
|
|
"dependencies": {
|
|
"@react-spring/web": "^9.2.1",
|
|
"@spree/storefront-api-v2-sdk": "^5.0.1",
|
|
"@vercel/fetch": "^6.1.1",
|
|
"autoprefixer": "^10.2.6",
|
|
"body-scroll-lock": "^3.1.5",
|
|
"classnames": "^2.3.1",
|
|
"cookie": "^0.4.1",
|
|
"email-validator": "^2.0.4",
|
|
"immutability-helper": "^3.1.1",
|
|
"js-cookie": "^2.2.1",
|
|
"keen-slider": "^5.5.1",
|
|
"lodash.debounce": "^4.0.8",
|
|
"lodash.random": "^3.2.0",
|
|
"lodash.throttle": "^4.1.1",
|
|
"next": "^12.0.3",
|
|
"next-seo": "^4.26.0",
|
|
"next-themes": "^0.0.14",
|
|
"postcss": "^8.3.5",
|
|
"postcss-nesting": "^8.0.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-fast-marquee": "^1.1.4",
|
|
"react-merge-refs": "^1.1.0",
|
|
"react-use-measure": "^2.0.4",
|
|
"stripe": "^8.176.0",
|
|
"swell-js": "^4.0.0-next.0",
|
|
"swr": "^0.5.6",
|
|
"tabbable": "^5.2.0",
|
|
"tailwindcss": "^2.2.2",
|
|
"uuidv4": "^6.2.10"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/cli": "^1.21.5",
|
|
"@graphql-codegen/schema-ast": "^1.18.3",
|
|
"@graphql-codegen/typescript": "^1.22.2",
|
|
"@graphql-codegen/typescript-operations": "^1.18.1",
|
|
"@next/bundle-analyzer": "^10.2.3",
|
|
"@types/body-scroll-lock": "^2.6.1",
|
|
"@types/cookie": "^0.4.0",
|
|
"@types/js-cookie": "^2.2.6",
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
"@types/lodash.random": "^3.2.6",
|
|
"@types/lodash.throttle": "^4.1.6",
|
|
"@types/node": "^15.12.4",
|
|
"@types/react": "^17.0.8",
|
|
"deepmerge": "^4.2.2",
|
|
"eslint": "^7.31.0",
|
|
"eslint-config-next": "^11.0.1",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"graphql": "^15.5.1",
|
|
"husky": "^6.0.0",
|
|
"lint-staged": "^11.0.0",
|
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"prettier": "^2.3.0",
|
|
"typescript": "4.3.4"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{js,jsx,ts,tsx}": [
|
|
"eslint",
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"**/*.{md,mdx,json}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"next-unused": {
|
|
"alias": {
|
|
"@lib/*": [
|
|
"lib/*"
|
|
],
|
|
"@assets/*": [
|
|
"assets/*"
|
|
],
|
|
"@config/*": [
|
|
"config/*"
|
|
],
|
|
"@components/*": [
|
|
"components/*"
|
|
],
|
|
"@utils/*": [
|
|
"utils/*"
|
|
]
|
|
},
|
|
"debug": true,
|
|
"include": [
|
|
"components",
|
|
"lib",
|
|
"pages"
|
|
],
|
|
"exclude": [],
|
|
"entrypoints": [
|
|
"pages"
|
|
]
|
|
}
|
|
}
|