-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.15 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
{
"name": "base.instore",
"version": "1.0.0",
"private": true,
"description": "Base inStore",
"author": "Guilherme Bruzzi",
"keywords": [
"gatsby",
"instore"
],
"scripts": {
"sentry-release": "echo $npm_package_name@$(yarn -s info '@vtexlab/gatsby-theme-instore-core' version)",
"develop": "gatsby develop",
"start": "yarn develop",
"build": "GATSBY_SENTRY_RELEASE=$(yarn run -s sentry-release) SENTRY_RELEASE=$(yarn run -s sentry-release) NODE_OPTIONS='--max-old-space-size=4096' gatsby build --prefix-paths",
"serve": "gatsby serve --prefix-paths",
"docker:serve": "sed -i -e 's/\\$PORT/80/' public/nginx.conf && docker run --rm --name local_nginx -v \"$PWD/public/nginx.conf:/etc/nginx/nginx.conf\" -v \"$PWD/public:/etc/nginx/html\" -p 80:80 -it fholzer/nginx-brotli@sha256:ebaf3265a9e21dcd4ddfe44b22d6c4d8fdec563c9a0afd69097f286fd8a0eb00",
"clean": "gatsby clean",
"test": "yarn lint:prettier",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:eslint-fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix --max-warnings 0",
"lint:prettier": "prettier --check \"**/*.{js,jsx,ts,tsx,gql,json,yml,md}\"",
"cypress:open": "cypress open"
},
"dependencies": {
"@vtexlab/gatsby-theme-instore-core": "3.13.7",
"gatsby": "^3.7.2"
},
"devDependencies": {
"@types/ramda": "^0.27.45",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@vtex/lighthouse-config": "^1.1.15",
"@vtex/prettier-config": "^0.3.6",
"@vtex/tsconfig": "^0.5.6",
"cypress": "^7.1.0",
"dotenv": "^16.0.1",
"eslint": "^7.18.0",
"eslint-config-vtex": "^12.9.3",
"eslint-config-vtex-react": "^6.9.3",
"husky": "^4.3.8",
"instore-core-cli": "^0.9.6",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"typescript": "^4.1.3"
},
"engines": {
"node": ">=14.15 <15"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn test"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{gql,json,yml,md}": [
"prettier --write"
]
}
}