-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.55 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
{
"name": "taro-ad-fields",
"version": "1.0.0",
"description": "Gulp task for Taro Ad Fields",
"main": "index.js",
"directories": {
"test": "tests"
},
"scripts": {
"test": "RESULT=${PWD##*/} && wp-env run tests-cli ./wp-content/plugins/$RESULT/vendor/bin/phpunit -c ./wp-content/plugins/$RESULT/phpunit.xml.dist",
"start": "wp-env start",
"update": "wp-env start --update",
"stop": "wp-env stop",
"env": "wp-env",
"package": "npm run build:css",
"build:css": "sass ./src/scss/:./assets/css/ && postcss ./assets/css/**/*.css --replace",
"lint:css": "wp-scripts lint-style ./src/**/*.scss",
"lint": "npm run lint:css",
"format:css": "stylelint \"src/scss/**/*.scss\" --fix",
"watch": "npm-watch"
},
"repository": {
"type": "git",
"url": ""
},
"keywords": [],
"author": "",
"license": "GPL-3.0",
"bugs": {
"url": ""
},
"homepage": "",
"devDependencies": {
"@wordpress/env": "^10.2.0",
"@wordpress/scripts": "^28.2.0",
"@wordpress/stylelint-config": "^22.2.0",
"cssnano": "^7.0.1",
"npm-watch": "^0.13.0",
"postcss-cli": "^11.0.0"
},
"volta": {
"node": "18.20.3"
},
"watch": {
"build:css": {
"extensions": "scss",
"patterns": [
"src/scss"
]
},
"lint:css": {
"extensions": "scss",
"patterns": [
"src/scss"
]
}
}
}