-
-
Notifications
You must be signed in to change notification settings - Fork 150
/
Copy pathpackage.json
122 lines (122 loc) · 3.99 KB
/
package.json
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": "1.0.1",
"description": "The Techdoc is a Hugo Theme for technical documentation.",
"main": "gulpfile.js",
"author": "Thingsym",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/plugin-transform-runtime": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"autoprefixer": "^10.4.18",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.3",
"browser-sync": "~3.0.2",
"chokidar-cli": "^3.0.0",
"core-js": "^3.36.0",
"cross-env": "^7.0.3",
"cssnano": "^6.1.0",
"es6-promise": "~4.2.8",
"eslint": "^8.57.0",
"flexbox-grid-mixins": "~0.3.4",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^9.0.0",
"gulp-cssnano": "~2.1.3",
"gulp-eslint": "^6.0.0",
"gulp-load-plugins": "~2.0.8",
"gulp-plumber": "~1.2.1",
"gulp-rename": "~2.0.0",
"gulp-sass": "~5.1.0",
"gulp-stylelint": "^13.0.0",
"gulp-util": "^1.0.0",
"gulp-watch": "^5.0.1",
"npm-check-updates": "^16.14.15",
"npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.0",
"run-sequence": "~2.2.1",
"sass": "^1.71.1",
"stylelint": "^16.2.1",
"stylelint-config-recommended": "^14.0.0",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-scss": "^6.2.1",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4",
"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"
}
}