next-sanity 0.6.7 → 0.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +6 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-sanity",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Sanity.io toolkit for Next.js",
5
5
  "keywords": [
6
6
  "sanity",
@@ -37,16 +37,17 @@
37
37
  "src"
38
38
  ],
39
39
  "scripts": {
40
- "prebuild": "npm run clean",
41
- "build": "tsdx build --tsconfig ./tsconfig.tsdx.json && parcel build",
40
+ "prebuild": "npm run clean && node scripts/preParcel.js",
41
+ "build": "npm run tsdx build && parcel build",
42
42
  "clean": "rimraf lib",
43
43
  "coverage": "npm test -- --coverage",
44
44
  "dev": "next",
45
45
  "format": "npm run prettier -- --write . && eslint --fix .",
46
46
  "lint": "eslint --max-warnings 0 .",
47
- "prepublishOnly": "npm run lint && npm run build && npm test",
47
+ "prepublishOnly": "npm run lint && npm run build && node scripts/postParcel",
48
48
  "prettier": "npx prettier --ignore-path .gitignore",
49
49
  "test": "jest",
50
+ "tsdx": "tsdx --tsconfig ./tsconfig.tsdx.json",
50
51
  "type-check": "tsc --noEmit"
51
52
  },
52
53
  "browserslist": "chrome 59, safari 11, firefox 56, edge 14, ie 11",
@@ -96,10 +97,7 @@
96
97
  "write-file-atomic": "^4.0.1"
97
98
  },
98
99
  "peerDependencies": {
99
- "next": "^12.2",
100
- "react": "^16.3 || ^17 || ^18",
101
- "sanity": "dev-preview",
102
- "styled-components": "^5.2.0"
100
+ "react": "^16.3 || ^17 || ^18"
103
101
  },
104
102
  "engines": {
105
103
  "node": ">=12"