generated from alleyinteractive/create-wordpress-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 1.83 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
{
"name": "@alleyinteractive/wp-page-cache-control",
"version": "1.0.1",
"license": "GPL-2.0-or-later",
"main": "./types/index.d.ts",
"types": "./types/index.d.ts",
"engines": {
"node": ">=18",
"npm": ">=8"
},
"private": false,
"browserslist": [
"defaults",
"safari >= 13",
"iOS >= 12",
">0.3%"
],
"scripts": {
"build": "wp-scripts build",
"precheck-types": "check-node-version --package",
"check-types": "tsc",
"lint:fix": "eslint --ext .jsx --ext .js --ext .ts --ext .tsx . --fix",
"lint": "npm run check-types && eslint --ext .jsx --ext .js --ext .ts --ext .tsx .",
"prebuild": "check-node-version --package",
"predev": "check-node-version --package",
"prelint:fix": "check-node-version --package",
"prelint": "check-node-version --package",
"prestylelint:fix": "check-node-version --package",
"prestylelint": "check-node-version --package",
"pretest:watch": "check-node-version --package",
"pretest": "check-node-version --package",
"start": "wp-scripts start",
"start:hot": "wp-scripts start --hot",
"stylelint:fix": "stylelint --fix \"**/*.scss\"",
"stylelint": "stylelint \"**/*.scss\" --allow-empty-input",
"test:watch": "jest --watch",
"test": "jest --passWithNoTests"
},
"devDependencies": {
"@alleyinteractive/eslint-config": "^0.1.6",
"@alleyinteractive/stylelint-config": "^0.0.2",
"@babel/preset-env": "^7.26.0",
"@types/jest": "^29.5.14",
"@wordpress/babel-preset-default": "^7.14.0",
"@wordpress/scripts": "^26.1.0",
"babel-jest": "^29.6.4",
"check-node-version": "^4.2.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"jest": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3",
"webpack-cli": "^5.1.4"
}
}