forked from flyntwp/flynt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
139 lines (139 loc) · 4.16 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "flynt",
"version": "2.1.1",
"repository": "[email protected]:flyntwp/flynt.git",
"author": "Bleech <[email protected]>",
"license": "MIT",
"scripts": {
"checkVersion": "check-node-version --package -p",
"start": "run-s --silent dev",
"dev": "run-s --silent checkVersion clean serve",
"clean": "rimraf ./dist && mkdirp ./dist",
"serve": "vite dev",
"watch": "vite build -w",
"build": "run-s --silent checkVersion lint build:production",
"build:production": "cross-env NODE_ENV=production vite build",
"lint": "run-p --silent lint:*",
"lint:scripts": "cross-env standard",
"lint:styles": "cross-env stylelint '**/*.scss'",
"lint:php": "cross-env ./vendor/bin/phpcs",
"lintFix": "run-p --silent lintFix:*",
"lintFix:scripts": "cross-env standard --fix",
"lintFix:styles": "cross-env stylelint '**/*.scss' --fix",
"lintFix:php": "cross-env ./vendor/bin/phpcbf",
"release": "run-s --silent checkVersion && standard-version -a",
"releasePatch": "run-s --silent checkVersion && standard-version -a --release-as patch",
"replaceVersion": "run-s --silent checkVersion && npm i -g replace-in-files-cli && run-p --silent replaceVersion:*",
"replaceVersion:style.css": "cross-env replace-in-files --regex='Version: (.*)' --replacement=Version:\\ $npm_package_version ./style.css",
"replaceVersion:js": "cross-env replace-in-files --string='%%NEXT_VERSION%%' --replacement=$npm_package_version './**/*.js' '!./dist/**/*' '!./node_modules/**/*'",
"replaceVersion:php": "cross-env replace-in-files --string='%%NEXT_VERSION%%' --replacement=$npm_package_version './**/*.php' '!./dist/**/*' '!./node_modules/**/*' '!./vendor/**/*'"
},
"dependencies": {
"body-scroll-lock": "^3.1.5",
"countup.js": "^2.8.0",
"delegate-event-listener": "^1.2.0",
"lazysizes": "^5.3.2",
"rellax": "^1.12.1",
"swiper": "^11.1.1"
},
"devDependencies": {
"ansi-colors": "^4.1.3",
"autoprefixer": "^10.4.19",
"check-node-version": "^4.2.1",
"cross-env": "^7.0.3",
"eslint": "^9.2.0",
"mkdirp": "^3.0.1",
"node-sass-glob-importer": "^5.3.3",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.5",
"sass": "^1.77.0",
"standard": "^17.1.0",
"stylelint": "^16.5.0",
"stylelint-config-sass-guidelines": "^11.1.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.3.0",
"stylelint-use-logical-spec": "^5.0.1",
"vite": "^5.2.11",
"vite-plugin-full-reload": "^1.1.0"
},
"eslintConfig": {
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
}
},
"stylelint": {
"extends": "stylelint-config-sass-guidelines",
"plugins": [
"stylelint-scss",
"stylelint-order",
"stylelint-use-logical-spec"
],
"rules": {
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"selector-class-pattern": null,
"max-nesting-depth": null,
"selector-max-compound-selectors": 4,
"selector-no-qualifying-type": null,
"order/properties-alphabetical-order": true,
"liberty/use-logical-spec": true
},
"ignoreFiles": [
"dist/**",
"vendor/**"
]
},
"engines": {
"node": ">=20"
},
"type": "module",
"standard-version": {
"scripts": {
"postbump": "npm run replaceVersion && composer config --unset version && composer update nothing && git diff && git add . && composer validate --strict"
},
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"section": "Other",
"hidden": false
},
{
"type": "doc",
"section": "Other"
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"section": "Other"
},
{
"type": "perf",
"section": "Other"
},
{
"type": "test",
"hidden": true
}
]
},
"browserslist": [
"supports array-flat"
]
}