-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 3.07 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
{
"name": "lwtv-underscores",
"version": "6.2.2",
"description": "LezWatch.TV Custom Theme.",
"main": "index.js",
"workspaces": [
"./plugins/lwtv-plugin",
"./plugins/lwtv-plugin/php/blocks"
],
"scripts": {
"build": "npm-run-all build:*",
"build:composer": "composer update",
"build:assets": "wp-scripts build",
"build:workspace": "npm run build:workspace --workspaces",
"build:mover": "node ./postbuild.js",
"lint": "npm-run-all lint:*",
"lint:css": "wp-scripts lint-style '**/*.scss'",
"lint:js": "wp-scripts lint-js 'plugins/lwtv-plugin/php/blocks/src/**/*.js'",
"lint:php": "composer lint",
"fix": "npm-run-all fix:*",
"fix:css": "wp-scripts lint-style '**/*.scss' --fix ",
"fix:js": "wp-scripts lint-js 'plugins/lwtv-plugin/php/blocks/**/*.js' --fix",
"start": "npm-run-all start:*",
"start:blocks": "npm run start",
"preinstall": "composer install",
"postinstall": "npm-run-all postinstall:*",
"postinstall:blocks": "cd ./plugins/lwtv-plugin/php/blocks && npm install --ignore-scripts",
"postinstall:plugin": "cd ./plugins/lwtv-plugin && npm install --ignore-scripts",
"prepare": "husky",
"updater": "composer update && npm update && wp-scripts packages-update && npm run updater:workspace --workspaces",
"clean": "npm-run-all clean:*",
"clean:node": "rm -rf node_modules",
"clean:vendor": "rm -rf vendor",
"clean:workspace": "npm run clean:workspace --workspaces",
"merge-to-develop": "currentBranch=$(git rev-parse --abbrev-ref HEAD) && git checkout development && git pull && git merge $currentBranch && git push origin development && git checkout $currentBranch",
"merge-to-prod": "currentBranch=$(git rev-parse --abbrev-ref HEAD) && git checkout production && git pull && git merge $currentBranch && git push origin production && git checkout $currentBranch"
},
"author": "LezWatch.TV",
"license": "GPL-2.0",
"repository": "https://github.com/lezwatch/lwtv-underscores/",
"dependencies": {
"@npmcli/fs": "^4",
"@popperjs/core": "^2.11.8",
"@wordpress/components": "^28.12.0",
"chart.js": "^4",
"chartjs-plugin-annotation": "^3",
"coffeescript": "^2.7.0",
"postinstall": "*",
"tablesorter": "^2"
},
"devDependencies": {
"@lodder/grunt-postcss": "^3.1",
"@parcel/watcher": "^2.5",
"@types/node": "^22",
"@wordpress/scripts": "^30.5.1",
"autoprefixer": "^10.4",
"css-minimizer-webpack-plugin": "^7.0",
"eslint-plugin-prettier": "^5.2",
"grunt": "^1.6.1",
"grunt-auto-install": "^0.3.1",
"grunt-contrib-cssmin": "^5.0.0",
"grunt-contrib-sass": "^2.0.0",
"grunt-contrib-uglify": "^5.2.2",
"grunt-contrib-watch": "^1.1.0",
"grunt-terser": "^2.0.0",
"husky": "^9.1.6",
"lint-staged": "^15",
"npm-run-all2": "^7",
"path": "^0.12",
"postcss": "^8.4",
"terser": "^5.36",
"terser-webpack-plugin": "^5.3",
"webpack": "^5.96"
},
"lint-staged": {
"*.php": "npm run lint:php",
"plugins/lwtv-plugin/php/blocks/src/**/*.js": "npm run lint:js",
"*.scss": "npm run lint:css"
}
}