-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 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
81
82
{
"name": "wp-block-template-part",
"version": "0.0.0-development",
"description": "Gutenberg block to render a template part inside a query loop",
"repository": {
"type": "git",
"url": "git+https://github.com/CloudCatch/wp-block-template-part.git"
},
"author": "CloudCatch LLC",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/CloudCatch/wp-block-template-part/issues"
},
"homepage": "https://github.com/CloudCatch/wp-block-template-part#readme",
"lint-staged": {
"*.php": [
"php -d display_errors=1 -l",
"composer run-script phpcs-pre-commit"
],
"*.js": [
"eslint --fix"
]
},
"devDependencies": {
"@babel/core": "^7.14.2",
"@babel/eslint-parser": "^7.15.0",
"@babel/plugin-transform-classes": "^7.14.2",
"@babel/polyfill": "^7.8.7",
"@babel/preset-react": "^7.14.5",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/release-notes-generator": "^9.0.3",
"@wordpress/eslint-plugin": "^9.0.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.7.0",
"browser-sync": "^2.26.3",
"browser-sync-webpack-plugin": "2.3.0",
"classnames": "^2.3.1",
"copy-webpack-plugin": "^6.0.0",
"core-js": "^3.12.1",
"cross-env": "^5.2.0",
"cssnano": "^4.1.11",
"eslint": "^7.26.0",
"eslint-plugin-jsdoc": "^34.2.2",
"gulp": "^3.9.1",
"gulp-babel": "^8.0.0",
"husky": "^6.0.0",
"laravel-mix": "^6.0.19",
"laravel-mix-polyfill": "^3.0.0",
"laravel-mix-svg-sprite": "^1.0.2",
"node-wp-i18n": "^1.2.5",
"prettier": "^1.13.4",
"prettier-stylelint": "^0.4.2",
"react": "^17.0.2",
"resolve-url-loader": "^3.1.3",
"sass": "^1.32.13",
"sass-loader": "^12.1.0",
"semantic-release-plugin-update-version-in-files": "^1.1.0",
"stylelint": "^9.9.0",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-config-wordpress": "^13.1.0",
"stylelint-order": "^0.8.1",
"vue": "^2.6.11",
"vue-template-compiler": "^2.6.10",
"webpack": "^5.50.0"
},
"scripts": {
"build": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "cross-env sync=1 NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
"lint": "npm run lint:styles && npm run lint:scripts && npm run lint:php",
"lint:styles": "cross-env stylelint './resources/scss/**/*.scss' --syntax scss",
"lint:scripts": "cross-env eslint './resources/js/*.js'",
"lint:php": "cross-env ./vendor/bin/phpcs . --runtime-set testVersion 7.0- -s",
"i18n": "npm run i18n:textdomain && npm run i18n:pot",
"i18n:textdomain": "npx wpi18n addtextdomain --exclude=vendor,tests,node_modules",
"i18n:pot": "npx wpi18n makepot --domain-path=languages",
"package": "./bin/build-zip.sh",
"prepare": "husky install"
}
}