forked from crowetic/commerce
* Add dynamic API endpoints * Add missing dependency * Update api handlers * Updates * Fix build errors * Update package.json * Add checkout endpoint parser & update errors * Update tsconfig.json * Update cart.ts * Update parser * Update errors.ts * Update errors.ts * Move to Edge runtime * Revert to local * Fix switchable runtimes * Make nodejs default runtime * Update pnpm-lock.yaml * Update handlers * Fix build errors * Change headers
86 lines
1.7 KiB
JSON
86 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": "workspace:*",
|
|
"js-cookie": "^3.0.1",
|
|
"lodash.debounce": "^4.0.8",
|
|
"swr": "^1.3.0"
|
|
},
|
|
"peerDependencies": {
|
|
"next": "^12",
|
|
"react": "^18",
|
|
"react-dom": "^18"
|
|
},
|
|
"devDependencies": {
|
|
"@taskr/clear": "^1.1.0",
|
|
"@taskr/esnext": "^1.1.0",
|
|
"@taskr/watch": "^1.1.0",
|
|
"@types/js-cookie": "^3.0.2",
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
"@types/node": "^17.0.8",
|
|
"@types/node-fetch": "^2.6.2",
|
|
"@types/react": "^18.0.14",
|
|
"lint-staged": "^12.1.7",
|
|
"next": "^12.0.8",
|
|
"prettier": "^2.5.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"taskr": "^1.1.0",
|
|
"taskr-swc": "^0.0.1",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{js,jsx,ts,tsx,json}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|