forked from gatsbyjs/themes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 1.97 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
{
"private": true,
"name": "gatsby-themes",
"version": "0.0.1",
"scripts": {
"lerna": "lerna",
"lint": "prettier \"**/*.{md,yaml,yml}\" --write",
"start": "yarn workspace gatsby-starter-theme develop",
"cy:open": "cypress open",
"cy:run": "cross-env CYPRESS_baseUrl=http://localhost:9000 cypress run",
"gatsby-starter-theme:cy:dev": "yarn workspace gatsby-starter-theme develop:cypress",
"gatsby-starter-theme:cy:build": "yarn workspace gatsby-starter-theme build:cypress",
"gatsby-starter-theme:serve": "yarn workspace gatsby-starter-theme serve",
"ssat:gatsby-starter-theme:dev": "start-server-and-test gatsby-starter-theme:cy:dev http://localhost:8000 cy:open",
"ssat:gatsby-starter-theme:serve": "start-server-and-test gatsby-starter-theme:serve http://localhost:9000 cy:run",
"e2e:dev": "concurrently --kill-others 'yarn ssat:gatsby-starter-theme:dev'",
"e2e:ci": "yarn gatsby-starter-theme:cy:build && yarn ssat:gatsby-starter-theme:serve"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint --fix"
],
"*.{html,css,less,ejs,json}": [
"prettier --write"
],
"*.{md,yaml,yml}": [
"prettier --write"
]
},
"workspaces": [
"packages/*",
"starters/*"
],
"dependencies": {
"babel-eslint": "^10.1.0",
"cypress": "^4.8.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-flowtype": "^5.1.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.0",
"start-server-and-test": "^1.11.0"
},
"devDependencies": {
"@testing-library/cypress": "^6.0.0",
"concurrently": "^5.2.0",
"cross-env": "^7.0.2",
"gatsby-cypress": "^0.4.4",
"husky": "^4.2.5",
"lerna": "^3.22.1",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5"
}
}