-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
49 lines (49 loc) · 2.34 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
{
"name": "shadocs",
"version": "1.3.0",
"description": "Shadocs Hugo theme",
"config": {
"HUGO_BIN": "hugo",
"HUGO_PORT": 1313,
"TEST_BASE_URL": "http://localhost:1313/",
"TEST_BIND_URL": "http://127.0.0.1:1313/"
},
"scripts": {
"format:check": "prettier --check .",
"format:write": "prettier --write .",
"start": "cross-env HUGO_PORT=${npm_package_config_HUGO_PORT} HUGO_BIN=${npm_package_config_HUGO_BIN} TEST_BASE_URL=${npm_package_config_TEST_BASE_URL} npm run start:child",
"start:child": "cross-env-shell \"${HUGO_BIN} --source exampleSite serve --baseURL ${TEST_BASE_URL} --port ${HUGO_PORT} --disableLiveReload\"",
"cypress:info": "cypress info",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:run:chrome": "cypress run --headless --browser chrome",
"cypress:run:firefox": "cypress run --headless --browser firefox",
"cypress:run:edge": "cypress run --headless --browser edge",
"cy:open": "cross-env-shell TEST_BIND_URL=${npm_package_config_TEST_BIND_URL} \"start-server-and-test ${TEST_BIND_URL} cypress:open\"",
"cy:run": "cross-env-shell TEST_BIND_URL=${npm_package_config_TEST_BIND_URL} \"start-server-and-test ${TEST_BIND_URL} cypress:run\"",
"cy:run:chrome": "cross-env TEST_BIND_URL=${npm_package_config_TEST_BIND_URL} npm run cy:run:chrome:child",
"cy:run:chrome:child": "cross-env-shell \"start-server-and-test ${TEST_BIND_URL} 'cypress:run:chrome'\"",
"cy:run:firefox": "cross-env TEST_BIND_URL=${npm_package_config_TEST_BIND_URL} npm run cy:run:firefox:child",
"cy:run:firefox:child": "cross-env-shell \"start-server-and-test ${TEST_BIND_URL} cypress:run:firefox\"",
"cy:run:edge": "cross-env TEST_BIND_URL=${npm_package_config_TEST_BIND_URL} npm run cy:run:edge:child",
"cy:run:edge:child": "cross-env-shell \"start-server-and-test ${TEST_BIND_URL} cypress:run:edge\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/jgazeau/shadocs.git"
},
"author": "jgazeau",
"license": "MIT",
"bugs": {
"url": "https://github.com/jgazeau/shadocs/issues"
},
"homepage": "https://github.com/jgazeau/shadocs",
"devDependencies": {
"bmyc": "^0.5.8",
"cross-env": "^7.0.3",
"cypress": "^13.13.3",
"prettier": "^3.3.3",
"prettier-plugin-go-template": "^0.0.15",
"start-server-and-test": "^2.0.5"
}
}