-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
51 lines (51 loc) · 1.38 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
{
"name": "@10up/autoshare-for-twitter",
"version": "2.2.1",
"description": "Automatically shares a post title, URL, and optional description to X/Twitter.",
"scripts": {
"start": "wp-scripts start",
"build": "wp-scripts build",
"lint:js": "wp-scripts lint-js",
"lint:js-fix": "wp-scripts lint-js --fix",
"env": "wp-env",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"postenv:start": "./tests/bin/initialize.sh",
"cypress:open": "cypress open --config-file tests/cypress/cypress.config.js --e2e --browser chrome",
"cypress:run": "cypress run --config-file tests/cypress/cypress.config.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"wp-scripts lint-js"
],
"*.php": [
"./vendor/bin/phpcs --extensions=php --warning-severity=8 -s"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/10up/autoshare.git"
},
"author": "10up",
"bugs": {
"url": "https://github.com/10up/autoshare/issues"
},
"homepage": "https://github.com/10up/autoshare#readme",
"devDependencies": {
"@10up/cypress-wp-utils": "^0.2.0",
"@wordpress/env": "^9.2.0",
"@wordpress/scripts": "^27.1.0",
"cypress": "^13.0.0",
"cypress-mochawesome-reporter": "^3.5.1",
"husky": "^3.0.5",
"lint-staged": "^9.2.5",
"mochawesome-json-to-md": "^0.7.2",
"node-wp-i18n": "^1.2.3"
}
}