-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
97 lines (97 loc) · 3.98 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
{
"name": "visual-portfolio",
"title": "Visual Portfolio",
"version": "3.3.10",
"description": "Portfolio post type with visual editor",
"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/visual-portfolio' 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\" \"templates/**/*.scss\"",
"lint:js": "eslint --ext .js assets/ gutenberg/",
"prelint:php": "wp-env run --env-cwd='wp-content/plugins/visual-portfolio' cli composer install --no-interaction",
"lint:php": "wp-env run --env-cwd='wp-content/plugins/visual-portfolio' cli composer run-script lint",
"format:css": "stylelint --fix --custom-syntax postcss-scss \"assets/**/*.scss\" \"gutenberg/**/*.scss\" \"templates/**/*.scss\"",
"format:js": "eslint --ext .js --fix assets/ gutenberg/",
"format:php": "wp-env run --env-cwd='wp-content/plugins/visual-portfolio' cli composer run-script format",
"make-pot": "composer wp -- i18n make-pot ./ ./languages/visual-portfolio.pot --skip-audit --exclude=vendor,vendors,node_modules,build,dist-zip --headers='{\"Last-Translator\":\"Visual Portfolio\",\"Report-Msgid-Bugs-To\":\"https://github.com/nk-crew/visual-portfolio/issues\"}'",
"make-json": "po2json ./languages/visual-portfolio.pot ./languages/visual-portfolio.json --format=jed1.x --pretty --domain=visual-portfolio",
"prepare": "husky install",
"postinstall": "composer install"
},
"devDependencies": {
"@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.0",
"cross-env": "^7.0.3",
"del": "^6.1.1",
"eslint-plugin-playwright": "^0.15.2",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"file-loader": "^6.2.0",
"filemanager-webpack-plugin": "^8.0.0",
"filenamify": "^4.2.0",
"glob": "^10.2.7",
"gulp": "^5.0.0",
"gulp-change-file-content": "^1.0.1",
"gulp-zip": "^4.2.0",
"husky": "^8.0.3",
"json-file": "^0.1.0",
"lint-staged": "^13.2.2",
"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.3",
"yargs": "^17.7.2"
},
"dependencies": {
"@dnd-kit/core": "^6.0.5",
"@dnd-kit/sortable": "^7.0.1",
"@dnd-kit/utilities": "^3.2.0",
"@fancyapps/fancybox": "^3.5.7",
"@wordpress/base-styles": "^2.0.1",
"ace-builds": "^1.22.0",
"classnames": "^2.3.2",
"copy-webpack-plugin": "^11.0.0",
"flickr-justified-gallery": "^2.2.0",
"gutenberg-react-select-styles": "0.0.2",
"iframe-resizer": "^4.3.11",
"is-number": "^7.0.0",
"isotope-layout": "^3.0.6",
"lazysizes": "^5.3.2",
"photoswipe": "^4.1.3",
"raf-schd": "^4.0.3",
"react-ace": "^12.0.0",
"react-select": "^5.7.3",
"react-sortable-hoc": "^2.0.0",
"shorthash": "0.0.2",
"simplebar": "^5.3.6",
"swiper": "^8.4.7",
"throttle-debounce": "^5.0.0"
}
}