diff --git a/.eslintignore b/.eslintignore index 2d2ecd68d..e3f07b4bf 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,2 @@ .git/ +packages/docsify-server-renderer/build.js \ No newline at end of file diff --git a/package.json b/package.json index 775600067..f4d4d0046 100644 --- a/package.json +++ b/package.json @@ -20,11 +20,11 @@ "themes" ], "scripts": { - "build": "rm -rf lib themes && node build/build.js && mkdir lib/themes && mkdir themes && node build/build-css.js", - "dev:build": "rm -rf lib themes && mkdir themes && node build/build.js --dev && node build/build-css.js --dev", - "dev": "node app.js & nodemon -w src -e js,css --exec 'npm run dev:build'", + "build": "rm -rf lib themes && node build/build && mkdir lib/themes && mkdir themes && node build/build-css", + "dev:build": "rm -rf lib themes && mkdir themes && node build/build --dev && node build/build-css --dev", + "dev": "node app & nodemon -w src -e js,css --exec 'npm run dev:build'", "build:ssr": "node build/build-ssr", - "test": "eslint src --fix" + "test": "eslint {src,packages} --fix" }, "dependencies": { "marked": "^0.3.6", diff --git a/packages/docsify-server-renderer/README.md b/packages/docsify-server-renderer/README.md index 0217ac072..5f1708d9c 100644 --- a/packages/docsify-server-renderer/README.md +++ b/packages/docsify-server-renderer/README.md @@ -41,8 +41,8 @@ renderer.renderToString({ url })
- - + +