-
Notifications
You must be signed in to change notification settings - Fork 10.3k
/
package.json
51 lines (51 loc) · 1.98 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": "gatsby-starter-default",
"description": "Gatsby default starter",
"version": "1.0.0",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"dependencies": {
"cypress": "^3.1.0",
"gatsby": "^2.0.118",
"gatsby-plugin-manifest": "^2.0.17",
"gatsby-plugin-offline": "^3.0.0",
"gatsby-plugin-react-helmet": "^3.0.6",
"gatsby-seo": "^0.1.0",
"glob": "^7.1.3",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-helmet": "^5.2.0"
},
"keywords": [
"gatsby"
],
"license": "MIT",
"scripts": {
"build": "CYPRESS_SUPPORT=y gatsby build",
"build:offline": "TEST_PLUGIN_OFFLINE=y CYPRESS_SUPPORT=y gatsby build",
"develop": "gatsby develop",
"format": "prettier --write '**/*.js'",
"serve": "gatsby serve",
"start": "npm run develop",
"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 cy:run",
"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:slow",
"cy:run:offline": "npm run cy:run:normal -- --env TEST_PLUGIN_OFFLINE=y && npm run cy:run:slow -- --env TEST_PLUGIN_OFFLINE=y",
"cy:run:normal": "(is-ci && cypress run --browser chrome --record) || cypress run --browser chrome",
"cy:run:slow": "CYPRESS_CONNECTION_TYPE=slow cypress run --browser chrome --config testFiles=prefetching.js"
},
"devDependencies": {
"fs-extra": "^7.0.1",
"is-ci": "^2.0.0",
"prettier": "^1.14.3",
"start-server-and-test": "^1.7.1"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby-starter-default"
}
}