package.json 2 KB
Newer Older
1
{
2
  "name": "@devatscience/prezbuilder",
3
  "version": "1.0.0",
Guillaume Perréal's avatar
Guillaume Perréal committed
4
  "description": "Build INRAE-themed reveal.js presentations.",
5
6
7
8
9
10
  "keywords": [
    "reveal.js",
    "inrae"
  ],
  "author": "Guillaume Perréal <guillaume.perreal@inrae.fr>",
  "license": "MIT",
11
12
13
  "scripts": {
    "build": "gulp build",
    "dev": "gulp dev",
14
15
    "lint": "eslint --color . && prettier --check . && depcheck .",
    "format": "eslint --color --fix . && prettier --write ."
16
17
  },
  "bin": "bin/prezbuilder",
Guillaume Perréal's avatar
Guillaume Perréal committed
18
19
20
21
  "repository": {
    "type": "git",
    "url": "gitlab-ssh.irstea.fr:pole-is/tools/prezbuilder.js"
  },
22
23
24
25
  "engineStrict": true,
  "engines": {
    "node": ">=12 <14"
  },
26
  "dependencies": {
27
    "@devatscience/reveal.js": "^2.0.5",
28
    "del": "^5.1.0",
29
    "esm": "^3.2.25",
30
    "gulp": "^4.0.2",
31
    "gulp-cli": "^2.2.0",
32
    "gulp-server-livereload": "^1.9.2",
33
    "gulplog": "^1.0.0",
34
    "merge-anything": "^3.0.3",
35
    "p-map": "^4.0.0",
36
37
    "plugin-error": "^1.0.1",
    "through2": "^3.0.1",
38
39
    "vinyl": "^2.2.0",
    "which": "^2.0.2"
40
41
  },
  "devDependencies": {
Guillaume Perréal's avatar
Guillaume Perréal committed
42
    "depcheck": "^0.9.2",
43
44
45
46
47
    "eslint": "^6.8.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-prettier": "^3.1.3",
    "husky": "^4.2.5",
    "lint-staged": "^10.2.2",
48
    "prettier": "^2.0.5"
49
50
51
52
53
54
55
56
57
58
59
60
61
62
  },
  "eslintConfig": {
    "extends": [
      "eslint:recommended",
      "plugin:prettier/recommended"
    ],
    "parserOptions": {
      "sourceType": "module"
    },
    "env": {
      "node": true,
      "es2017": true
    },
    "rules": {
63
      "prettier/prettier": "warn",
64
65
66
67
68
69
70
71
72
73
74
75
76
      "no-console": "warn",
      "no-unused-vars": [
        "error",
        {
          "args": "after-used"
        }
      ],
      "sort-imports": [
        "error",
        {
          "ignoreCase": true
        }
      ]
Guillaume Perréal's avatar
Guillaume Perréal committed
77
78
79
80
    },
    "ignorePatterns": [
      "public/**"
    ]
81
  },
82
83
84
  "pretiter:": {
    "printWidth": 80
  },
85
86
87
88
89
90
91
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.js": "eslint",
92
    "*.{json,yml,md}": "prettier --check"
93
94
  }
}