From 03ec6432c213f48370f3fa8f9b64225af2661c01 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Tue, 1 Aug 2023 15:33:46 +0800 Subject: [PATCH] chore: package.json --- package.json | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f61e78e..9e532a6 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,20 @@ "doc": "docs" }, "scripts": { - "server": "loppo server", - "test": "echo \"Error: no test specified\" && exit 1" + "build": "loppo --site \"TypeScript 教程\" --id typescript --theme wangdoc", + "build-and-commit": "npm run build && npm run commit", + "commit": "gh-pages --dist dist --dest dist/typescript --branch master --repo git@github.com:wangdoc/website.git", + "chapter": "loppo chapter", + "server": "loppo server" }, - "keywords": [], - "author": "", - "license": "ISC", + "keywords": [ + "TypeScript", + "tutorial" + ], + "author": "Ruan Yifeng", + "license": "CC-BY-SA-4.0", "dependencies": { + "gh-pages": "^5.0.0", "loppo": "^0.6.25", "loppo-theme-wangdoc": "^0.6.4" }