generated from luehrsenheinrich/wp-project-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 3.56 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
{
"name": "wpm-citations-package",
"title": "The package for the Citations Plugin",
"slug": "citations",
"version": "0.2.1",
"description": "The package that provides the Citations Plugin for WordPress.",
"scripts": {
"build": "webpack",
"release:build": "webpack --mode='production'",
"release:version": "node ./bin/updatePluginVersion.js",
"release:package": "node ./bin/archiveProject.js",
"release:wpTested": "node ./bin/updateWordPressTestedVersion.js",
"release:prepareWpRelease": "node ./bin/prepareWpRelease.js",
"release:composer": "cd plugin && composer u --no-dev -o",
"release": "npm run release:build && npm run release:composer && npm run release:version && npm run release:wpTested && npm run release:package",
"prestart": "npm install && composer install && npm run build",
"start": "wp-env start --update",
"stop": "wp-env stop",
"watch": "webpack --watch",
"env:clean": "wp-env clean all",
"update:versions": "node bin/updatePluginVersion.js",
"lint:php": "composer run lint",
"lint:js": "eslint './plugin/**/src/js/**/*.js'",
"lint:css": "stylelint './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 './plugin/**/src/js/**/*.js' --fix",
"lint:css:fix": "stylelint './plugin/**/src/css/**/*.css' --fix",
"fix:php": "composer run fix",
"fix:css": "stylelint './plugin/**/src/css/**/*.css' --fix",
"fix:js": "eslint './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": "wp-env run --env-cwd='wp-content/plugins/plugin' tests-cli vendor/bin/phpunit -c phpunit.xml --verbose",
"preversion": "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.22.20",
"@babel/preset-react": "^7.22.15",
"@csstools/postcss-global-data": "^2.1.0",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/modifiers": "^6.0.1",
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.1",
"@svgr/webpack": "^8.1.0",
"@wordpress/babel-plugin-import-jsx-pragma": "^4.25.0",
"@wordpress/babel-preset-default": "^7.21.0",
"@wordpress/dependency-extraction-webpack-plugin": "^4.25.0",
"@wordpress/env": "^8.8.0",
"@wordpress/eslint-plugin": "^16.0.0",
"@wordpress/stylelint-config": "^21.25.0",
"archiver": "^6.0.1",
"babel": "^6.23.0",
"babel-loader": "^9.1.3",
"babel-plugin-lodash": "^3.3.4",
"classnames": "^2.3.2",
"css-loader": "^6.8.1",
"cssnano": "^6.0.1",
"eslint": "^8.50.0",
"glob": "^10.3.7",
"html-react-parser": "^4.2.2",
"ignore": "^5.2.4",
"lazysizes": "^5.3.2",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.7.6",
"normalise": "^10.0.0",
"normalize.css": "^8.0.1",
"null-loader": "^4.0.1",
"postcss": "^8.4.30",
"postcss-import": "^15.1.0",
"postcss-loader": "^7.3.3",
"postcss-preset-env": "^9.1.4",
"raw-loader": "^4.0.2",
"react-select": "^5.7.5",
"request": "^2.88.2",
"style-loader": "^3.3.3",
"stylelint": "^14.16.1",
"terser-webpack-plugin": "^5.3.9",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-livereload-plugin": "^3.0.2",
"webpack-remove-empty-scripts": "^1.0.4"
}
}