Skip to content

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

chore: add configuration for np

thecodrrda151cd8c272
diff --git a/packages/editor/.npmignore b/packages/editor/.npmignore
index 62e47ea40..3bab59744 100644
--- a/packages/editor/.npmignore
+++ b/packages/editor/.npmignore
@@ -1,2 +1,3 @@
*
-!dist/**/*
\ No newline at end of file
+!dist/**/*
+!styles/**/*
\ No newline at end of file
diff --git a/packages/editor/package.json b/packages/editor/package.json
index 55fa42882..ea6d929f1 100644
--- a/packages/editor/package.json
+++ b/packages/editor/package.json
@@ -77,6 +77,11 @@
"scripts": {
"build": "./scripts/build.sh",
"watch": "./scripts/build.sh --watch",
- "pub": "./scripts/compile.sh && npm publish"
+ "prepub": "./scripts/compile.sh",
+ "pub": "np"
+ },
+ "publishConfig": {
+ "registry": "https://npm.pkg.github.com",
+ "access": "restricted"
}
}