-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.29 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
{
"name": "embed-block-figma",
"version": "0.3.1",
"description": "Adds a Figma embed block to the WordPress Block Editor.",
"homepage": "https://github.com/10up/embed-block-figma",
"license": "GPL-2.0-or-later",
"author": {
"name": "10up",
"email": "[email protected]",
"url": "https://10up.com"},
"scripts": {
"start": "10up-toolkit start",
"watch": "10up-toolkit watch --port=3000 --hot",
"build": "10up-toolkit build",
"format-js": "10up-toolkit format-js",
"lint-js": "10up-toolkit lint-js",
"lint-style": "10up-toolkit lint-style",
"test": "10up-toolkit test-unit-jest",
"clean-dist": "rm -rf ./dist"
},
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"10up-toolkit": "6.0.0",
"classnames": "^2.3.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "3.2.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"includes/**/*.js": [
"npm run lint:js"
],
"/includes/**/*.css": [
"lint:css"
],
"*.php": [
"./vendor/bin/phpcs . --extensions=php --standard=phpcs.xml --warning-severity=8 -s"
]
},
"10up-toolkit": {
"useBlockAssets": false,
"entry": {
"figma-embed": "./src/assets/js/figma-embed.js"
}
}
}