-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
57 lines (57 loc) · 1.62 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
{
"name": "@10up/safe-svg",
"version": "2.3.1",
"description": "Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website",
"homepage": "https://github.com/10up/safe-svg#readme",
"license": "GPL-2.0-or-later",
"author": {
"name": "10up",
"email": "[email protected]",
"url": "https://10up.com",
"role": "developer"
},
"bugs": {
"url": "https://github.com/10up/safe-svg/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/10up/safe-svg.git"
},
"keywords": [
"svg",
"sanitize",
"upload",
"security",
"image",
"vector",
"file",
"graphic",
"media",
"mime"
],
"scripts": {
"start": "wp-scripts start",
"build": "wp-scripts build",
"cypress:open": "cypress open --config-file tests/cypress/cypress.config.js",
"cypress:run": "cypress run --config-file tests/cypress/cypress.config.js",
"env": "wp-env",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"postenv:start": "./tests/bin/initialize.sh",
"archive": "composer archive --file=safe-svg --format=zip",
"postarchive": "rm -rf safe-svg && unzip safe-svg.zip -d safe-svg && rm safe-svg.zip && zip -r safe-svg.zip safe-svg && rm -rf safe-svg"
},
"devDependencies": {
"@10up/cypress-wp-utils": "^0.4.0",
"@wordpress/env": "^10.12.0",
"@wordpress/icons": "^9.20.0",
"@wordpress/scripts": "27.9.0",
"cypress": "^13.16.0",
"cypress-mochawesome-reporter": "^3.8.2",
"mochawesome-json-to-md": "^0.7.2"
},
"dependencies": {
"react-svg": "^16.1.18",
"svgo": "^3.0.2"
}
}