diff --git a/package.json b/package.json index d4c5ea6..59e3133 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,14 @@ "version": "3.0.0", "main": "index.js", "scripts": { + "deploy": "gh-pages -d build", "build": "node scripts/build.js", "watch": "node scripts/watch.js", "pretest": "npm run build", "test": "jest --coverage", "test:watch": "jest --watch", - "doc:dev": "NODE_ENV=development parcel website/index.html --out-dir build/website --no-cache", - "doc:build": "NODE_ENV=production parcel build website/index.html --out-dir build/website --public-url ./ --no-cache" + "doc:dev": "NODE_ENV=development parcel website/index.html --out-dir build/ --no-cache", + "doc:build": "NODE_ENV=production parcel build website/index.html --out-dir build/ --public-url ./ --no-cache" }, "keywords": [ "hotkey", @@ -35,6 +36,7 @@ "bannerjs": "^1.0.5", "classnames": "^2.2.5", "colors-cli": "^1.0.13", + "gh-pages": "^1.1.0", "highlight.js": "^9.12.0", "jest": "^22.4.2", "less": "^3.0.1",