-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
126 lines (126 loc) · 4.06 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
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
{
"name": "search-exclude",
"description": "Search Exclude",
"main": "index.js",
"scripts": {
"tools:clean": "cd .tools && pnpm run clean",
"tools:setup": "cd .tools && pnpm run setup",
"tools:phpcbf": "node .tools/bin/phpcbf.js",
"tools:phpcs": "node .tools/bin/phpcs.js",
"tools:makepot": "node .tools/bin/makepot.js",
"preinstall": "npx only-allow pnpm",
"delete:build": "node .tools/bin/delete.js ./build ./languages",
"delete:plugin": "node .tools/bin/delete.js ./.plugin",
"clean:js": "pnpm run delete:plugin && node .tools/bin/delete.js ./build ./package-lock.json ./pnpm-lock.yaml ./node_modules ./playwright-report ./playwright",
"clean:php": "pnpm run delete:plugin && node .tools/bin/delete.js ./composer.lock ./vendor ./jetpack_vendor ./phpcs_error.xml ./phpcs_error.csv ./phpcs_error.txt",
"clean": "pnpm run clean:js && pnpm run clean:php",
"setup:js": "pnpm run clean:js && pnpm install --force && pnpm husky install && pnpm playwright install",
"setup:php": "pnpm run clean:php && composer install",
"setup": "pnpm run tools:setup && pnpm run setup:js && pnpm run setup:php",
"update:js": "pnpm update",
"update:php": "composer update",
"update": "pnpm run update:js && pnpm run update:php",
"test:unit:php": "cd .tools && composer run-script test:phpunit",
"test:unit:js": "jest",
"test:unit": "pnpm run test:unit:js && pnpm run test:unit:php",
"test:e2e": "pnpm run docker start && playwright test",
"test": "pnpm run test:unit && pnpm run test:e2e",
"docker": "wp-env",
"start:js": "pnpm run delete:build && wp-scripts start",
"start:php": "composer dump-autoload",
"start": "pnpm run start:php && pnpm run start:js",
"build:js": "pnpm run delete:build && wp-scripts build",
"build:php": "composer install --no-dev && composer dump-autoload -o --no-dev",
"build": "pnpm run delete:plugin && pnpm run build:js && pnpm run build:php && pnpm run tools:makepot",
"zip": "pnpm run build && node .tools/bin/plugin.js && node .tools/bin/wc.js && node .tools/bin/zip.js",
"format:php": "pnpm run tools:phpcbf",
"format:js": "wp-scripts format ./packages",
"format": "pnpm run format:php && pnpm run format:js",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"report:php": "pnpm run tools:phpcs",
"report": "pnpm run report:php"
},
"author": "QuadLayers",
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.46.1",
"@wordpress/env": "^5.16.0",
"@wordpress/eslint-plugin": "^14.12.0",
"@wordpress/prettier-config": "^2.25.13",
"@wordpress/scripts": "^23.7.2",
"@wordpress/stylelint-config": "^21.41.0",
"classnames": "^2.5.1",
"css-loader": "^6.11.0",
"depcheck": "^1.4.7",
"eslint": "^8.57.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.6.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^13.3.0",
"mini-css-extract-plugin": "^2.9.1",
"node-sass-glob-importer": "^5.3.3",
"only-allow": "^1.2.1",
"prettier": "2.8.1",
"sass-loader": "^13.3.3",
"stylelint": "^14.16.1",
"stylelint-config-standard": "^29.0.0",
"webpack": "^5.94.0",
"webpack-remove-empty-scripts": "^0.8.4",
"wp-scaffolding": "^1.2.7"
},
"dependencies": {
"@wordpress/icons": "^9.49.0"
},
"scaffolding": {
"zip": [
"jetpack_vendor",
"lib",
"vendor",
"vendor_packages",
"build",
"languages",
"compatibility",
"templates",
"assets",
"wpml-config.xml",
"main.php",
"search-exclude.php",
"wp-search-exclude.php",
"uninstall.php",
"readme.txt",
"changelog.txt"
],
"git": [
".design",
".todo",
".design",
".github",
".docs"
]
},
"lint-staged": {
"*.{js,json,ts,tsx,yml,yaml}": [
"wp-scripts format"
],
"*.{js,ts,tsx}": [
"wp-scripts lint-js"
],
"*.scss": [
"wp-scripts lint-style"
],
"package-lock.json": [
"npm run lint:lockfile",
"node ./bin/check-latest-npm.js"
],
"packages/*/package.json": [
"wp-scripts lint-pkg-json"
],
"**/tsconfig.json": [
"npm run lint:tsconfig"
]
}
}