-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 4.15 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 4.15 KB
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
116
117
118
119
120
121
122
123
124
{
"name": "bit-integrations",
"private": true,
"version": "2.7.8",
"dependencies": {
"@babel/plugin-transform-class-properties": "^7.28.6",
"@babel/plugin-transform-private-methods": "^7.28.6",
"@babel/traverse": "^7.29.0",
"@bumaga/tabs": "^0.2.0",
"@microlink/react-json-view": "^1.27.1",
"@monaco-editor/react": "^4.7.0",
"@tippyjs/react": "^4.2.6",
"@yaireo/tagify": "^4.36.0",
"classnames": "^2.5.1",
"create-file-list": "^1.1.0",
"lodash": "^4.17.23",
"mutative": "^1.3.0",
"po2json": "^0.4.5",
"prettier": "^3.8.1",
"react": "^18.3.1",
"react-accessible-treeview": "^2.11.2",
"react-content-loader": "^7.1.2",
"react-custom-scrollbars": "^4.2.1",
"react-dom": "^18.3.1",
"react-gettext-parser": "^1.16.0",
"react-hot-toast": "^2.6.0",
"react-icons": "^5.5.0",
"react-multiple-select-dropdown-lite": "2.0.6",
"react-router": "^7.13.0",
"react-sortablejs": "^6.1.4",
"react-table": "^7.8.0",
"react-table-sticky": "^1.1.3",
"react-tabs": "^6.1.0",
"react-transition-group": "^4.4.5",
"react-uuid": "^2.0.0",
"recoil": "^0.7.7",
"recoil-nexus": "^0.5.1",
"regenerator-runtime": "^0.14.1",
"sortablejs": "^1.15.7",
"swr": "^2.4.0",
"tippy.js": "^6.3.7"
},
"scripts": {
"build": "vite build",
"dev": "vite --force",
"pda": "pnpm build && pnpm i18n:mkdir && pnpm i18n",
"lint": "eslint frontend/src --max-warnings=0",
"clear-lint-cache": "eslint . --cache --cache-file eslint-cache/eslintcache",
"i18n": "pnpm i18n:gettext-parser && pnpm i18n:php && pnpm i18n:pot",
"i18n:gettext-parser": "npx react-gettext-parser --output ./locale.pot --config ./gettext-parser.config.js './frontend/src/**/{*.js,*.jsx}'",
"i18n:json": "npx po2json locale.pot languages/btcbi-admin-script.json -f jed1.x",
"i18n:mkdir": "node ./bin/mkdir-language.js",
"i18n:php": "node ./bin/pot-to-php.js locale.pot languages/generatedString.php bit-integrations",
"i18n:pot": "wp i18n make-pot . --include=*.php --skip-js --slug=bit-integrations --headers='{\"Last-Translator\":\"developer@bitcode.pro\",\"Language-Team\":\"support@bitcode.pro\",\"PO-Revision-Date\":\"\"}'",
"clean": "rm -rf node_modules yarn.lock package-lock.json pnpm-lock.yaml",
"clean-install-run": "pnpm clean && pnpm i && pnpm dev",
"prod-zip": "node ./bin/prod-zip.js",
"pretty": "prettier ./frontend/src --check",
"pretty:fix": "prettier ./frontend/src --check --write"
},
"husky": {
"hooks": {
"pre-commit": "pnpm run lint"
}
},
"browserslist": {
"browserslist": [
"last 2 Chrome versions"
],
"production": [
">0.2%",
"ie 11",
"ie 10",
"not dead",
"not op_mini all"
],
"development": [
"ie 11",
"ie 10",
"ie > 9",
"ie 9-11",
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/eslint-parser": "^7.28.6",
"@babel/plugin-transform-react-jsx": "^7.28.6",
"@babel/plugin-transform-regenerator": "^7.29.0",
"@babel/plugin-transform-runtime": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-react": "^7.28.5",
"@babel/runtime": "^7.28.6",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@vitejs/plugin-react": "^5.1.4",
"@wordpress/babel-plugin-makepot": "^6.39.0",
"@wordpress/i18n": "^6.12.0",
"babel-loader": "^10.0.0",
"detect-port": "^2.1.0",
"eslint": "^10.0.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"gettext-parser": "^9.0.1",
"husky": "^9.1.7",
"react-refresh": "^0.18.0",
"sass": "^1.97.3",
"vite": "^7.3.1"
},
"main": ".eslintrc.js",
"keywords": [],
"author": "",
"license": "ISC",
"description": ""
}