sanity-plugin-markdown 3.0.0-v3-studio.5 → 3.0.0-v3-studio.7

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 +47 -48
package/package.json CHANGED
@@ -1,25 +1,24 @@
1
1
  {
2
2
  "name": "sanity-plugin-markdown",
3
- "version": "3.0.0-v3-studio.5",
3
+ "version": "3.0.0-v3-studio.7",
4
4
  "description": "Markdown fields in Sanity Studio. Supports Github flavored Markdown and image uploads.",
5
- "author": "Sanity.io <hello@sanity.io>",
6
- "license": "MIT",
7
- "scripts": {
8
- "clean": "rimraf lib",
9
- "prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils",
10
- "build": "pkg-utils build",
11
- "watch": "pkg-utils watch",
12
- "link-watch": "plugin-kit link-watch",
13
- "lint": "eslint .",
14
- "format": "prettier src -w",
15
- "prepare": "husky install",
16
- "compile": "tsc --noEmit",
17
- "prepublishOnly": " npm run build"
5
+ "keywords": [
6
+ "sanity",
7
+ "sanity-plugin",
8
+ "studio",
9
+ "markdown",
10
+ "github flavored markdown"
11
+ ],
12
+ "homepage": "https://github.com/sanity-io/sanity-plugin-markdown#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/sanity-io/sanity-plugin-markdown/issues"
18
15
  },
19
- "source": "./src/index.ts",
20
- "main": "./lib/index.js",
21
- "module": "./lib/index.esm.js",
22
- "types": "./lib/src/index.d.ts",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/sanity-io/sanity-plugin-markdown.git"
19
+ },
20
+ "license": "MIT",
21
+ "author": "Sanity.io <hello@sanity.io>",
23
22
  "exports": {
24
23
  ".": {
25
24
  "types": "./lib/src/index.d.ts",
@@ -27,37 +26,45 @@
27
26
  "import": "./lib/index.esm.js",
28
27
  "require": "./lib/index.js",
29
28
  "default": "./lib/index.esm.js"
30
- }
29
+ },
30
+ "./package.json": "./package.json"
31
31
  },
32
+ "main": "./lib/index.js",
33
+ "module": "./lib/index.esm.js",
34
+ "source": "./src/index.ts",
35
+ "types": "./lib/src/index.d.ts",
32
36
  "files": [
33
37
  "src",
34
38
  "lib",
35
39
  "v2-incompatible.js",
36
40
  "sanity.json"
37
41
  ],
38
- "keywords": [
39
- "sanity",
40
- "sanity-plugin",
41
- "studio",
42
- "markdown",
43
- "github flavored markdown"
44
- ],
42
+ "scripts": {
43
+ "prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils",
44
+ "build": "pkg-utils build --strict",
45
+ "clean": "rimraf lib",
46
+ "compile": "tsc --noEmit",
47
+ "format": "prettier src -w",
48
+ "link-watch": "plugin-kit link-watch",
49
+ "lint": "eslint .",
50
+ "prepare": "husky install",
51
+ "prepublishOnly": " npm run build",
52
+ "watch": "pkg-utils watch"
53
+ },
45
54
  "dependencies": {
46
55
  "@reach/auto-id": "^0.17.0",
47
56
  "@sanity/incompatible-plugin": "^1.0.4",
48
- "@sanity/ui": "^1.0.0-beta.31",
57
+ "@sanity/ui": "1.0.0-beta.32",
49
58
  "@uiw/react-md-editor": "^3.18.1",
50
59
  "rehype-sanitize": "^5.0.1"
51
60
  },
52
61
  "devDependencies": {
53
62
  "@commitlint/cli": "^17.2.0",
54
63
  "@commitlint/config-conventional": "^17.2.0",
55
- "@parcel/packager-ts": "^2.7.0",
56
- "@parcel/transformer-typescript-types": "^2.7.0",
57
- "@sanity/pkg-utils": "^1.16.2",
58
- "@sanity/plugin-kit": "^2.0.6",
64
+ "@sanity/pkg-utils": "^1.17.2",
65
+ "@sanity/plugin-kit": "^2.1.4",
59
66
  "@sanity/semantic-release-preset": "^2.0.2",
60
- "@types/styled-components": "^5.1.25",
67
+ "@types/styled-components": "^5.1.26",
61
68
  "@typescript-eslint/eslint-plugin": "^5.42.0",
62
69
  "@typescript-eslint/parser": "^5.42.0",
63
70
  "eslint": "^8.26.0",
@@ -68,29 +75,21 @@
68
75
  "eslint-plugin-react-hooks": "^4.6.0",
69
76
  "husky": "^8.0.1",
70
77
  "lint-staged": "^13.0.3",
71
- "parcel": "^2.7.0",
72
78
  "prettier": "^2.7.1",
73
- "react": "^18.0.0",
79
+ "prettier-plugin-packagejson": "^2.3.0",
80
+ "react": "^18",
74
81
  "rimraf": "^3.0.2",
75
82
  "sanity": "dev-preview || 3.0.0-rc.0",
76
- "styled-components": "^5.2.0",
83
+ "styled-components": "^5.3.6",
77
84
  "typescript": "^4.8.4"
78
85
  },
79
86
  "peerDependencies": {
80
- "react": "^18.0.0",
87
+ "react": "^18",
81
88
  "sanity": "dev-preview || 3.0.0-rc.0",
82
- "styled-components": "^5.2.0"
83
- },
84
- "repository": {
85
- "type": "git",
86
- "url": "https://github.com/sanity-io/sanity-plugin-markdown.git"
89
+ "styled-components": "^5.2"
87
90
  },
88
- "bugs": {
89
- "url": "https://github.com/sanity-io/sanity-plugin-markdown/issues"
90
- },
91
- "homepage": "https://github.com/sanity-io/sanity-plugin-markdown#readme",
92
- "sanityExchangeUrl": "https://www.sanity.io/plugins/sanity-plugin-markdown",
93
91
  "engines": {
94
- "node": ">=14.0.0"
95
- }
92
+ "node": ">=14"
93
+ },
94
+ "sanityExchangeUrl": "https://www.sanity.io/plugins/sanity-plugin-markdown"
96
95
  }