forked from crowetic/commerce
* Updated turbo version * Added taskr to packages/local * Move json files * Include missing extension * Fixed prettierignore * Updated swc plugin * Moved swc plugin to its own package * Added note * Removed unused package * Added watch for file changes * Added taskr deps to every package * Added taskfile to every package * Updated scripts in every package * Added 2 utiity scripts * Fix turbo dev script * Update swc plugin to include jsx import * Updated build script in main package.json
82 lines
1.6 KiB
JSON
82 lines
1.6 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"
|
|
},
|
|
"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/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"
|
|
]
|
|
}
|
|
}
|