Skip to content

Commit

Permalink
Add package.json and tsconfig.json to sanity-image-props
Browse files Browse the repository at this point in the history
  • Loading branch information
nonphoto committed Oct 30, 2023
1 parent 4467b04 commit 1ce1ef9
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 15 deletions.
20 changes: 5 additions & 15 deletions packages/sanity-image-props/package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,25 @@
{
"name": "@nonphoto/sanity-image",
"version": "0.1.2",
"name": "@nonphoto/sanity-image-props",
"version": "0.0.1",
"type": "module",
"files": [
"dist"
],
"private": false,
"sideEffects": false,
"scripts": {
"dev": "vite serve dev",
"build": "tsup",
"test": "vitest",
"prepublishOnly": "pnpm build",
"format": "prettier --ignore-path .gitignore -w \"src/**/*.{js,ts,json,css,tsx,jsx}\" \"dev/**/*.{js,ts,json,css,tsx,jsx}\"",
"update-deps": "pnpm up -Li",
"typecheck": "tsc --noEmit"
"dev": "tsup --watch",
"build": "tsup"
},
"devDependencies": {
"@changesets/cli": "2.26.1",
"@types/node": "18.14.6",
"prettier": "2.8.7",
"tsup": "6.7.0",
"tsup-preset-solid": "0.1.8",
"typescript": "^4.9.4",
"vite": "^4.0.4",
"vitest": "0.29.8"
"typescript": "^4.9.4"
},
"dependencies": {
"@sanity/image-url": "1.0.2"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
},
Expand Down
24 changes: 24 additions & 0 deletions packages/sanity-image-props/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"compilerOptions": {
"strict": true,
"target": "ESNext",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"moduleResolution": "node",
"resolveJsonModule": true,
"esModuleInterop": true,
"noEmit": true,
"isolatedModules": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"types": [],
"baseUrl": "."
},
"exclude": ["node_modules", "dist"],
"include": ["src/**/*"]
}

0 comments on commit 1ce1ef9

Please sign in to comment.