mirror of
https://github.com/marktext/marktext.git
synced 2025-05-02 11:32:13 +08:00
Update documents (#1439)
This commit is contained in:
parent
01518f6dbf
commit
c85050b340
@ -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:
|
||||
|
||||
- Node.js `>=v10.16.0`, npm and yarn
|
||||
- Node.js `>=v12.0.0`, npm and yarn
|
||||
- Python `v2.7.x` for node-gyp
|
||||
- C++ compiler and development tools
|
||||
|
||||
|
@ -10,4 +10,4 @@ The most simplest way is to debug using the `Debug Mark Text` configuration. You
|
||||
|
||||
## 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`).
|
||||
|
10
package.json
10
package.json
@ -15,19 +15,19 @@
|
||||
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
|
||||
"build:dev": "node .electron-vue/build.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: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:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
|
||||
"postinstall": "npm run rebuild && npm run lint:fix",
|
||||
"test": "npm run unit && npm run e2e",
|
||||
"postinstall": "yarn run rebuild && yarn run lint:fix",
|
||||
"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",
|
||||
"unit": "cross-env NODE_ENV=test ELECTRON_DISABLE_SECURITY_WARNINGS=true karma start test/unit/karma.conf.js",
|
||||
"preinstall": "node .electron-vue/preinstall.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",
|
||||
"gen-third-party": "node tools/generateThirdPartyLicense.js",
|
||||
"validate-licenses": "node tools/validateLicenses.js"
|
||||
|
@ -81,6 +81,7 @@
|
||||
<content_attribute id="money-gambling">none</content_attribute>
|
||||
</content_rating>
|
||||
<releases>
|
||||
<release date="2019-09-28" version="0.15.1"/>
|
||||
<release date="2019-08-06" version="0.15.0"/>
|
||||
<release date="2019-04-12" version="0.14.0"/>
|
||||
<release date="2018-11-21" version="0.13.65"/>
|
||||
|
Loading…
Reference in New Issue
Block a user