-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.82 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.82 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
{
"name": "interactions",
"version": "1.3.2",
"description": "Make your blocks interactive! Effortlessly set triggers that do actions",
"author": "Benjamin Intal of Gambit",
"private": true,
"license": "GPL-2.0-or-later",
"engines": {
"node": ">=18"
},
"scripts": {
"prebuild": "npm run lint:js",
"build": "node scripts/update-build-type.js free && node scripts/sync-version.js ${npm_config_suffix} && npx wp-scripts build && npm run build:css && npm run build:frontend-php && npm run optimize-videos && BUILD_TYPE=free npm run package ${npm_config_suffix}",
"build:frontend-php": "node scripts/generate-frontend-php-scripts.mjs production free",
"build:frontend-php:premium": "node scripts/generate-frontend-php-scripts.mjs production premium",
"build:css": "webpack --config webpack.css.config.js && npm run clean:css-js",
"clean:css-js": "rm -f dist/*.css.js",
"start": "node scripts/update-build-type.js free && concurrently \"wp-scripts start\" \"webpack --config webpack.css.config.js --watch\"",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "wp-scripts lint-js --fix",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "wp-scripts lint-style --fix",
"lint": "npm run lint:js && npm run lint:css",
"format": "wp-scripts format",
"optimize-videos": "node scripts/optimize-videos.js",
"package": "node scripts/package.js",
"sync-version": "node scripts/sync-version.js",
"build:premium": "node scripts/update-build-type.js premium && node scripts/sync-version.js ${npm_config_suffix} && npm run clean:css-js && npx wp-scripts build --config pro__premium_only/webpack.config.js && npx webpack --config pro__premium_only/webpack.css.config.js && npm run build:frontend-php:premium && npm run optimize-videos && BUILD_TYPE=premium npm run package ${npm_config_suffix}",
"start:premium": "cd pro__premium_only && npm run start",
"lint:premium": "cd pro__premium_only && npm run lint",
"lint:premium:fix": "cd pro__premium_only && npm run lint:fix"
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"devDependencies": {
"@wordpress/eslint-plugin": "^22.15.0",
"@wordpress/prettier-config": "^4.29.0",
"@wordpress/scripts": "^30.0.0",
"@wordpress/stylelint-config": "^23.21.0",
"@wordpress/babel-preset-default": "^8.19.0",
"@svgr/webpack": "^8.1.0",
"@node-minify/core": "^8.0.6",
"@node-minify/uglify-js": "^8.0.6",
"babel-loader": "^9.2.1",
"concurrently": "^8.2.2",
"file-loader": "^6.2.0",
"fluent-ffmpeg": "^2.1.3",
"mini-css-extract-plugin": "^2.7.6",
"sass": "^1.69.0",
"sass-loader": "^14.0.0",
"style-loader": "^3.3.3",
"archiver": "^6.0.1",
"eslint": "^8.57.0",
"eslint-plugin-compat": "^6.0.2",
"prettier": "^3.3.3"
},
"dependencies": {
"@wordpress/icons": "^10.31.0",
"canvas-confetti": "^1.9.3",
"classnames": "^2.5.1",
"nanoid": "^5.1.5"
}
}