-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.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
{
"name": "@mypreview/wp-plugin-boilerplate",
"version": "1.0.0",
"private": true,
"homepage": "https://github.com/mypreview/wp-plugin-boilerplate#readme",
"bugs": {
"url": "https://github.com/mypreview/wp-plugin-boilerplate/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mypreview/wp-plugin-boilerplate.git"
},
"license": "GPL-3.0-or-later",
"author": "Mahdi Yazdani",
"scripts": {
"archive": "npm run pre-archive && rm -rf $npm_package_name && composer install --no-dev && composer archive --file=$npm_package_name --format=zip && composer install -vvv",
"build": "wp-scripts build",
"dev": "wp-scripts start",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:css-fix": "wp-scripts lint-style --fix",
"lint:js": "wp-scripts lint-js",
"lint:js-fix": "wp-scripts lint-js --fix",
"lint:php": "composer lint:php",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"lint:wpcs": "composer lint:wpcs",
"lint:wpcs-fix": "composer lint:wpcbf",
"makepot": "composer make-pot",
"packages-update": "wp-scripts packages-update",
"pre-archive": "npm run format && npm run lint:css-fix && npm run lint:js-fix && npm run lint:wpcs-fix && npm run build"
},
"lint-staged": {
"*.{scss,css}": [
"npm run lint:css"
],
"*.{js,ts,tsx}": [
"npm run format"
],
"*.php": [
"npm run lint:wpcs"
]
},
"dependencies": {
"@mypreview/unicorn-js-utils": "1.4.0",
"@mypreview/unicorn-react-components": "1.6.0",
"@mypreview/unicorn-react-hooks": "1.3.0",
"@mypreview/unicorn-style-utils": "1.0.2",
"@wordpress/blocks": "11.15.0",
"@wordpress/dom-ready": "3.16.0",
"@wordpress/i18n": "4.16.0",
"@wordpress/plugins": "4.14.0",
"lodash": "4.17.21",
"prop-types": "15.8.1"
},
"devDependencies": {
"@emotion/babel-plugin-jsx-pragmatic": "0.2.0",
"@emotion/babel-preset-css-prop": "11.10.0",
"@emotion/react": "11.10.4",
"@emotion/styled": "11.10.4",
"@wordpress/scripts": "24.0.0",
"husky": "8.0.1",
"lint-staged": "13.0.3",
"prettier": "npm:[email protected]",
"webpack-notifier": "1.15.0"
}
}