@nakobase/nakobase-md-html 1.2.2 → 1.2.3

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.
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@nakobase/nakobase-md-html",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Convert Markdown to **sanitized HTML** and apply consistent styles – simple, secure, and styled.",
5
- "main": "dist/esm/index.js",
6
- "types": "dist/esm/index.d.ts",
7
- "bin": "./dist/esm/index.js",
5
+ "main": "dist/cjs/index.js",
6
+ "types": "dist/cjs/index.d.ts",
7
+ "bin": "./dist/cjs/index.js",
8
8
  "exports": {
9
9
  ".": {
10
- "import": "./dist/esm/index.js"
10
+ "import": "./dist/cjs/index.js"
11
11
  },
12
12
  "./styles/style.css": {
13
13
  "import": "./dist/styles/style.css"
14
14
  }
15
15
  },
16
16
  "files": [
17
- "dist/esm",
17
+ "dist/cjs",
18
18
  "dist/styles",
19
19
  "README.md",
20
20
  "LICENSE"
@@ -24,11 +24,11 @@
24
24
  ],
25
25
  "scripts": {
26
26
  "clean": "rimraf dist",
27
- "build:types": "tsc --project tsconfig.esm.json",
28
- "build:js": "babel src --extensions .ts,.tsx --ignore **/*.d.ts --out-dir dist/esm",
27
+ "build:types": "tsc --project tsconfig.build.json",
28
+ "build:js": "babel src --extensions .ts,.tsx --ignore **/*.d.ts --out-dir dist/cjs",
29
29
  "build:styles": "sass src/styles/style.scss:dist/styles/style.css --no-source-map --style compressed",
30
30
  "build": "pnpm run clean && pnpm run build:types && pnpm run build:styles && pnpm run build:js",
31
- "start": "pnpm run build && node dist/esm/index.js",
31
+ "start": "pnpm run build && node dist/cjs/index.js",
32
32
  "test": "jest",
33
33
  "test:watch": "jest --watch",
34
34
  "test:coverage": "jest --coverage",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes