-
Notifications
You must be signed in to change notification settings - Fork 98
/
package.json
70 lines (70 loc) · 2.6 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
{
"name": "gazelle",
"version": "0.0.0",
"description": "",
"scripts": {
"dev": "yarn build",
"prod": "cross-env NODE_ENV=production yarn build",
"build": "yarn build:scss && yarn build:previews",
"build:scss": "webpack --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"build:previews": "node bin/render_styles_preview.js",
"start": "yarn build:scss -- --watch",
"lint:css": "stylelint --config misc/stylelint.json --cache --cache-location cache/stylelint \"sass/**/*.scss\" || exit 0",
"lint:css-fix": "stylelint --config misc/stylelint.json --cache --cache-location cache/stylelint --fix \"sass/**/*.scss\" || exit 0",
"lint:css-checkstyle": "stylelint --config misc/stylelint.json --cache --cache-location cache/stylelint \"sass/**/*.scss\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js || exit 0",
"lint:php:internal": "find . -path './vendor' -prune -o -path ./node_modules -prune -o -path './.docker' -prune -o -type f -name '*.php' -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v \"No syntax errors detected\" )",
"lint:php:phpcs": "vendor/bin/phpcs -p --report-width=1000",
"lint:php": "yarn lint:php:internal && yarn lint:php:phpcs",
"lint:php:fix": "bin/phpcbf",
"pre-commit": "yarn lint:php:fix",
"prepare": "husky install"
},
"license": "Unlicense",
"devDependencies": {
"@eslint/js": "^9.8.0",
"@stylistic/eslint-plugin-js": "^2.4.0",
"browser-sync": "^2.27.5",
"browser-sync-webpack-plugin": "^2.2.2",
"cypress": "^12.0.2",
"cypress-terminal-report": "^5.0.2",
"eslint": "^9.6.0",
"globals": "^15.8.0",
"husky": "^8.0.1",
"lint-staged": "^10.5.0",
"stylelint": "^13.3.2",
"stylelint-checkstyle-formatter": "^0.1.2",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.16.1"
},
"dependencies": {
"cross-env": "^7.0.2",
"laravel-mix": "^5.0.5",
"puppeteer": "^2.1.1",
"sass": "^1.26.10",
"sass-loader": "^9.0.2",
"sharp": "^0.32.6",
"webpack": "^4"
},
"lint-staged": {
"*.js": [
"eslint -c misc/eslint.config.mjs"
],
"*.php": [
"vendor/bin/phpstan analyze --no-progress --configuration=misc/phpstan.neon --memory-limit 512M",
"bin/phpcs",
"bin/phpcbf"
],
"*.scss": [
"stylelint --config misc/stylelint.json --cache --cache-location cache/stylelint"
]
},
"browserslist": [
"ie 11",
"safari >= 10",
"ios >= 10",
"android >= 6",
"Firefox ESR",
"last 2 years and > 0.1%"
]
}