Update documents (#1439)

This commit is contained in:
Felix Häusler 2019-10-03 17:07:53 +02:00 committed by Ran Luo
parent 01518f6dbf
commit c85050b340
4 changed files with 8 additions and 7 deletions

View File

@ -10,7 +10,7 @@ git clone https://github.com/marktext/marktext.git
Before you can get started developing, you need set up your build environment: Before you can get started developing, you need set up your build environment:
- Node.js `>=v10.16.0`, npm and yarn - Node.js `>=v12.0.0`, npm and yarn
- Python `v2.7.x` for node-gyp - Python `v2.7.x` for node-gyp
- C++ compiler and development tools - C++ compiler and development tools

View File

@ -10,4 +10,4 @@ The most simplest way is to debug using the `Debug Mark Text` configuration. You
## Using Chrome Developer Tools ## Using Chrome Developer Tools
You can use the built-in developer tools via `View -> Toggle Developer Tools` in debug mode or connect via `chrome://inspect` using port `5861` for the main process and `8315` for the renderer process (`npm run dev`). You can use the built-in developer tools via `View -> Toggle Developer Tools` in debug mode or connect via `chrome://inspect` using port `5861` for the main process and `8315` for the renderer process (`yarn run dev`).

View File

@ -15,19 +15,19 @@
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js", "build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
"build:dev": "node .electron-vue/build.js", "build:dev": "node .electron-vue/build.js",
"dev": "node .electron-vue/dev-runner.js", "dev": "node .electron-vue/dev-runner.js",
"e2e": "npm run pack && cross-env MARKTEXT_EXIT_ON_ERROR=1 mocha --timeout 10000 test/e2e", "e2e": "yarn run pack && cross-env MARKTEXT_EXIT_ON_ERROR=1 mocha --timeout 10000 test/e2e",
"lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src test", "lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src test",
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src test", "lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src test",
"pack": "npm run pack:main && npm run pack:renderer", "pack": "yarn run pack:main && yarn run pack:renderer",
"pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js", "pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
"pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js", "pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
"postinstall": "npm run rebuild && npm run lint:fix", "postinstall": "yarn run rebuild && yarn run lint:fix",
"test": "npm run unit && npm run e2e", "test": "yarn run unit && yarn run e2e",
"test:specs": "node -r esm test/specs/commonMark/run.spec.js && node -r esm test/specs/gfm/run.spec.js", "test:specs": "node -r esm test/specs/commonMark/run.spec.js && node -r esm test/specs/gfm/run.spec.js",
"unit": "cross-env NODE_ENV=test ELECTRON_DISABLE_SECURITY_WARNINGS=true karma start test/unit/karma.conf.js", "unit": "cross-env NODE_ENV=test ELECTRON_DISABLE_SECURITY_WARNINGS=true karma start test/unit/karma.conf.js",
"preinstall": "node .electron-vue/preinstall.js", "preinstall": "node .electron-vue/preinstall.js",
"build:muya": "cd src/muya && webpack --progress --colors --config webpack.config.js", "build:muya": "cd src/muya && webpack --progress --colors --config webpack.config.js",
"release:muya": "npm run build:muya && cd src/muya && npm publish", "release:muya": "yarn run build:muya && cd src/muya && yarn publish",
"rebuild": "electron-rebuild -f -o fontmanager-redux,keytar,keyboard-layout,vscode-windows-registry", "rebuild": "electron-rebuild -f -o fontmanager-redux,keytar,keyboard-layout,vscode-windows-registry",
"gen-third-party": "node tools/generateThirdPartyLicense.js", "gen-third-party": "node tools/generateThirdPartyLicense.js",
"validate-licenses": "node tools/validateLicenses.js" "validate-licenses": "node tools/validateLicenses.js"

View File

@ -81,6 +81,7 @@
<content_attribute id="money-gambling">none</content_attribute> <content_attribute id="money-gambling">none</content_attribute>
</content_rating> </content_rating>
<releases> <releases>
<release date="2019-09-28" version="0.15.1"/>
<release date="2019-08-06" version="0.15.0"/> <release date="2019-08-06" version="0.15.0"/>
<release date="2019-04-12" version="0.14.0"/> <release date="2019-04-12" version="0.14.0"/>
<release date="2018-11-21" version="0.13.65"/> <release date="2018-11-21" version="0.13.65"/>