-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
81 lines (81 loc) · 3.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
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
{
"name": "wp-plugin-kit",
"version": "0.1.0",
"description": "A starter plugin for WordPress that provides a foundational structure to build upon.",
"author": "Rakib <therakib7@gmail.com>",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"Plugin",
"Starter",
"React",
"Redux",
"TailwindCSS"
],
"homepage": "https://github.com/therakib7/wp-plugin-kit",
"repository": {
"type": "git",
"url": "git+https://github.com/therakib7/wp-plugin-kit.git"
},
"bugs": {
"url": "https://github.com/therakib7/wp-plugin-kit/issues"
},
"main": "src/index.tsx",
"dependencies": {
"@tanstack/react-query": "^5.20.5",
"react-router-dom": "^6.22.0",
"react-toastify": "^10.0.4"
},
"devDependencies": {
"@automattic/i18n-loader-webpack-plugin": "^2.0.47",
"@playwright/test": "^1.41.2",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.12",
"@wordpress/api-fetch": "^6.51.0",
"@wordpress/data": "^9.24.0",
"@wordpress/element": "^5.31.0",
"@wordpress/i18n": "^4.54.0",
"@wordpress/scripts": "^27.5.0",
"autoprefixer": "^10.4.17",
"chalk": "^5.3.0",
"cssnano": "^6.0.3",
"eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"fs-extra": "^11.2.0",
"lodash": "^4.17.21",
"md5-es": "^1.8.2",
"postcss": "^8.4.35",
"replace-in-file": "^7.1.0",
"tailwindcss": "^3.4.1",
"ts-jest": "^29.1.2"
},
"scripts": {
"start": "wp-scripts start",
"start:hot": "wp-scripts start --hot",
"build": "wp-scripts build",
"wp-env": "wp-env",
"env:start": "wp-env start",
"env:clean": "wp-env clean",
"env:destroy": "wp-env destroy",
"env:start:coverage": "wp-env start -- --xdebug=profile,trace,debug",
"env:stop": "wp-env stop",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"test:unit": "wp-scripts test-unit-js --config jest-unit.config.js",
"test:e2e": "npx playwright test --config ./tests/e2e/playwright.config.ts --reporter=list",
"test:e2e:watch": "npx playwright test --config ./tests/e2e/playwright.config.ts --debug",
"test:e2e:ui": "npx playwright test --config ./tests/e2e/playwright.config.ts --ui",
"test:e2e:tracing": "npx playwright test --config ./tests/e2e/playwright.config.ts --trace on",
"check-licenses": "wp-scripts check-licenses --prod --gpl2",
"makepot": "wp i18n make-pot --domain='wp-plugin-kit' --exclude='node_modules,src,vendor,assets' . --headers='{\"Last-Translator\":\"therakib7@gmail.com\",\"Report-Msgid-Bugs-To\":\"https://github.com/therakib7/wp-plugin-kit/issues\"}' --file-comment=\"Copyright (c) $(date +'%Y') Rakibul Hasan. All Rights Reserved.\" languages/wp-plugin-kit.pot",
"zip": "node assets/js/zip",
"version": "node assets/js/version-replace",
"release": "npm run build && npm run makepot && npm run version && npm run zip"
}
}