-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 6.23 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "gatsby-starter-testing",
"private": true,
"description": "A simple Gatsby starter with configured testing",
"version": "0.0.0-development",
"license": "MIT",
"author": "Danail Minchev <danail.dev@gmail.com>",
"scripts": {
"prebuild": "npm run clean",
"build": "gatsby build",
"develop": "gatsby develop --host 0.0.0.0 --port 8000",
"develop:netlify": "dotenv -- netlify dev",
"develop:netlify:live": "dotenv -- netlify dev --live",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"start": "npm run develop",
"serve": "gatsby serve --host 0.0.0.0 --port 8000",
"clean": "gatsby clean",
"test": "npm run test:ci",
"test:dev": "jest --coverage",
"test:ci": "jest --coverage --ci --runInBand",
"test:update": "jest --updateSnapshot",
"test:watch": "jest --watch",
"cy:open": "cypress open",
"cy:open:update": "cypress open --env updateSnapshots=true",
"cy:run": "cypress run --browser chrome --headless",
"cy:run:update": "cypress run --browser chrome --headless --env updateSnapshots=true",
"test:e2e": "npm run test:e2e:ci",
"test:e2e:update": "npm run test:e2e:ci:update",
"test:e2e:docker": "npm run test:e2e:ci:docker",
"test:e2e:docker:update": "npm run test:e2e:ci:docker:update",
"test:e2e:dev": "cross-env CYPRESS_isProduction=false start-server-and-test develop http://localhost:8000 cy:open",
"test:e2e:dev:update": "cross-env CYPRESS_isProduction=false start-server-and-test develop http://localhost:8000 cy:open:update",
"test:e2e:dev:docker": "docker-compose -f docker/docker-compose-cypress.yml -f docker/docker-compose-cypress-dev.yml up --build --abort-on-container-exit --exit-code-from cypress",
"test:e2e:dev:docker:update": "docker-compose -f docker/docker-compose-cypress.yml -f docker/docker-compose-cypress-dev-update.yml up --build --abort-on-container-exit --exit-code-from cypress",
"test:e2e:ci": "cross-env CYPRESS_isProduction=true start-server-and-test serve http://localhost:8000 cy:run",
"test:e2e:ci:update": "cross-env CYPRESS_isProduction=true start-server-and-test serve http://localhost:8000 cy:run:update",
"test:e2e:ci:docker": "docker-compose -f docker/docker-compose-cypress.yml -f docker/docker-compose-cypress-ci.yml up --build --abort-on-container-exit --exit-code-from cypress",
"test:e2e:ci:docker:update": "docker-compose -f docker/docker-compose-cypress.yml -f docker/docker-compose-cypress-ci-update.yml up --build --abort-on-container-exit --exit-code-from cypress",
"test:visual": "start-server-and-test storybook http://localhost:6006 jest:visual",
"test:visual:update": "start-server-and-test storybook http://localhost:6006 jest:visual:update",
"test:visual:docker": "docker-compose -f docker/docker-compose-visual.yml up --build --abort-on-container-exit --exit-code-from jest",
"test:visual:docker:update": "docker-compose -f docker/docker-compose-visual.yml -f docker/docker-compose-visual-update.yml up --build --abort-on-container-exit --exit-code-from jest",
"jest:visual": "sleep 60 && jest --config jest.visual.config.js",
"jest:visual:update": "sleep 60 && jest --config jest.visual.config.js --updateSnapshot",
"storybook": "cross-env NODE_ENV=production start-storybook --host 0.0.0.0 --port 6006 --static-dir public --ci --quiet",
"build-storybook": "cross-env NODE_ENV=production build-storybook --static-dir public",
"commit": "commit",
"update": "npx -p npm-check-updates ncu -u && npm install --force",
"release": "semantic-release",
"deploy:preview": "dotenv -- netlify deploy --dir=public --functions=functions --message \"$(git log -1 --pretty=format:\"%h | %s\")\"",
"deploy:uat": "dotenv -- netlify deploy --alias \"uat\" --dir=public --functions=functions --message \"$(git log -1 --pretty=format:\"%h | %s\")\"",
"deploy:prod": "dotenv -- netlify deploy --prod --dir=public --functions=functions --message \"$(git log -1 --pretty=format:\"%h | %s\")\""
},
"dependencies": {
"dotenv-webpack": "7.0.3",
"gatsby": "3.12.0",
"gatsby-plugin-gatsby-cloud": "2.11.0",
"gatsby-plugin-image": "1.11.0",
"gatsby-plugin-manifest": "3.11.0",
"gatsby-plugin-offline": "4.11.0",
"gatsby-plugin-react-helmet": "4.11.0",
"gatsby-plugin-sharp": "3.11.0",
"gatsby-source-filesystem": "3.11.0",
"gatsby-transformer-sharp": "3.11.0",
"prop-types": "15.7.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-helmet": "6.1.0"
},
"devDependencies": {
"@babel/core": "7.15.0",
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@commitlint/prompt-cli": "13.1.0",
"@storybook/addon-actions": "6.3.7",
"@storybook/addon-essentials": "6.3.7",
"@storybook/addon-links": "6.3.7",
"@storybook/addon-storysource": "6.3.7",
"@storybook/addons": "6.3.7",
"@storybook/react": "6.3.7",
"@testing-library/cypress": "8.0.0",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "12.0.0",
"@testing-library/user-event": "13.2.1",
"axe-core": "4.3.2",
"babel-jest": "27.0.6",
"babel-loader": "8.2.2",
"babel-preset-gatsby": "1.11.0",
"babel-preset-react-app": "10.0.0",
"cross-env": "7.0.3",
"cypress": "8.3.0",
"cypress-axe": "0.13.0",
"cypress-image-snapshot": "4.0.1",
"dotenv-cli": "4.0.0",
"html-webpack-plugin": "5.3.2",
"husky": "7.0.1",
"identity-obj-proxy": "3.0.0",
"jest": "27.0.6",
"jest-image-snapshot": "4.5.1",
"jest-puppeteer": "5.0.4",
"lint-staged": "11.1.2",
"netlify-cli": "6.3.5",
"prettier": "2.3.2",
"puppeteer": "10.2.0",
"react-test-renderer": "17.0.2",
"semantic-release": "17.4.5",
"start-server-and-test": "1.13.1"
},
"lint-staged": {
"*.{js,jsx,json,md}": "prettier --write"
},
"keywords": [
"gatsby",
"starter",
"testing",
"unit",
"integration",
"functional",
"end-to-end",
"e2e",
"automation",
"snapshot",
"visual",
"jest",
"react-testing-library",
"cypress",
"storybook"
],
"repository": {
"type": "git",
"url": "https://github.com/DanailMinchev/gatsby-starter-testing"
},
"bugs": {
"url": "https://github.com/DanailMinchev/gatsby-starter-testing/issues"
}
}