Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: publish

Abdullah Atta2e7935caccd5
diff --git a/packages/editor/.npmignore b/packages/editor/.npmignore
index 3bab59744..e7cf8384a 100644
--- a/packages/editor/.npmignore
+++ b/packages/editor/.npmignore
@@ -1,3 +1,4 @@
*
!dist/**/*
-!styles/**/*
\ No newline at end of file
+!styles/**/*
+!languages/**/*
\ No newline at end of file
diff --git a/packages/editor/package.json b/packages/editor/package.json
index 1f01f9af7..cfb050d3c 100644
--- a/packages/editor/package.json
+++ b/packages/editor/package.json
@@ -1,7 +1,8 @@
{
"name": "@notesnook/editor",
- "version": "1.3.1",
+ "version": "1.4.0",
"main": "dist/index.js",
+ "types": "dist/index.d.ts",
"license": "GPL-3.0-or-later",
"dependencies": {
"@emotion/react": "^11.10.0",
@@ -78,19 +79,14 @@
"prewatch": "zx ./scripts/build.mjs",
"build": "tsc",
"watch": "tsc --watch",
- "prepub": "npm run build",
- "pub": "np",
+ "prepublishOnly": "npm run build && npm run test",
"postinstall": "npx patch-package"
},
"np": {
- "tests": false,
+ "tests": true,
"releaseDraft": false,
"message": "chore: bump version to %s"
},
- "publishConfig": {
- "registry": "https://npm.pkg.github.com",
- "access": "restricted"
- },
"repository": {
"type": "git",
"url": "git://github.com/streetwriters/notesnook.git",