-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.96 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.96 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
{
"name": "protected-video",
"version": "2.0.3",
"description": "YouTube/Vimeo player that prevents easy sharing of the video.",
"author": "Alec Rust (https://www.alecrust.com/)",
"license": "GPL-2.0-or-later",
"homepage": "https://protected-video.alecrust.com/",
"repository": "https://github.com/AlecRust/protected-video",
"packageManager": "npm@11.7.0",
"main": "build/index.js",
"scripts": {
"start": "wp-scripts start",
"build": "wp-scripts build",
"env": "wp-env",
"start:demo": "webpack serve --mode development -c src/demo/webpack.config.js",
"build:demo": "webpack -c src/demo/webpack.config.js",
"lint": "wp-scripts lint-js && wp-scripts lint-style \"src/**/*.{css,scss}\" && prettier --check \"**/*.{js,jsx,json,ts,tsx,yml,yaml}\" && ./vendor/bin/grumphp run",
"format": "wp-scripts format && wp-scripts lint-js --fix && wp-scripts lint-style --fix \"src/**/*.{css,scss}\"",
"release": "GITHUB_TOKEN=${GITHUB_TOKEN:-$(gh auth token)} release-it --ci",
"prepare": "husky"
},
"dependencies": {
"get-video-id": "^4.1.7",
"plyr": "^3.8.4"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@release-it/bumper": "^7.0.5",
"@wordpress/babel-preset-default": "^8.37.0",
"@wordpress/block-editor": "^15.10.0",
"@wordpress/blocks": "^15.10.0",
"@wordpress/components": "^31.0.0",
"@wordpress/env": "^10.37.0",
"@wordpress/i18n": "^6.10.0",
"@wordpress/prettier-config": "^4.37.0",
"@wordpress/scripts": "^31.2.0",
"babel-loader": "^10.0.0",
"copy-webpack-plugin": "^13.0.1",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.4",
"html-webpack-plugin": "^5.6.5",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"mini-css-extract-plugin": "^2.9.4",
"normalize.css": "^8.0.1",
"prettier": "npm:wp-prettier@3.0.3",
"release-it": "^19.2.2",
"sass": "^1.97.1",
"sass-loader": "^16.0.6",
"terser-webpack-plugin": "^5.3.16",
"webpack": "^5.104.1",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2"
}
}