-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathpackage.json
More file actions
186 lines (186 loc) · 7.5 KB
/
package.json
File metadata and controls
186 lines (186 loc) · 7.5 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"name": "popup-maker",
"version": "1.22.0",
"description": "WordPress Popup Plugin",
"author": "Code Atlantic LLC",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress",
"popups",
"modals"
],
"homepage": "https://wppopupmaker.com",
"repository": {
"type": "git",
"url": "git+https://github.com/PopupMaker/Popup-Maker.git"
},
"bugs": {
"url": "https://github.com/PopupMaker/Popup-Maker/issues"
},
"engines": {
"node": "^18.0.0 || >=20.10.0"
},
"files": [
"assets/**/index.php",
"assets/css/*.css",
"assets/images/**/*",
"assets/js/*.js",
"assets/js/vendor/*.js",
"assets/sounds/**/*",
"classes/**/*",
"dist/**/*",
"includes/**/*",
"languages/**/*",
"templates/**/*",
"vendor-prefixed/**/*",
"builtin-themes.xml",
"contributors.txt",
"readme.txt",
"*.php"
],
"dependencies": {
"@popup-maker/admin-bar": "file:./packages/admin-bar",
"@popup-maker/admin-marketing": "file:./packages/admin-marketing",
"@popup-maker/block-editor": "file:./packages/block-editor",
"@popup-maker/block-library": "file:./packages/block-library",
"@popup-maker/components": "file:./packages/components",
"@popup-maker/core-data": "file:./packages/core-data",
"@popup-maker/cta-admin": "file:./packages/cta-admin",
"@popup-maker/cta-editor": "file:./packages/cta-editor",
"@popup-maker/dashboard": "file:./packages/dashboard",
"@popup-maker/data": "file:./packages/data",
"@popup-maker/fields": "file:./packages/fields",
"@popup-maker/i18n": "file:./packages/i18n",
"@popup-maker/icons": "file:./packages/icons",
"@popup-maker/layout": "file:./packages/layout",
"@popup-maker/popup-admin": "file:./packages/popup-admin",
"@popup-maker/registry": "file:./packages/registry",
"@popup-maker/use-query-params": "file:./packages/use-query-params",
"@popup-maker/utils": "file:./packages/utils",
"iframe-resizer": "^4.2.10",
"mobile-detect": "^1.4.5"
},
"devDependencies": {
"@code-atlantic/browserslist-config": "^1.0.1",
"@code-atlantic/eslint-plugin": "^1.3.1",
"@code-atlantic/stylelint-config": "^1.3.0",
"@jest/globals": "^29.7.0",
"@nx/playwright": "20.3.3",
"@nx/storybook": "20.3.3",
"@playwright/test": "^1.50.1",
"@popup-maker/custom-templated-path-webpack-plugin": "file:./packages/custom-templated-path-webpack-plugin",
"@popup-maker/dependency-extraction-webpack-plugin": "file:./packages/dependency-extraction-webpack-plugin",
"@popup-maker/types": "file:./packages/types",
"@storybook/addon-actions": "8.6.14",
"@storybook/addon-essentials": "8.6.14",
"@storybook/addon-styling-webpack": "^1.0.1",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "8.6.14",
"@storybook/react-webpack5": "8.6.14",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@types/testing-library__jest-dom": "^6.0.0",
"@wordpress/e2e-test-utils-playwright": "^1.29.0",
"@wordpress/scripts": "^31.6.0",
"copy-webpack-plugin": "^12.0.2",
"glob": "^11.0.2",
"lint-staged": "^15.2.11",
"mini-css-extract-plugin": "^2.9.2",
"minimist": "^1.2.8",
"nx": "20.3.4",
"path": "^0.12.7",
"prettier": "npm:wp-prettier@3.0.3",
"react-docgen-typescript": "^2.2.2",
"rtlcss-webpack-plugin": "^4.0.7",
"storybook": "8.6.17",
"webpack-bundle-analyzer": "^4.10.2"
},
"scripts": {
"build": "wp-scripts build --config webpack.config.js --config webpack.old.config.js",
"build:production": "NODE_ENV=production npm run build",
"build:tsc": "nx run-many --target=build:tsc",
"build:types": "nx run-many --target=build:types",
"check-engines": "wp-scripts check-engines",
"validate:dep-tree": "node bin/validate-dep-tree.js packages",
"validate:dep-tree:fix": "node bin/validate-dep-tree.js packages --fix",
"clean:deps": "node bin/clean-deps.js packages --dry-run",
"clean:deps:auto": "node bin/clean-deps.js packages --auto",
"clean:deps:add": "node bin/clean-deps.js packages --add-missing",
"clean:deps:remove": "node bin/clean-deps.js packages --remove-unused",
"check-licenses": "wp-scripts check-licenses",
"format": "wp-scripts format",
"lint:style": "wp-scripts lint-style",
"lint:style:changed": "wp-scripts lint-style --formatter=compact",
"lint:js": "wp-scripts lint-js ./packages/**/src/*.ts* --no-ignore",
"lint:js:changed": "wp-scripts lint-js --format=compact",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:md:js": "wp-scripts lint-md-js",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages:clean": "nx run-many --target=clean",
"packages:build:tsc": "nx run-many --target=build:tsc",
"packages:build:types": "nx run-many --target=build:types",
"packages:format": "nx run-many --target=format",
"packages:lint": "nx run-many --target=lint",
"packages-update": "wp-scripts packages-update && npx nx run-many --target=packages-update",
"postpackages-update": "npm run build",
"plugin-zip": "wp-scripts plugin-zip",
"start": "wp-scripts start --config webpack.config.js --config webpack.old.config.js",
"start:hot": "wp-scripts start --hot --config webpack.config.js",
"release": "node bin/build-release.js",
"prepare-release": "node bin/prepare-release.js",
"prepare-release:patch": "node bin/prepare-release.js --patch",
"prepare-release:minor": "node bin/prepare-release.js --minor",
"prepare-release:major": "node bin/prepare-release.js --major",
"changelog:update": "node bin/update-changelog.js",
"version:update": "node bin/update-versions.js",
"cache:stats": "node bin/webpack-cache-manager.js stats",
"cache:clean": "node bin/webpack-cache-manager.js clean",
"cache:validate": "node bin/webpack-cache-manager.js validate",
"bundle:analyze": "node bin/bundle-analyzer.js analyze",
"bundle:report": "ANALYZE=true npm run build",
"build:optimized": "NODE_ENV=production npm run build && npm run bundle:analyze",
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.ts",
"test:e2e:debug": "wp-scripts test-playwright --config tests/e2e/playwright.config.ts --ui",
"test:e2e:watch": "wp-scripts test-playwright --config tests/e2e/playwright.config.ts --watch",
"test:e2e:storybook": "playwright test --config tests/storybook-playwright/playwright.config.ts",
"test:unit": "wp-scripts test-unit-js --config tests/unit/jest.config.js",
"test:unit:help": "wp-scripts test-unit-js --config tests/unit/jest.config.js --help",
"test:unit:watch": "wp-scripts test-unit-js --config tests/unit/jest.config.js --watch",
"test:unit:debug": "wp-scripts --inspect-brk test-unit-js --config tests/unit/jest.config.js --runInBand --no-cache",
"test": "echo \"Error: no test specified\" && exit 1",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"fonts:update": "node bin/update-google-fonts.js",
"packages:bump": "node bin/bump-and-publish-packages.js --dry-run",
"packages:bump:minor": "node bin/bump-and-publish-packages.js --version-type=minor",
"packages:bump:patch": "node bin/bump-and-publish-packages.js --version-type=patch",
"packages:bump:major": "node bin/bump-and-publish-packages.js --version-type=major",
"wp-env": "wp-env"
},
"workspaces": [
"./packages/*"
],
"sideEffects": [
"*.scss",
"*.css",
"assets/js/src/**/*.js"
],
"lint-staged": {
"*.php": [
"composer format",
"composer lint"
],
"*.{js,jsx,ts,tsx}": [
"wp-scripts format",
"wp-scripts lint-js --fix",
"wp-scripts lint-js"
],
"*.{scss,css}": [
"wp-scripts format",
"wp-scripts lint-style --fix",
"wp-scripts lint-style"
]
}
}