-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.27 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
{
"name": "@mypreview/unicorn-js-utils",
"version": "1.4.0",
"description": "A collection of JavaScript utility methods delivering modularity, performance & extras.",
"keywords": [
"gutenberg",
"helper",
"js",
"javascript",
"mypreview",
"react",
"unicorn",
"utils",
"wordpress"
],
"homepage": "https://mypreview.github.io/unicorn-js-utils/",
"bugs": {
"url": "https://github.com/mypreview/unicorn-js-utils/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mypreview/unicorn-js-utils.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": {
"@wordpress/api-fetch": "6.13.0",
"@wordpress/html-entities": "3.16.0",
"@wordpress/i18n": "4.16.0",
"@wordpress/url": "3.17.0",
"classnames": "2.3.1",
"lodash": "4.17.21",
"rename-keys": "2.0.1",
"slugify": "1.6.5",
"striptags": "3.2.0"
},
"devDependencies": {
"@babel/cli": "7.18.10",
"@babel/core": "7.18.10",
"@babel/preset-env": "7.18.10",
"@babel/preset-react": "7.18.6",
"@wordpress/scripts": "24.0.0",
"babel-loader": "8.2.5",
"cross-env": "7.0.3",
"documentation": "13.2.5",
"husky": "8.0.1",
"lint-staged": "13.0.3",
"prettier": "npm:[email protected]"
},
"publishConfig": {
"access": "public"
}
}