-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 1.9 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
{
"name": "@mypreview/block-data-attribute",
"version": "2.0.2",
"private": true,
"homepage": "https://github.com/mypreview/block-data-attribute#readme",
"bugs": {
"url": "https://github.com/mypreview/block-data-attribute/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mypreview/block-data-attribute.git"
},
"license": "GPL-3.0-or-later",
"author": "Mahdi Yazdani",
"scripts": {
"archive": "npm run pre-archive && rm -rf $npm_package_name && composer archive --file=$npm_package_name --format=zip",
"build": "wp-scripts build",
"dev": "wp-scripts start",
"env": "wp-env start && npm run env:siuy",
"env:siuy": "wp-env run cli \"wp theme activate siuy\"",
"env:stop": "wp-env stop",
"format": "wp-scripts format",
"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:js-fix && npm run lint:wpcs-fix && npm run build"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"npm run format"
],
"*.php": [
"npm run lint:wpcs"
]
},
"dependencies": {
"@mypreview/unicorn-js-utils": "1.4.0",
"@mypreview/unicorn-react-components": "2.2.0",
"@wordpress/block-editor": "10.4.0",
"@wordpress/components": "22.0.0",
"@wordpress/compose": "5.19.0",
"@wordpress/hooks": "3.21.0",
"@wordpress/i18n": "4.21.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.5",
"@wordpress/env": "5.6.0",
"@wordpress/scripts": "24.5.0",
"husky": "8.0.1",
"lint-staged": "13.0.3",
"prettier": "npm:wp-prettier@^2.6.2"
}
}