Configuration du déploiement

This commit is contained in:
Pierre Martin 2021-03-19 20:20:35 +01:00
parent e0ac6488eb
commit 7c64dcd6f4

View File

@ -1,15 +1,17 @@
{ {
"name": "jet", "name": "site-sans-pub",
"version": "2.0.0", "version": "1.0.0",
"description": "It's (j)ust (e)leventy and (t)ailwind … OK, and a few other things; it's still *really* small though.", "description": "Site web principal de sans.pub, présentant la plateforme. Basé sur https://github.com/marcamos/jet",
"scripts": { "scripts": {
"clean": "rimraf public src/css/styles.css", "clean": "rimraf public src/css/styles.css",
"dev": "npm run clean && postcss src/css/tailwind.css > src/css/styles.css && eleventy --serve", "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": { "repository": {
"type": "git", "type": "git",
"url": "git+https://marcamos@github.com/marcamos/jet.git" "url": "git@git.sans.pub:Sans.pub/site.git"
}, },
"keywords": [ "keywords": [
"eleventy", "eleventy",
@ -18,12 +20,12 @@
"tailwindcss", "tailwindcss",
"purgecss" "purgecss"
], ],
"author": "marc amos", "author": "Pierre Martin",
"license": "ISC", "license": "ISC",
"bugs": { "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": { "devDependencies": {
"@11ty/eleventy": "^0.11.1", "@11ty/eleventy": "^0.11.1",
"autoprefixer": "^10.2.5", "autoprefixer": "^10.2.5",