Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.62 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 1.62 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
{
"name": "insert-special-characters",
"version": "1.1.3",
"description": "A Special Character inserter for the WordPress block editor (Gutenberg).",
"homepage": "https://github.com/10up/insert-special-characters#readme",
"license": "GPL-2.0-only",
"author": {
"name": "10up",
"email": "opensource@10up.com",
"url": "https://10up.com",
"role": "developer"
},
"main": "src",
"scripts": {
"build": "wp-scripts build",
"start": "wp-scripts start",
"lint:js": "wp-scripts lint-js src",
"lint:css": "wp-scripts lint-style",
"wp-env": "wp-env",
"wp-env:test": "wp-env --config=.wp-env.test.json",
"test:php": "wp-env --config=.wp-env.test.json run cli --env-cwd=wp-content/plugins/insert-special-characters vendor/bin/phpunit -c phpunit.xml.dist",
"test:php:multisite": "wp-env --config=.wp-env.test.json run cli --env-cwd=wp-content/plugins/insert-special-characters env WP_MULTISITE=1 vendor/bin/phpunit -c phpunit.xml.dist",
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.ts",
"test:e2e:debug": "wp-scripts test-playwright --config tests/e2e/playwright.config.ts --ui"
},
"devDependencies": {
"@playwright/test": "1.65.1",
"@wordpress/e2e-test-utils-playwright": "3.3.0",
"@wordpress/env": "12.2.0",
"@wordpress/scripts": "^32.6.0",
"husky": "^8.0.1",
"lint-staged": "^10.0.7"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.css": [
"npm run lint:css"
],
"*.js": [
"npm run lint:js"
]
},
"dependencies": {
"react-character-map": "^0.4.10"
}
}