-
Notifications
You must be signed in to change notification settings - Fork 143
/
package.json
61 lines (61 loc) · 2.33 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
{
"name": "custom-post-type-ui",
"version": "1.17.1",
"description": "Custom Post Type UI",
"main": "index.js",
"directories": {
"tests": "tests"
},
"scripts": {
"start": "wp-scripts start",
"dev": "wp-scripts start",
"watch": "wp-scripts start --config webpack.config.js",
"buildjs": "wp-scripts build --config webpack.config.js",
"build": "run-s buildjs uglify styles",
"build:release": "run-s build create:release",
"lint:css": "wp-scripts lint-style 'src/scss/*.scss'",
"lint:js": "wp-scripts lint-js src/js/**",
"lint:php": "./vendor/bin/phpcs --standard=./.phpcs.xml.dist --extensions=php ./ --ignore='./build/*,./node_modules/*,./vendor/*'",
"packages-update": "wp-scripts packages-update",
"styles": "run-s styles:compile styles:compress",
"styles:compile": "node-sass src/scss/cptui-styles.scss -o build/ --source-map true",
"styles:compress": "node-sass src/scss/cptui-styles.scss build/cptui-styles.min.css -o build/ --output-style compressed",
"uglify": "uglifyjs build/cptui.js -m -c --source-map -o build/cptui.min.js && uglifyjs build/dashiconsPicker.js -m -c --source-map -o build/dashiconsPicker.min.js",
"create:release": "mkdirp release-build/custom-post-type-ui && cp -R build classes external images inc readme.txt LICENSE custom-post-type-ui.php wpml-config.xml release-build/custom-post-type-ui"
},
"devDependencies": {
"@wordpress/eslint-plugin": "^17.1.0",
"@wordpress/scripts": "^26.0.0",
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^6.7.1",
"css-mqpacker": "^7.0.0",
"cssnano": "^6",
"ignore-emit-webpack-plugin": "^2.0.6",
"mini-css-extract-plugin": "^2.9.0",
"node-sass": "^9",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.12",
"postcss-loader": "^7",
"postcss-safe-parser": "^7",
"sass-loader": "^13",
"style-loader": "^3.3.1",
"uglify-js": "^3.15.4",
"webpack": "^5.70.0",
"wp-pot-cli": "^1.5.0"
},
"repository": {
"type": "git",
"url": "https://github.com/WebDevStudios/custom-post-type-ui"
},
"keywords": [
"plugin",
"post-types",
"taxonomies"
],
"author": "WebDevStudios",
"license": "GPL-2.0+",
"bugs": {
"url": "https://github.com/WebDevStudios/custom-post-type-ui/issues"
},
"homepage": "https://github.com/WebDevStudios/custom-post-type-ui"
}