-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
101 lines (101 loc) · 3.07 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
{
"name": "modul-r",
"version": "2.0.0",
"repository": "https://github.com/erikyo/modul-r",
"license": "GPL-3.0",
"author": "erik",
"homepage": "https://modul-r.codekraft.it/",
"files": [
"build/*",
"img/*",
"inc/*",
"parts/*",
"patterns/*",
"styles/*",
"templates/*",
"vendor/*",
"style.css",
"theme.json",
"screenshot.png",
"functions.php",
"LICENSE",
"readme.txt"
],
"scripts": {
"start": "wp-scripts start",
"build:scripts": "wp-scripts build",
"build:zip": "wp-scripts plugin-zip --outDir=releases --with-version",
"build:images": "squashify",
"build:makepot": "wp i18n make-pot . languages/modulr.pot --exclude=node_modules",
"build": "npm run build:scripts && npm run build:images && npm run build:zip",
"lint:css": "wp-scripts lint-style -- --fix ./src/styles",
"lint:js": "wp-scripts lint-js ./src/scripts",
"wp-env:start": "wp-env start",
"wp-env:stop": "wp-env stop",
"wp-env:destroy": "wp-env destroy",
"packages-update": "wp-scripts packages-update",
"generate-font-list": "node ./bin/gfontsList.mjs -sort=popularity",
"composer-install": "docker run -it --rm -v `pwd`:/app composer install",
"composer-install-windows": "docker run -it --rm -v \"%cd%\":/app composer install",
"test": "wp-env start && wp-env run tests-cli wp theme activate modul-r && jest --silent=false --coverage",
"postinstall": "composer install && npm run build:images && npm run build:scripts",
"release": "composer PHPCS-FIXER-dev && composer install --no-dev && npm run build:makepot && npm run build && composer install"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"@jest/globals": "^29.3.1",
"@types/expect-puppeteer": "^5.0.2",
"@types/jest": "^29.2.5",
"@types/jest-environment-puppeteer": "^5.0.3",
"@types/node": "^20.5.0",
"@types/puppeteer": "^7.0.4",
"@types/wordpress__block-editor": "^11.0.1",
"@types/wordpress__blocks": "^12.0.1",
"@types/wordpress__components": "^23.0.1",
"@types/wordpress__compose": "^6.0.1",
"@wordpress/babel-preset-default": "^7.23.0",
"@wordpress/e2e-test-utils": "^9.1.0",
"@wordpress/e2e-tests": "^6.1.0",
"@wordpress/env": "^8.10.0",
"@wordpress/i18n": "^4.45.0",
"@wordpress/icons": "^9.30.0",
"@wordpress/jest-preset-default": "^10.5.0",
"@wordpress/prettier-config": "^3.1.0",
"@wordpress/scripts": "^26.15.0",
"babel-jest": "^29.3.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"jest-puppeteer": "^6.2.0",
"squashify": "^0.1.1",
"typescript": "^5.2.2"
},
"dependencies": {
"animate-css-grid": "^1.5.1",
"animate.css": "^4.1.1",
"choices.js": "^10.2.0",
"glightbox": "^3.2.0",
"minimasonry": "^1.3.2",
"swiper": "^11.0.3"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.9.0"
},
"eslintConfig": {
"extends": [
"plugin:@wordpress/eslint-plugin/recommended"
],
"globals": {
"document": true,
"window": true
}
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"prettier": "@wordpress/prettier-config",
"stylelint": {
"extends": [ "@wordpress/stylelint-config" ]
}
}