-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.01 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
{
"name": "sagahead-ecommerce-blueprint",
"description": "Sagahead.io e-commerce blueprint",
"version": "1.0.0",
"private": true,
"main": "index.js",
"scripts": {
"start": "yarn workspaces foreach --exclude sagahead-ecommerce-blueprint -tvpi run start",
"build": "yarn workspaces foreach --exclude sagahead-ecommerce-blueprint -tv run build",
"test": "jest",
"test:w": "jest --watch",
"test:ci": "jest --coverage",
"prettier": "prettier --write \"@(services|libs)/**/src/**/*.{ts,js,jsx}\"",
"lint": "eslint -c .eslintrc.js --max-warnings 0 \"@(services|libs)/**/@(src|test|__test__)/**/!(libzip|pnp).@(tsx|ts|js)\"",
"lint:fix": "eslint -c .eslintrc.js --max-warnings 0 \"@(services|libs)/**/@(src|test|__test__)/**/!(libzip|pnp).@(tsx|ts|js)\" --fix",
"each": "yarn workspaces foreach --exclude sagahead-ecommerce-blueprint ${0} ${1}",
"doctor": "yarn dlx @yarnpkg/doctor"
},
"workspaces": [
"services/*",
"libs/*",
"frontends/*"
],
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/preset-env": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"@types/babel__core": "^7",
"@types/babel__preset-env": "^7",
"@types/eslint": "^7",
"@types/eslint-config-prettier": "^6",
"@types/jest": "^26.0.16",
"@types/node": "^14.14.10",
"@types/prettier": "^2",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"@yarnpkg/pnpify": "^2.4.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-react": "^7.21.5",
"jest": "^26.6.3",
"jest-environment-node": "^26.6.2",
"jest-junit": "^12.0.0",
"lint-staged": "^10.5.2",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.0",
"typescript": "^4.1.2"
},
"lint-staged": {
"*.(ts|js|html|css)": [
"prettier --write",
"git add"
],
"*.(ts)": [
"yarn lint:fix",
"yarn lint"
]
}
}