-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 1.65 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
{
"name": "vite-block",
"version": "1.0.0",
"contributors": [
"Erik Golinelli <[email protected]> (https://codekraft.it/)"
],
"license": "GPL-2.0-or-later",
"files": [
"build/*",
"vite-block.php",
"block.json",
"LICENSE.md",
"readme.txt"
],
"scripts": {
"packages-update": "wp-scripts packages-update",
"start": "tsc && vite build --watch",
"build": "tsc && vite build",
"dev": "vite --host localhost --port 8880",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"wp-env:start": "wp-env start",
"wp-env:stop": "wp-env stop",
"wp-env:destroy": "wp-env destroy",
"plugin-zip": "npm pack plugin-zip"
},
"devDependencies": {
"@types/node": "^20.10.6",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@types/wordpress__block-editor": "^11.5.9",
"@types/wordpress__blocks": "^12.5.13",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"@wordpress/block-editor": "^12.16.0",
"@wordpress/blocks": "^12.25.0",
"fast-glob": "^3.3.2",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"sass": "^1.69.7",
"terser": "^5.26.0",
"typescript": "^5.2.2",
"vite": "^5.0.11",
"vitest": "^1.1.3"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.9.0"
},
"eslintConfig": {
"extends": [
"plugin:@wordpress/eslint-plugin/esnext"
]
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"prettier": "@wordpress/prettier-config"
}