-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.84 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 2.84 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
{
"name": "modycloud",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "pnpm run build:app && pnpm run build:blocks",
"build:app": "wp-scripts build --webpack-src-dir=resources --output-path=web/content/themes/cloud/dist --config config/webpack.config.js",
"build:blocks": "wp-scripts build --webpack-src-dir=resources/blocks --webpack-copy-php --output-path=web/content/themes/cloud/blocks --config config/blocks.webpack.config.js",
"dev": "concurrently \"pnpm run dev:app\" \"pnpm run dev:blocks\"",
"dev:app": "wp-scripts start --webpack-src-dir=resources --output-path=web/content/themes/cloud/dist --config config/webpack.config.js",
"dev:blocks": "wp-scripts start --webpack-src-dir=resources/blocks --webpack-copy-php --output-path=web/content/themes/cloud/blocks --config config/blocks.webpack.config.js",
"translate": "pnpm run translate:twig;pnpm run translate:react;pnpm run translate:js",
"translate:twig": "wp i18n make-pot . $(pwd)/web/content/languages/twig.pot --include=\"$(pwd)resources/views/**/*.twig\"",
"translate:react": "wp i18n make-pot . $(pwd)/web/content/languages/react.pot --include=\"resources/scripts/**/*.jsx\"",
"translate:js": "wp i18n make-pot . $(pwd)/web/content/languages/app.pot --include=\"resources/**/*.js\"",
"lint": "pnpm lint:css && pnpm lint:js && pnpm lint:jsx && composer run lint",
"lint:css": "wp-scripts lint-style 'resources/**/*.scss'",
"lint:js": "wp-scripts lint-js 'resources/**/*.js'",
"lint:jsx": "wp-scripts lint-js 'resources/**/*.jsx'"
},
"repository": {
"type": "git",
"url": "https://github.com/ModySolutions/cloud-app"
},
"author": "Mody Solutions",
"license": "ISC",
"bugs": {
"url": "https://github.com/orgs/ModySolutions/projects/2"
},
"homepage": "https://github.com/ModySolutions/cloud-app",
"dependencies": {
"@wordpress/block-editor": "^14.15.0",
"@wordpress/blocks": "^14.9.0",
"@wordpress/icons": "^10.20.0",
"@wordpress/scripts": "^30.13.0",
"@babel/core": "^7.26.10",
"@babel/preset-react": "^7.26.3",
"@wordpress/components": "^29.6.0",
"@wordpress/dom-ready": "^4.20.0",
"@wordpress/element": "^6.20.0",
"@wordpress/i18n": "^5.20.0",
"babel-loader": "^10.0.0",
"gettext-parser": "^8.0.0",
"glob": "^11.0.1",
"react-router-dom": "^7.4.0",
"react-toastify": "^11.0.5",
"swiper": "^11.2.6",
"uuid": "^11.1.0",
"validator": "^13.15.0"
},
"devDependencies": {
"@wordpress/stylelint-config": "^23.12.0",
"concurrently": "^9.1.2",
"css-loader": "^7.1.2",
"sass-loader": "^16.0.5",
"scss-loader": "^0.0.1",
"style-loader": "^4.0.0",
"stylelint": "^16.17.0",
"stylelint-config-recommended": "^15.0.0",
"webpack": "^5.98.0",
"webpack-cli": "^6.0.1",
"webpack-manifest-plugin": "^5.0.1"
}
}