-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
88 lines (88 loc) · 3.79 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
{
"name": "wp-project-boilerplate",
"title": "WordPress Project Boilerplate",
"slug": "lhpbp",
"version": "0.0.17",
"description": "A base boilerplate for Luehrsen // Heinrich WordPress projects.",
"scripts": {
"build": "webpack",
"release:build": "webpack --mode='production'",
"release:version": "node ./bin/updatePluginVersion.js && node ./bin/updateThemeVersion.js",
"release:package": "node ./bin/archiveProject.js",
"release": "npm run release:build && npm run release:version && npm run release:package",
"prestart": "npm install && composer install && npm run update:schemas && npm run build",
"start": "npx wp-env start",
"stop": "npx wp-env stop",
"watch": "webpack --watch",
"env:clean": "npx wp-env clean all",
"env:init": "npx wp-env run cli sh ./lifecycleScripts/initialize.sh",
"env:reset": "npm run env:clean && npm run env:init",
"update:schemas": "node bin/updateThemeJsonSchema.js",
"update:versions": "node bin/updatePluginVersion.js && node bin/updateThemeVersion.js",
"lint:php": "composer run lint",
"lint:js": "eslint './{theme,plugin}/**/src/js/**/*.js'",
"lint:css": "stylelint './{theme,plugin}/**/src/css/**/*.css'",
"lint": "npm run lint:php && npm run lint:js && npm run lint:css",
"lint:php:fix": "composer run fix",
"lint:js:fix": "eslint './{theme,plugin}/**/src/js/**/*.js' --fix",
"lint:css:fix": "stylelint './{theme,plugin}/**/src/css/**/*.css' --fix",
"fix:php": "composer run fix",
"fix:css": "stylelint './{theme,plugin}/**/src/css/**/*.css' --fix",
"fix:js": "eslint './{theme,plugin}/**/src/js/**/*.js' --fix",
"lint:fix": "npm run lint:php:fix && npm run lint:js:fix && npm run lint:css:fix",
"dev": "npm run start && npm run watch",
"test": "npm run lint && npm run test:unit:env",
"test:unit:env": "npm run test:unit:env:plugin && npm run test:unit:env:theme",
"test:unit:env:plugin": "wp-env run --env-cwd='wp-content/plugins/plugin' tests-cli vendor/bin/phpunit -c phpunit.xml --verbose",
"test:unit:env:theme": "wp-env run --env-cwd='wp-content/themes/theme' tests-cli vendor/bin/phpunit -c phpunit.xml --verbose",
"preversion": "npm start && npm run test",
"version": "npm run release && git add -A"
},
"author": "Luehrsen // Heinrich",
"authorUrl": "https://www.luehrsen-heinrich.de",
"license": "GPLv2",
"devDependencies": {
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@csstools/postcss-global-data": "^2.1.1",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@svgr/webpack": "^8.1.0",
"@wordpress/babel-plugin-import-jsx-pragma": "^5.2.0",
"@wordpress/babel-preset-default": "^8.2.0",
"@wordpress/dependency-extraction-webpack-plugin": "^6.2.0",
"@wordpress/env": "^10.2.0",
"@wordpress/eslint-plugin": "^19.2.0",
"@wordpress/stylelint-config": "^22.2.0",
"archiver": "^7.0.1",
"babel": "^6.23.0",
"babel-loader": "^9.1.3",
"babel-plugin-lodash": "^3.3.4",
"classnames": "^2.5.1",
"css-loader": "^7.1.2",
"cssnano": "^7.0.3",
"glob": "^10.4.2",
"html-react-parser": "^5.1.10",
"ignore": "^5.3.1",
"lazysizes": "^5.3.2",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.9.0",
"normalize.css": "^8.0.1",
"null-loader": "^4.0.1",
"postcss": "^8.4.38",
"postcss-import": "^16.1.0",
"postcss-loader": "^8.1.1",
"postcss-preset-env": "^9.5.14",
"raw-loader": "^4.0.2",
"react-select": "^5.8.0",
"request": "^2.88.2",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4",
"webpack-livereload-plugin": "^3.0.2",
"webpack-remove-empty-scripts": "^1.0.4"
}
}