/
package.json
45 lines (45 loc) · 1.72 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
{
"name": "gatsby-mdx-tester",
"description": "Gatsby MDX tester",
"version": "1.0.0",
"dependencies": {
"@mdx-js/mdx": "^1.6.6",
"@mdx-js/react": "^1.6.6",
"cypress": "^7.2.0",
"fs-extra": "^8.1.0",
"gatsby": "^3.0.0",
"gatsby-plugin-mdx": "^2.0.0",
"gatsby-source-filesystem": "^3.0.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"theme-ui": "^0.3.1"
},
"keywords": [
"gatsby"
],
"license": "MIT",
"scripts": {
"build": "cross-env CYPRESS_SUPPORT=y gatsby build",
"develop": "cross-env CYPRESS_SUPPORT=y gatsby develop",
"format": "prettier --write '**/*.js'",
"test:build": "cross-env CYPRESS_SUPPORT=y npm run build && npm run start-server-and-test:build",
"test:develop": "npm run start-server-and-test:develop || (npm run reset && exit 1)",
"test": "npm run test:build && npm run test:develop",
"start-server-and-test:develop": "start-server-and-test develop http://localhost:8000 cy:run:develop",
"start-server-and-test:build": "start-server-and-test serve http://localhost:9000 cy:run:build",
"serve": "gatsby serve",
"cy:open:develop": "cypress open --config-file cypress-dev.json",
"cy:open:build": "cypress open",
"cy:run:build": "node ../../scripts/cypress-run-with-conditional-record-flag.js --browser chrome --group production",
"cy:run:develop": "node ../../scripts/cypress-run-with-conditional-record-flag.js --browser chrome --config-file cypress-dev.json --group development",
"reset": "node scripts/reset.js",
"update": "node scripts/update.js"
},
"devDependencies": {
"cross-env": "^5.2.0",
"gatsby-cypress": "^0.1.7",
"is-ci": "^2.0.0",
"prettier": "2.0.4",
"start-server-and-test": "^1.7.1"
}
}