forked from crowetic/commerce
* Add lodash.debounce to package.json dependencies Shopify provider requires `lodash.debounce` package. This package is installed in BigCommerce provider, but not in Shopify provider. After BigCommerce is removed, Shopfify provider can't be installed. This PR fixes this error * Install lodash debounce and its @types to providers that use this package
84 lines
1.7 KiB
JSON
84 lines
1.7 KiB
JSON
{
|
|
"name": "@vercel/commerce-spree",
|
|
"version": "0.0.1",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"release": "taskr release",
|
|
"build": "taskr build",
|
|
"dev": "taskr",
|
|
"types": "tsc --emitDeclarationOnly",
|
|
"prettier-fix": "prettier --write ."
|
|
},
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./*": [
|
|
"./dist/*.js",
|
|
"./dist/*/index.js"
|
|
],
|
|
"./next.config": "./dist/next.config.cjs"
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"src/*",
|
|
"src/*/index"
|
|
],
|
|
"next.config": [
|
|
"dist/next.config.d.cts"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"dist/*.d.ts",
|
|
"dist/*/index.d.ts"
|
|
],
|
|
"next.config": [
|
|
"dist/next.config.d.cts"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@spree/storefront-api-v2-sdk": "^5.1.1",
|
|
"@vercel/commerce": "^0.0.1",
|
|
"@vercel/fetch": "^6.1.1",
|
|
"swr": "^1.2.0",
|
|
"lodash.debounce": "^4.0.8"
|
|
},
|
|
"peerDependencies": {
|
|
"next": "^12",
|
|
"react": "^17",
|
|
"react-dom": "^17"
|
|
},
|
|
"devDependencies": {
|
|
"@taskr/clear": "^1.1.0",
|
|
"@taskr/esnext": "^1.1.0",
|
|
"@taskr/watch": "^1.1.0",
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
"@types/node": "^17.0.8",
|
|
"@types/react": "^17.0.38",
|
|
"lint-staged": "^12.1.7",
|
|
"next": "^12.0.8",
|
|
"prettier": "^2.5.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"taskr": "^1.1.0",
|
|
"taskr-swc": "^0.0.1",
|
|
"typescript": "^4.5.4"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{js,jsx,ts,tsx,json}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|