-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.19 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
{
"private": true,
"scripts": {
"start:common": "npm start --workspace=packages/common",
"build:common": "npm run build --workspace=packages/common",
"start:dusk": "npm start --workspace=packages/dusk",
"start:dusk-plugin-axios": "npm start --workspace=packages/dusk-plugin-axios",
"start:examples:basic": "npm start --workspace=examples/basic",
"start": "lerna run start --scope @xams-framework/dusk --scope dusk-examples-basic --parallel",
"jest": "jest",
"prettier": "prettier --write .",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"changelog:init": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"workspaces": [
"examples/basic",
"packages/common",
"packages/dusk",
"packages/dusk-plugin-context-webpack"
],
"gitHooks": {
"commit-msg": "commitlint -e -V",
"pre-commit": "lint-staged"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"build",
"ci",
"chore",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
"deps",
"upgrade",
"examples"
]
]
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "node"
},
"prettier": {
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"printWidth": 120,
"useTabs": false,
"jsxSingleQuote": false,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"htmlWhitespaceSensitivity": "css",
"arrowParens": "avoid",
"endOfLine": "crlf",
"trailingComma": "es5",
"importOrderSeparation": true,
"importOrder": [
"^react(.*)$",
"<THIRD_PARTY_MODULES>",
"^@/(.*)$",
"^src/(.*)$",
"^[./]"
],
"importOrderSortSpecifiers": true,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
],
"importOrderParserPlugins": [
"typescript",
"jsx",
"decorators"
]
},
"devDependencies": {
"lerna": "^8.1.3",
"prettier": "^3.3.0",
"typescript": "^5.4.5",
"jest": "^29.7.0",
"ts-jest": "^29.1.4",
"@types/jest": "^29.5.12",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"yorkie": "^2.0.0",
"lint-staged": "^15.2.5",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"conventional-changelog-cli": "^4.1.0"
}
}