-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.25 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.25 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
{
"name": "@10up/ad-refresh-control",
"version": "1.1.5",
"description": "Ad Refresh Control",
"license": "GPL-2.0-or-later",
"homepage": "https://github.com/10up/ad-refresh-control",
"bugs": {
"url": "https://github.com/10up/ad-refresh-control/issues"
},
"author": {
"name": "10up",
"email": "[email protected]",
"url": "https://10up.com",
"role": "developer"
},
"keywords": [
"wordpress",
"wp",
"google",
"ad-manager"
],
"scripts": {
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/Ad-Refresh-Control vendor/bin/phpunit -c phpunit.xml.dist",
"start": "composer install && npm install && npm run build",
"build": "wp-scripts build",
"watch": "wp-scripts start",
"build-release": "npm install -f && composer install --no-dev -o && npm run build",
"lint-release": "npm install -f && composer install && npm run lint",
"lint-css": "wp-scripts lint-style assets/css",
"lint-js": "wp-scripts lint-js assets/js",
"lint-js:fix": "wp-scripts lint-js assets/js --fix",
"lint-php": "composer run lint",
"format-js": "wp-scripts format assets/js",
"lint": "npm run lint-css && npm run lint-js && npm run lint-php",
"format": "npm run format-js",
"env": "wp-env",
"cypress:open": "cypress open --config-file tests/cypress/config.js --e2e --browser chrome",
"cypress:run": "cypress run --config-file tests/cypress/config.js",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"postenv:start": "./tests/bin/initialize.sh"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"assets/*.css": [
"npm run lint-css"
],
"assets/*.js": [
"npm run lint-js"
]
},
"repository": {
"type": "git",
"url": "https://github.com/10up/ad-refresh-control"
},
"devDependencies": {
"@10up/cypress-wp-utils": "^0.6.0",
"@wordpress/env": "^10.37.0",
"@wordpress/scripts": "^31.2.0",
"copy-webpack-plugin": "^12.0.2",
"cypress": "^15.9.0",
"husky": "^1.3.1",
"lint-staged": "^15.2.7",
"mini-css-extract-plugin": "^2.9.0"
},
"engineStrict": true,
"engines": {
"node": ">=20",
"npm": ">=10"
},
"dependencies": {
"normalize.css": "^8.0.0"
}
}