-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 4.94 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@daniel3711997/quick",
"description": "Integrates React JS with WordPress",
"private": true,
"type": "module",
"version": "1.2.0",
"engines": {
"npm": ">=9.0.0",
"node": ">=18.0.0"
},
"author": {
"name": "Daniel3711997",
"url": "https://github.com/Daniel3711997",
"email": "onofreicostineldanut12@gmail.com"
},
"scripts": {
"release": "release-it",
"prepare": "husky install",
"dev": "check-engine && concurrently -r -k \"typed-scss-modules \\\"**/*.module.scss\\\" -L silent -n none -e default -w\" \"vite\"",
"build": "tsc && vite build",
"postbuild": "composer dump-autoload --optimize && node scripts/_postbuild.cjs",
"prebuild": "check-engine && npm run eslint && npm run stylelint && npm run cspell && npm run php-check && npm run php-test && npm run js-test",
"js-test": "vitest run __tests__/js",
"php-test": "php ./vendor/bin/phpunit __tests__/php --testdox",
"php-check": "./vendor/bin/phpcs index.php app __tests__/php --standard=.php-style.xml --cache",
"eslint": "eslint --cache --cache-strategy metadata --cache-location \"cache/eslint/\" \"{src, __tests__}/**/*.{js,jsx,ts,tsx}\" --max-warnings 0 --report-unused-disable-directives",
"stylelint": "stylelint --cache --cache-strategy metadata --cache-location \"cache/stylelint/\" \"src/**/*.{css,scss}\" --max-warnings 0 --report-needless-disables",
"cspell": "cspell --no-progress index.php \"{app,src,__tests__}/**/*.{php,js,jsx,ts,tsx,css,scss}\" --cache --cache-strategy metadata --cache-location \"cache/tools/cspell\""
},
"lint-staged": {
"**/*.php": [
"./vendor/bin/phpcs --standard=.php-style.xml --cache"
],
"**/*.{js,jsx,ts,tsx}": [
"eslint --cache --cache-strategy metadata --cache-location \"cache/eslint/\" --max-warnings 0 --report-unused-disable-directives"
],
"**/*.{css,scss}": [
"stylelint --cache --cache-strategy metadata --cache-location \"cache/stylelint/\" --max-warnings 0 --report-needless-disables"
],
"**/*.{js,jsx,ts,tsx,json,css,scss}": [
"prettier --write --cache --cache-strategy metadata --cache-location \"cache/tools/prettier\""
],
"**/*.{php,js,jsx,ts,tsx,css,scss}": [
"cspell --no-progress --cache --cache-strategy metadata --cache-location \"cache/tools/cspell\""
]
},
"overrides": {
"css-modules-loader-core": {
"postcss": "^7.0.36"
}
},
"dependencies": {
"@loadable/component": "^5.15.3",
"@lukemorales/query-key-factory": "^1.3.2",
"@suspensive/react": "^1.14.7",
"@suspensive/react-query": "^1.14.7",
"@tanstack/react-query": "^4.35.3",
"@tanstack/react-query-devtools": "^4.35.3",
"axios": "^1.5.0",
"clsx": "^2.0.0",
"immer": "^10.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.11",
"react-hook-form": "^7.46.2",
"zod": "^3.22.2"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@fullhuman/postcss-purgecss": "^5.0.0",
"@release-it/conventional-changelog": "^7.0.2",
"@tanstack/eslint-plugin-query": "^4.34.1",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.6.5",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@vitejs/plugin-react": "^4.1.0",
"chalk": "^4.1.2",
"check-engine": "^1.12.0",
"concurrently": "^8.2.1",
"cspell": "^7.3.6",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"eslint-plugin-sort-exports": "^0.8.0",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"purgecss-with-wordpress": "^6.0.0-alpha.0",
"release-it": "^16.2.0",
"sass": "^1.68.0",
"stylelint": "^15.10.3",
"stylelint-config-clean-order": "^5.2.0",
"stylelint-config-sass-guidelines": "^10.0.0",
"typed-scss-modules": "^7.1.4",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^0.34.5"
},
"quickApplicationNodeEnvironment": "production",
"quickApplicationPublicPath": "/wp-content/plugins/quick/build"
}