1 Star 0 Fork 9

luodh/notesnook

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Notesnook Core

The shared core for building Notesnook on any platform.

Developer guide | How to build? | Run the tests

Build instructions

Before you start it is recommended that you read the contributing guidelines.

Setting up the development environment

Requirements:

  1. Node.js
  2. git
  3. NPM (not yarn or pnpm)

Before you can do anything, you'll need to install Node.js on your system.

Once you have completed the setup, the first step is to clone the monorepo:

git clone https://github.com/streetwriters/notesnook.git

# change directory
cd notesnook

Once you are inside the ./notesnook directory, run the preparation step:

# this might take a while to complete
npm install

And that's it. You can run the tests to make sure everything is working as it should:

npm run test:core

Developer guide

The tech stack

We try to keep the stack as lean as possible

  1. Javascript
  2. Jest: Testing framework

Running the tests

When you are done making the required changes, you need to run the tests. We use Jest as the testing framework & the tests can be run with a single command:

npm run test:core
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/thinkinpg/notesnook.git
git@gitee.com:thinkinpg/notesnook.git
thinkinpg
notesnook
notesnook
master

搜索帮助