forked from crowetic/commerce
75 lines
1.4 KiB
JSON
75 lines
1.4 KiB
JSON
|
{
|
||
|
"name": "@vercel/commerce-swell",
|
||
|
"version": "0.0.1",
|
||
|
"license": "MIT",
|
||
|
"scripts": {
|
||
|
"build": "rm -fr dist/* && tsc",
|
||
|
"dev": "npm run build -- --watch",
|
||
|
"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",
|
||
|
"schema.d.ts"
|
||
|
],
|
||
|
"publishConfig": {
|
||
|
"typesVersions": {
|
||
|
"*": {
|
||
|
"*": [
|
||
|
"dist/*.d.ts",
|
||
|
"dist/*/index.d.ts"
|
||
|
],
|
||
|
"next.config": [
|
||
|
"dist/next.config.d.cts"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@vercel/commerce": "^0.0.1",
|
||
|
"@vercel/fetch": "^6.1.1",
|
||
|
"swell-js": "^4.0.0-next.0"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"next": "^12",
|
||
|
"react": "^17",
|
||
|
"react-dom": "^17"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@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",
|
||
|
"typescript": "^4.5.4"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"**/*.{js,jsx,ts,tsx,json}": [
|
||
|
"prettier --write",
|
||
|
"git add"
|
||
|
]
|
||
|
}
|
||
|
}
|