From 7c64dcd6f451ee83a8a0d1a9979c73c09edc45b4 Mon Sep 17 00:00:00 2001 From: Pierre Martin Date: Fri, 19 Mar 2021 20:20:35 +0100 Subject: [PATCH] =?UTF-8?q?Configuration=20du=20d=C3=A9ploiement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 43f0a31..37b2a9a 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,17 @@ { - "name": "jet", - "version": "2.0.0", - "description": "It's (j)ust (e)leventy and (t)ailwind … OK, and a few other things; it's still *really* small though.", + "name": "site-sans-pub", + "version": "1.0.0", + "description": "Site web principal de sans.pub, présentant la plateforme. Basé sur https://github.com/marcamos/jet", "scripts": { "clean": "rimraf public src/css/styles.css", "dev": "npm run clean && postcss src/css/tailwind.css > src/css/styles.css && eleventy --serve", - "build": "npm run clean && NODE_ENV=production postcss src/css/tailwind.css > src/css/styles.css && eleventy" + "build": "npm run clean && NODE_ENV=production postcss src/css/tailwind.css > src/css/styles.css && eleventy", + "predeploy": "npm run build", + "deploy": "npx @getmeli/cli upload --url https://pages.sans.pub --site b9be0e93-f2e8-43f3-8d83-35cb9076fe17 --branch main --token $MELI_TOKEN ./public" }, "repository": { "type": "git", - "url": "git+https://marcamos@github.com/marcamos/jet.git" + "url": "git@git.sans.pub:Sans.pub/site.git" }, "keywords": [ "eleventy", @@ -18,12 +20,12 @@ "tailwindcss", "purgecss" ], - "author": "marc amos", + "author": "Pierre Martin", "license": "ISC", "bugs": { - "url": "https://github.com/marcamos/jet/issues" + "url": "https://git.sans.pub/Sans.pub/site/issues" }, - "homepage": "https://github.com/marcamos/jet#readme", + "homepage": "https://sans.pub", "devDependencies": { "@11ty/eleventy": "^0.11.1", "autoprefixer": "^10.2.5",