@markuplint/react-spec 3.10.0 → 4.0.0-alpha.1

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 (2) hide show
  1. package/lib/index.js +1 -3
  2. package/package.json +10 -5
package/lib/index.js CHANGED
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const spec = {
4
2
  def: {
5
3
  '#globalAttrs': {
@@ -113,4 +111,4 @@ const spec = {
113
111
  },
114
112
  ],
115
113
  };
116
- exports.default = spec;
114
+ export default spec;
package/package.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
2
  "name": "@markuplint/react-spec",
3
- "version": "3.10.0",
3
+ "version": "4.0.0-alpha.1",
4
4
  "description": "Extended specification for tags and attributes in React",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
7
7
  "license": "MIT",
8
8
  "private": false,
9
- "main": "lib/index.js",
9
+ "type": "module",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./lib/index.js"
13
+ }
14
+ },
10
15
  "types": "lib/index.d.ts",
11
16
  "publishConfig": {
12
17
  "access": "public"
@@ -16,10 +21,10 @@
16
21
  "clean": "tsc --build --clean"
17
22
  },
18
23
  "dependencies": {
19
- "@markuplint/ml-spec": "3.11.0"
24
+ "@markuplint/ml-spec": "4.0.0-alpha.1"
20
25
  },
21
26
  "peerDependencies": {
22
- "@markuplint/ml-core": "3.x"
27
+ "@markuplint/ml-core": ">3"
23
28
  },
24
- "gitHead": "4ab20276db48a6acb29a923ea8666890ca853442"
29
+ "gitHead": "22502ee22a378ae766033d687dbc0443e5ed35dc"
25
30
  }