-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
118 lines (118 loc) · 3.48 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
{
"name": "chameleon",
"version": "0.3.0",
"description": "The default theme for phpbb",
"main": "gulpfile.js",
"eslintConfig": {
"extends": "xo",
"ignores": [
"all/js/_*.js"
],
"rules": {
"quotes": [
"error",
"single"
],
"comma-dangle": [
"error",
"always-multiline"
],
"max-params": [
"error",
6
],
"block-spacing": "error",
"array-bracket-spacing": [
"error",
"always"
],
"multiline-comment-style": "off",
"computed-property-spacing": "off",
"space-in-parens": "off",
"capitalized-comments": "off",
"object-curly-spacing": [
"error",
"always"
],
"no-lonely-if": "off",
"unicorn/prefer-module": "off",
"space-before-function-paren": [
"error",
"never"
]
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jquery": true
}
},
"browserslist": [
"> 1%",
"not ie 11",
"not samsung 10.1",
"not and_uc 12.12",
"not op_mini all",
"edge >= 18",
"ff >= 72",
"chrome >= 79",
"safari >= 13",
"ios >= 12.4"
],
"scripts": {
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css all/scss/:all/css/",
"css-postcss": "postcss --config build/postcss.config.js --replace \"all/css/*.css\" \"!all/css/*.min*\" \"!all/css/*.css.map\"",
"css-fix": "stylelint --fix \"all/css/*.css\" \"!all/css/*.min.css\" \"!all/css/*.css.map\" --cache --cache-location .cache/.stylelintcsscache",
"css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output all/css/ --batch --batch-suffix \".min\" \"all/css/*.css\" \"!all/css/*.min.css\" \"!all/css/*.css.map\"",
"html-fix": "js-beautify --html --replace -t -n -p -m 10 -I -b \"collapse\" -S \"normal\" -w 0 -A \"auto\" -i 1 --templating \"django\" tests/views/*.html",
"lint-html": "htmlhint --config .htmlhintrc tests/",
"lint-js": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
"lint-scss": "stylelint \"all/scss/**/*.scss\" --config \".stylelintrc\" --cache --cache-location .cache/.stylelintscsscache",
"css": "npm-run-all --continue-on-error css-compile css-postcss css-fix css-minify",
"lint": "npm-run-all --parallel lint-*",
"build": "npm-run-all --parallel css",
"watch": "npm-run-all --parallel watch-*",
"watch-css": "nodemon --watch all/scss/ --ext scss --exec \"npm-run-all --continue-on-error css-compile css-postcss css-fix css-minify\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/phpbb/chameleon.git"
},
"author": "Michael Miday (Hanakin)",
"license": "MIT",
"bugs": {
"url": "https://github.com/phpbb/chameleon/issues"
},
"homepage": "https://github.com/phpbb/chameleon#readme",
"devDependencies": {
"autoprefixer": "^10.4.4",
"clean-css-cli": "^5.6.0",
"compression": "^1.7.4",
"del": "^6.0.0",
"eslint": "^8.12.0",
"eslint-config-xo": "^0.40.0",
"express": "^4.18.1",
"gulp": "^4.0.2",
"gulp-beautify": "^3.0.0",
"gulp-data": "^1.3.1",
"gulp-merge-json": "^2.1.2",
"gulp-nunjucks-render": "^2.2.3",
"gulp-rename": "^2.0.0",
"htmlhint": "^1.1.3",
"js-beautify": "^1.14.2",
"moment": "^2.29.3",
"nodemon": "^1.3.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.12",
"postcss-cli": "^9.1.0",
"postcss-pxtorem": "^6.0.0",
"postcss-sorting": "^7.0.1",
"sass": "^1.50.0",
"stylelint": "^14.6.1",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.2.0",
"webpack": "^5.73.0"
}
}