-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.34 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
{
"name": "@mypreview/unicorn-js-upsell",
"version": "1.0.1",
"description": "Small components and scripts to display upsell (promotional) messages in WordPress.",
"keywords": [
"gutenberg",
"helper",
"components",
"js",
"javascript",
"mypreview",
"react",
"unicorn",
"wordpress"
],
"homepage": "https://mypreview.github.io/unicorn-js-upsell/",
"bugs": {
"url": "https://github.com/mypreview/unicorn-js-upsell/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mypreview/unicorn-js-upsell.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",
"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.1.0",
"@wordpress/block-editor": "9.7.0",
"@wordpress/components": "19.17.0",
"@wordpress/compose": "5.13.0",
"@wordpress/element": "4.13.0",
"@wordpress/i18n": "4.15.0",
"classnames": "2.3.1",
"lodash": "4.17.21",
"prop-types": "15.8.1"
},
"devDependencies": {
"@babel/cli": "7.18.10",
"@babel/core": "7.18.10",
"@babel/preset-env": "7.18.10",
"@babel/preset-react": "7.18.6",
"@emotion/babel-plugin-jsx-pragmatic": "0.2.0",
"@emotion/babel-preset-css-prop": "11.10.0",
"@emotion/react": "11.10.0",
"@wordpress/scripts": "23.7.2",
"babel-loader": "8.2.5",
"cross-env": "7.0.3",
"husky": "8.0.1",
"lint-staged": "13.0.3",
"prettier": "npm:[email protected]"
},
"publishConfig": {
"access": "public"
}
}