-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.84 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 1.84 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
{
"name": "icon",
"version": "0.1.0",
"description": "An icon toolset for WordPress.",
"main": "index.js",
"scripts": {
"start": "wp-env start",
"stop": "wp-env stop",
"env": "wp-env",
"cli": "wp-env run cli wp",
"cli:test": "wp-env run tests-cli wp",
"test": "RESULT=${PWD##*/} && wp-env run tests-cli ./wp-content/plugins/$RESULT/vendor/bin/phpunit -c ./wp-content/plugins/$RESULT/phpunit.xml.dist",
"build:js": "grab-deps js src/js assets/js",
"build:css": "sass ./src/scss/:./assets/css/ --style=compressed --no-source-map && postcss ./assets/css/*.css --use autoprefixer --replace --no-map",
"copy": "bash bin/copy.sh",
"build": "npm run build:css && npm run build:js && npm run copy",
"lint:js": "wp-scripts lint-js src/js",
"lint:css": "wp-scripts lint-style \"src/scss/**/*.scss\"",
"lint": "npm run lint:js && npm run lint:css",
"watch": "npm-watch",
"jed": "po2json languages/$LOCALE.po languages/kicon-$LOCALE-kicon.json -f jed"
},
"watch": {
"build:css": {
"patterns": [ "src/scss" ],
"extensions": "scss"
},
"build:js": {
"patterns": [ "src/js" ],
"extensions": "js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/kuno1/icon.git"
},
"keywords": [
"wordpress"
],
"author": "Kunoichi INC",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/kuno1/icon/issues"
},
"homepage": "https://github.com/kuno1/icon#readme",
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
"@kunoichi/grab-deps": "^3.1.4",
"@wordpress/env": "^9.0.0",
"@wordpress/scripts": "^27.9.0",
"autoprefixer": "^10.4.16",
"npm-watch": "^0.13.0",
"po2json": "^1.0.0-alpha",
"postcss": "^8.4.33",
"postcss-cli": "^11.0.1",
"sass": "^1.83.0"
},
"dependencies": {}
}