-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
80 lines (80 loc) · 3.12 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "create-wp-react-plugin",
"version": "4.0.11",
"type": "module",
"scripts": {
"bootstrap": "yarn && composer install --no-interaction",
"dev": "vite",
"prebuild": "echo 'todo: remove console'",
"build": "vite build && node release/mv-manifest.cjs",
"preview": "vite preview",
"format": "prettier-eslint --write \"js/src/**/*.tsx\"",
"lint": "npx eslint \"js/src/**/*.{ts,tsx}\" --ext .ts,.tsx --rule \"no-unused-vars: off\" && phpcbf",
"lint:fix": "npx eslint \"js/src/**/*.{ts,tsx}\" --fix --rule \"no-unused-vars: off\" && phpcbf",
"release": "env-cmd -f ./.env release-it patch --ci --verbose --config ./release/.release-it.cjs",
"release:build-only": "env-cmd -f ./.env release-it patch --ci --verbose --config ./release/.release-it.cjs --build-only",
"release:patch": "env-cmd -f ./.env release-it patch --ci --verbose --config ./release/.release-it.cjs",
"release:minor": "env-cmd -f ./.env release-it minor --ci --verbose --config ./release/.release-it.cjs",
"release:major": "env-cmd -f ./.env release-it major --ci --verbose --config ./release/.release-it.cjs",
"zip": "env-cmd -f ./.env node ./release/zip.cjs",
"create:release": "env-cmd -f ./.env node ./release/create-release.cjs",
"sync:version": "wp-update-project-version -s package.json -p plugin.php",
"replace-string": "node ./replace-string.cjs",
"i18n": "wp i18n make-pot . languages/wp_react_plugin.pot",
"i18n:commit": "yarn i18n && git add . && git commit --amend --no-edit"
},
"dependencies": {
"@tanstack/react-query": "4.36.1",
"axios": "^1.6.8",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@ant-design/cssinjs": "^1.19.1",
"@kucrut/vite-for-wp": "^0.8.0",
"@rollup/plugin-alias": "^5.1.0",
"@soderlind/wp-project-version-sync": "^2.0.2",
"@tanstack/react-query-devtools": "^5.28.10",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.12.2",
"@types/react": "^18.2.73",
"@types/react-dom": "^18.2.23",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vitejs/plugin-react": "^4.2.1",
"@wordpress/eslint-plugin": "^17.11.0",
"adm-zip": "^0.5.12",
"archiver": "^7.0.1",
"autoprefixer": "^10.4.19",
"change-case-all": "^2.1.0",
"env-cmd": "^10.1.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.34.1",
"postcss": "^8.4.38",
"postcss-import": "^16.1.0",
"postcss-nesting": "^12.1.0",
"prettier": "^3.2.5",
"prettier-eslint": "^16.3.0",
"prettier-eslint-cli": "^8.0.1",
"prettier-plugin-multiline-arrays": "^3.0.4",
"release-it": "^17.1.1",
"replace-in-file": "^7.1.0",
"sass": "^1.72.0",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.3",
"typescript-eslint": "^7.4.0",
"vite": "^5.2.7",
"vite-plugin-live-reload": "^3.0.3",
"vite-tsconfig-paths": "^4.3.2",
"yargs": "^17.7.2",
"yarn-upgrade-all": "^0.7.2"
},
"bin": "./bin/create.cjs"
}