-
- Downloads
Добавляет gh-pages для раздачи статики через Github Pages
| ... | @@ -3,9 +3,12 @@ | ... | @@ -3,9 +3,12 @@ |
| "version": "1.0.0", | "version": "1.0.0", | ||
| "description": "", | "description": "", | ||
| "main": "index.js", | "main": "index.js", | ||
| "homepage": "https://goitacademy.com/parcel-project-template", | |||
| "scripts": { | "scripts": { | ||
| "dev": "parcel src/*.html --open", | "dev": "parcel src/*.html", | ||
| "build": "parcel build src/index.html" | "build": "parcel build src/index.html", | ||
| "predeploy": "npm run build -- --public-url='/parcel-project-template/'", | |||
| "deploy": "gh-pages -d dist" | |||
| }, | }, | ||
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| ... | @@ -17,8 +20,8 @@ | ... | @@ -17,8 +20,8 @@ |
| "bugs": { | "bugs": { | ||
| "url": "https://github.com/goitacademy/parcel-project-template/issues" | "url": "https://github.com/goitacademy/parcel-project-template/issues" | ||
| }, | }, | ||
| "homepage": "https://github.com/goitacademy/parcel-project-template#readme", | |||
| "devDependencies": { | "devDependencies": { | ||
| "gh-pages": "^3.1.0", | |||
| "parcel-bundler": "^1.12.4", | "parcel-bundler": "^1.12.4", | ||
| "posthtml-include": "^1.4.3", | "posthtml-include": "^1.4.3", | ||
| "sass": "^1.26.9" | "sass": "^1.26.9" | ||
| ... | ... |
Please register or sign in to comment