-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.41 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
{
"name": "blocks-for-discogs",
"version": "1.0.1",
"description": "A gutenberg block to display a collection from Discogs.com",
"author": "Daniel Rodriguez",
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"scripts": {
"build": "wp-scripts build",
"plugin-zip": "wp-scripts plugin-zip",
"format": "wp-scripts format && stylelint \"**/*.scss\" --fix",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"start": "wp-scripts start",
"packages-update": "wp-scripts packages-update",
"prepare": "husky install",
"postbuild": "rimraf build/**/*.map"
},
"prettier": "@wordpress/prettier-config",
"stylelint": {
"extends": "@wordpress/stylelint-config/scss"
},
"lint-staged": {
"*.js": [
"wp-scripts lint-js",
"wp-scripts format"
],
"*.scss": "npx stylelint --fix"
},
"dependencies": {
"@wordpress/block-editor": "^8.0.11",
"@wordpress/blocks": "^11.1.4",
"@wordpress/i18n": "^4.2.4"
},
"devDependencies": {
"@wordpress/eslint-plugin": "^9.3.0",
"@wordpress/prettier-config": "^1.1.1",
"@wordpress/scripts": "^23.6.0",
"@wordpress/stylelint-config": "^19.1.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.3",
"stylelint-config-wordpress": "^17.0.0"
},
"files": [
"assets",
"assets/js/drbfd-blocks-for-discogs.js",
"uninstall.php",
"build",
"blocks-for-discogs.php",
"block.json",
"readme.txt"
]
}