Welcome to mirror list, hosted at ThFree Co, Russian Federation.

package.json - github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 03af92a8b9748e04127a2800fe1990ea6c5a012f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
  "name": "hugo-theme-techdoc",
  "version": "0.9.9",
  "description": "The Techdoc is a Hugo Theme for technical documentation.",
  "main": "gulpfile.js",
  "author": "Thingsym",
  "license": "MIT",
  "devDependencies": {
    "@babel/core": "^7.18.6",
    "@babel/plugin-transform-runtime": "^7.18.6",
    "@babel/preset-env": "^7.18.6",
    "autoprefixer": "^10.4.7",
    "babel-eslint": "^10.1.0",
    "babel-loader": "^8.2.5",
    "browser-sync": "~2.27.10",
    "chokidar-cli": "^3.0.0",
    "core-js": "^3.23.3",
    "cross-env": "^7.0.3",
    "cssnano": "^5.1.12",
    "es6-promise": "~4.2.8",
    "eslint": "^8.19.0",
    "flexbox-grid-mixins": "~0.3.3",
    "gulp": "^4.0.2",
    "gulp-autoprefixer": "~8.0.0",
    "gulp-cssnano": "~2.1.3",
    "gulp-eslint": "^6.0.0",
    "gulp-load-plugins": "~2.0.7",
    "gulp-plumber": "~1.2.1",
    "gulp-rename": "~2.0.0",
    "gulp-sass": "~5.1.0",
    "gulp-stylelint": "^13.0.0",
    "gulp-util": "~3.0.8",
    "gulp-watch": "~5.0.1",
    "npm-check-updates": "^15.2.1",
    "npm-run-all": "^4.1.5",
    "postcss-cli": "^10.0.0",
    "run-sequence": "~2.2.1",
    "sass": "^1.53.0",
    "stylelint": "^14.9.1",
    "stylelint-config-recommended": "^8.0.0",
    "stylelint-config-recommended-scss": "^6.0.0",
    "stylelint-scss": "^4.2.0",
    "webpack": "^5.73.0",
    "webpack-cli": "^4.10.0",
    "webpack-stream": "^7.0.0"
  },
  "browserslist": [
    "last 2 versions"
  ],
  "postcss": {
    "map": true,
    "plugins": {
      "postcss-import": {},
      "autoprefixer": {
        "browsers": [
          "last 2 Chrome versions",
          "last 2 Firefox versions",
          "last 2 Safari versions",
          "last 2 Edge versions",
          "last 2 Opera versions",
          "last 2 iOS versions",
          "last 1 Android version",
          "last 1 ChromeAndroid version",
          "ie 11",
          "> 1%"
        ]
      }
    }
  },
  "stylelint": {
    "extends": [
      "stylelint-config-recommended",
      "stylelint-scss",
      "stylelint-config-recommended-scss"
    ],
    "rules": {
      "no-descending-specificity": null,
      "no-duplicate-selectors": null,
      "block-no-empty": null
    }
  },
  "eslintConfig": {
    "env": {
      "browser": true,
      "es6": true
    },
    "extends": "eslint:recommended",
    "globals": {
      "Atomics": "readonly",
      "SharedArrayBuffer": "readonly",
      "jQuery": true,
      "$": false
    },
    "parserOptions": {
      "ecmaVersion": 2018
    },
    "rules": {
      "no-unused-vars": "off"
    }
  },
  "scripts": {
    "default": "gulp --tasks",
    "ncu": "ncu",
    "gulp": "gulp",
    "build": "run-p build:*",
    "build:js": "npm-run-all -p webpack",
    "build:css": "run-p sass:**",
    "webpack": "cross-env BABEL_ENV=default NODE_ENV=production webpack",
    "sass:style": "sass src/scss/theme.scss static/css/theme.css --style expanded --no-source-map && postcss --use autoprefixer --no-map -r static/css/theme.css",
    "sass:style:minify": "sass src/scss/theme.scss static/css/theme.min.css --style expanded --no-source-map && postcss --use autoprefixer --use cssnano --no-map -r static/css/theme.min.css",
    "sass:chroma": "sass src/scss/chroma.scss static/css/chroma.css --style expanded --no-source-map && postcss --use autoprefixer --no-map -r static/css/chroma.css",
    "sass:chroma:minify": "sass src/scss/chroma.scss static/css/chroma.min.css --style expanded --no-source-map && postcss --use autoprefixer --use cssnano --no-map -r static/css/chroma.min.css",
    "lint": "run-p lint:*",
    "lint:es": "eslint static/js/bundle.js",
    "lint:es:fix": "eslint static/js/bundle.js --fix",
    "lint:css": "stylelint static/css/*.css css/**/*.css !static/css/*.min.css !css/**/*.min.css",
    "lint:scss": "stylelint src/scss/*.scss src/scss/**/*.scss",
    "watch": "run-p watch:*",
    "watch:css": "chokidar \"src/scss/*.scss\" \"src/scss/**/*.scss\" -c \"npm run build:css\" --initial --polling",
    "watch:js": "chokidar \"src/js/*.js\" \"src/js/**/*.js\" -c \"npm run build:js\" --initial --polling"
  }
}