-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.45 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
{
"name": "@mypreview/unicorn-react-hooks",
"version": "1.6.0",
"description": "A collection of ReactJS hooks crafted for the WordPress projects.",
"keywords": [
"functions",
"gutenberg",
"hooks",
"js",
"javascript",
"mypreview",
"react",
"unicorn",
"utils",
"wordpress"
],
"homepage": "https://mypreview.github.io/unicorn-react-hooks/",
"bugs": {
"url": "https://github.com/mypreview/unicorn-react-hooks/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mypreview/unicorn-react-hooks.git"
},
"license": "GPL-3.0-or-later",
"author": "MyPreview",
"sideEffects": false,
"main": "build/index.js",
"module": "build/index.js",
"scripts": {
"build": "cross-env BABEL_ENV=default NODE_ENV=production && rm -rf build && mkdir build && babel src --out-dir build --no-copy-ignored",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"docs": "documentation build src/** -f html --github -o docs",
"format": "wp-scripts format",
"lint:js": "wp-scripts lint-js",
"lint:js-fix": "wp-scripts lint-js --fix",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"prepare": "husky install",
"prepublishOnly": "npm run format && npm run lint:js && npm run build",
"test:e2e": "wp-scripts test-e2e",
"test:unit": "cross-env BABEL_ENV=test NODE_ENV=test jest",
"test:unit:help": "cross-env BABEL_ENV=test NODE_ENV=test jest --help",
"test:unit:watch": "cross-env BABEL_ENV=test NODE_ENV=test jest --watch"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"npm run lint:js",
"npm run format"
]
},
"dependencies": {
"@mypreview/unicorn-js-utils": "1.4.0",
"@wordpress/api-fetch": "6.16.0",
"@wordpress/blob": "3.19.0",
"@wordpress/block-editor": "10.2.0",
"@wordpress/blocks": "11.18.0",
"@wordpress/data": "7.3.0",
"@wordpress/element": "4.17.0",
"@wordpress/html-entities": "3.19.0",
"@wordpress/i18n": "4.19.0",
"@wordpress/url": "3.20.0",
"lodash": "4.17.21",
"react-geocode": "0.2.3",
"use-deep-compare-effect": "1.8.1"
},
"devDependencies": {
"@babel/cli": "7.19.3",
"@babel/core": "7.19.3",
"@babel/preset-env": "7.19.3",
"@babel/preset-react": "7.18.6",
"@wordpress/scripts": "24.3.0",
"babel-loader": "8.2.5",
"cross-env": "7.0.3",
"documentation": "14.0.0",
"husky": "8.0.1",
"lint-staged": "13.0.3",
"prettier": "npm:[email protected]"
},
"publishConfig": {
"access": "public"
}
}