-
Notifications
You must be signed in to change notification settings - Fork 10.3k
/
package.json
73 lines (73 loc) · 3.36 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "gatsby-starter-default",
"description": "Gatsby default starter",
"version": "1.0.0",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"dependencies": {
"babel-plugin-search-and-replace": "^1.1.0",
"cypress": "^9.7.0",
"gatsby": "next",
"gatsby-cypress": "next",
"gatsby-plugin-image": "next",
"gatsby-plugin-less": "next",
"gatsby-plugin-manifest": "next",
"gatsby-plugin-offline": "next",
"gatsby-plugin-sass": "next",
"gatsby-plugin-sharp": "next",
"gatsby-plugin-stylus": "next",
"gatsby-source-filesystem": "next",
"glob": "^7.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sass": "^1.32.8",
"typeface-merriweather": "^1.1.13"
},
"keywords": [
"gatsby"
],
"license": "MIT",
"scripts": {
"build": "cross-env GATSBY_PREFIXED_FROM_COMMAND_LINE=YES FROM_COMMAND_LINE=YES CYPRESS_SUPPORT=y NODE_OPTIONS='--require ./polyfill-node-protocol-imports.js' gatsby build",
"build:offline": "cross-env GATSBY_PREFIXED_FROM_COMMAND_LINE=YES FROM_COMMAND_LINE=YES TEST_PLUGIN_OFFLINE=y CYPRESS_SUPPORT=y NODE_OPTIONS='--require ./polyfill-node-protocol-imports.js' gatsby build",
"develop": "cross-env CYPRESS_SUPPORT=y gatsby develop",
"format": "prettier --write '**/*.js' --ignore-path .gitignore",
"serve": "gatsby serve",
"start": "npm run develop",
"clean": "gatsby clean",
"test": "npm run build && npm run start-server-and-test && npm run test-env-vars",
"test:offline": "npm run build:offline && yarn start-server-and-test:offline && npm run test-env-vars",
"test-env-vars": " node __tests__/env-vars.js",
"start-server-and-test": "start-server-and-test serve http://localhost:9000 combined",
"start-server-and-test:locally": "start-server-and-test serve http://localhost:9000 cy:open",
"start-server-and-test:offline": "start-server-and-test serve http://localhost:9000 cy:run:offline",
"cy:open": "cypress open",
"cy:open:offline": "npm run cy:open -- --env TEST_PLUGIN_OFFLINE=y",
"cy:run": "npm run cy:run:normal && npm run cy:run:bot",
"cy:run:offline": "npm run cy:run:normal -- --env TEST_PLUGIN_OFFLINE=y",
"cy:run:normal": "node ../../scripts/cypress-run-with-conditional-record-flag.js --browser chrome",
"cy:run:bot": "cross-env CYPRESS_CONNECTION_TYPE=bot node ../../scripts/cypress-run-with-conditional-record-flag.js --browser chrome --config testFiles=prefetching.js",
"playwright": "playwright test --project=chromium",
"playwright:debug": "playwright test --project=chromium --debug",
"start-server-and-test:playwright": "start-server-and-test serve http://localhost:9000 playwright",
"start-server-and-test:playwright-debug": "start-server-and-test serve http://localhost:9000 playwright:debug",
"combined": "npm run playwright && npm run cy:run",
"postinstall": "playwright install chromium"
},
"devDependencies": {
"@playwright/test": "^1.22.0",
"cross-env": "^5.2.0",
"fs-extra": "^7.0.1",
"gatsby-core-utils": "next",
"is-ci": "^2.0.0",
"prettier": "2.0.4",
"start-server-and-test": "^1.7.1"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby-starter-default"
},
"//": "we need to add fixed version of @types/responsible because it's 14.16+ and the package is configured wrongly",
"resolutions": {
"responselike": "^2.0.0"
}
}