-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
104 lines (104 loc) · 4.14 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
{
"name": "ghostkit",
"title": "Ghost Kit",
"version": "3.4.0",
"description": "Page Builder Blocks and Extensions for Gutenberg",
"license": "GPL-2.0",
"author": "nK <https://nkdev.info>",
"scripts": {
"dev": "wp-scripts start -- inline --hot --progress",
"build": "wp-scripts build --progress",
"build:prod": "npm run make-pot && npm run make-json && npm run build && npm run zip",
"bump:patch": "gulp bump --type patch",
"bump:minor": "gulp bump --type minor",
"bump:major": "gulp bump --type major",
"bump:prerelease": "gulp bump --type prerelease",
"zip": "gulp zip",
"wp-env": "wp-env",
"env:start": "wp-env start ",
"env:stop": "wp-env stop",
"test": "npm-run-all lint test:unit",
"test:e2e": "playwright test --config tests/e2e/playwright.config.js",
"test:e2e:ui": "playwright test --config tests/e2e/playwright.config.js --ui",
"pretest:unit:php": "wp-env start",
"test:unit:php": "wp-env run --env-cwd='wp-content/plugins/ghostkit' tests-wordpress vendor/bin/phpunit -c phpunit.xml.dist --verbose",
"lint": "concurrently \"npm run lint:js\" \"npm run lint:css\"",
"lint:css": "stylelint --custom-syntax postcss-scss \"assets/**/*.scss\" \"gutenberg/**/*.scss\" \"settings/**/*.scss\"",
"lint:js": "eslint --ext .js assets/ gutenberg/ settings/",
"prelint:php": "wp-env run --env-cwd='wp-content/plugins/ghostkit' cli composer install --no-interaction",
"lint:php": "wp-env run --env-cwd='wp-content/plugins/ghostkit' cli composer run-script lint",
"format:css": "stylelint --fix --custom-syntax postcss-scss \"assets/**/*.scss\" \"gutenberg/**/*.scss\" \"settings/**/*.scss\"",
"format:js": "eslint --ext .js --fix assets/ gutenberg/ settings/",
"format:php": "wp-env run --env-cwd='wp-content/plugins/ghostkit' cli composer run-script format",
"make-pot": "composer wp -- i18n make-pot ./ ./languages/ghostkit.pot --skip-audit --exclude=vendor,vendors,node_modules,build,dist,dist-zip,composer-libraries --headers='{\"Last-Translator\":\"nK\",\"Report-Msgid-Bugs-To\":\"https://github.com/nk-o/ghostkit/issues\"}'",
"make-json": "po2json ./languages/ghostkit.pot ./languages/ghostkit.json --format=jed1.x --pretty --domain=ghostkit",
"prepare": "husky install",
"postinstall": "composer install"
},
"devDependencies": {
"@babel/node": "^7.23.9",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@babel/preset-env": "^7.23.9",
"@babel/register": "^7.23.7",
"@playwright/test": "^1.45.3",
"@wordpress/e2e-test-utils-playwright": "^1.4.0",
"@wordpress/env": "^10.4.0",
"@wordpress/eslint-plugin": "^20.1.0",
"@wordpress/prettier-config": "^4.4.0",
"@wordpress/scripts": "^28.4.0",
"@wordpress/stylelint-config": "^22.4.0",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"del": "^6.1.1",
"eslint-plugin-playwright": "^0.15.3",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^10.0.0",
"filemanager-webpack-plugin": "^8.0.0",
"filenamify": "^4.2.0",
"glob": "^10.3.10",
"gulp": "^4.0.2",
"gulp-change-file-content": "^1.0.1",
"gulp-zip": "^5.1.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"md5": "^2.3.0",
"micromatch": "^4.0.5",
"npm-run-all": "^4.1.5",
"parse-version-string": "^1.0.1",
"path": "^0.12.7",
"po2json": "^0.4.5",
"rtlcss-webpack-plugin": "^4.0.7",
"webpack-remove-empty-scripts": "^1.0.4",
"yargs": "^17.7.2"
},
"dependencies": {
"@giphy/js-fetch-api": "^5.3.0",
"@lottiefiles/lottie-player": "^2.0.3",
"@use-gesture/react": "^10.3.0",
"ace-builds": "^1.32.5",
"bezier-easing-editor": "^0.8.0",
"classnames": "^2.5.1",
"deep-equal": "^2.2.3",
"gist-simple": "^2.0.1",
"gutenberg-react-select-styles": "^0.0.3",
"ivent": "^0.2.0",
"jarallax": "^2.2.0",
"lorem-ipsum": "^2.0.8",
"luxon": "^3.4.4",
"markdown-it": "^14.0.0",
"motion": "^11.15.0",
"qs": "^6.11.2",
"raf-schd": "^4.0.3",
"react-ace": "^10.1.0",
"react-select": "^5.8.0",
"react-virtualized": "^9.22.5",
"scriptjs": "^2.5.9",
"shorthash": "0.0.2",
"slugify": "^1.6.6",
"striptags": "^3.2.0",
"swiper": "^8.4.6",
"throttle-debounce": "^5.0.0"
}
}