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: 411034a0d441bbf2696ad3ad37c747c7aa8e926d (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
123
124
125
126
127
128
129
130
131
{
  "name": "hugo-theme-techdoc",
  "version": "0.4.0",
  "description": "The Techdoc is a Hugo Theme for technical documentation.",
  "main": "gulpfile.js",
  "author": "Thingsym",
  "license": "MIT",
  "devDependencies": {
    "autoprefixer": "^9.6.2",
    "babel-core": "^6.26.3",
    "babel-eslint": "^8.2.6",
    "babel-loader": "^7.1.5",
    "babel-plugin-transform-runtime": "^6.23.0",
    "babel-preset-env": "^1.6.1",
    "browser-sync": "~2.23.1",
    "chokidar-cli": "^2.0.0",
    "cross-env": "^6.0.3",
    "es6-promise": "~4.2.2",
    "eslint": "^4.13.1",
    "flexbox-grid-mixins": "~0.1.3",
    "gulp": "^3.9.1",
    "gulp-autoprefixer": "~4.1.0",
    "gulp-cssnano": "~2.1.2",
    "gulp-eslint": "^6.0.0",
    "gulp-jshint": "~2.1.0",
    "gulp-load-plugins": "~1.5.0",
    "gulp-plumber": "~1.1.0",
    "gulp-rename": "~1.2.0",
    "gulp-sass": "~3.1.0",
    "gulp-stylelint": "^8.0.0",
    "gulp-util": "~3.0.4",
    "gulp-watch": "~4.3.11",
    "jshint": "~2.9.4",
    "jshint-stylish": "~2.2.1",
    "node-sass": "^4.12.0",
    "npm-run-all": "^4.1.5",
    "postcss-cli": "^6.1.3",
    "run-sequence": "~2.2.0",
    "stylelint": "^9.9.0",
    "stylelint-config-recommended": "^2.1.0",
    "stylelint-config-recommended-scss": "^3.2.0",
    "stylelint-scss": "^3.4.0",
    "webpack": "^4.41.0",
    "webpack-cli": "^3.3.9",
    "webpack-stream": "^5.2.1"
  },
  "stylelint": {
    "extends": [
      "stylelint-config-recommended",
      "stylelint-scss",
      "stylelint-config-recommended-scss"
    ]
  },
  "eslintConfig": {
    "env": {
      "browser": true,
      "es6": true
    },
    "extends": "eslint:recommended",
    "globals": {
      "Atomics": "readonly",
      "SharedArrayBuffer": "readonly",
      "jQuery": true,
      "$": false,
      "wp": true
    },
    "parserOptions": {
      "ecmaVersion": 2018
    },
    "rules": {}
  },
  "babel": {
    "presets": [
      [
        "env",
        {
          "modules": false,
          "targets": {
            "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%"
            ]
          }
        }
      ]
    ],
    "plugins": [],
    "env": {
      "default": {
        "plugins": [
          "transform-runtime"
        ]
      },
      "test": {
        "presets": [
          "env"
        ]
      }
    }
  },
  "scripts": {
    "default": "gulp",
    "gulp": "gulp",
    "gulp:lint": "gulp lint",
    "gulp:watch": "gulp watch",
    "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": "node-sass src/scss/theme.scss static/css/theme.css --output-style expanded && postcss --use autoprefixer --no-map -r static/css/theme.css",
    "sass:style:minify": "node-sass src/scss/theme.scss static/css/theme.min.css --output-style compressed && postcss --use autoprefixer --no-map -r static/css/theme.min.css",
    "sass:chroma": "node-sass src/scss/chroma.scss static/css/chroma.css --output-style expanded && postcss --use autoprefixer --no-map -r static/css/chroma.css",
    "sass:chroma:minify": "node-sass src/scss/chroma.scss static/css/chroma.min.css --output-style compressed && postcss --use autoprefixer --no-map -r static/css/chroma.min.css",
    "lint:all": "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\"",
    "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"
  }
}