forked from tracespace/tracespace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
169 lines (169 loc) · 4.85 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "tracespace",
"private": true,
"scripts": {
"all": "pnpm clean && pnpm build:types && concurrently -g pnpm:format:check pnpm:lint pnpm:build:packages pnpm:test:once",
"check": "pnpm clean && pnpm build:types && concurrently -g pnpm:format:check pnpm:lint pnpm:build:packages",
"test": "vitest",
"test:once": "vitest run --coverage",
"lint": "eslint --ext .js,.ts,.tsx --cache .",
"format": "pnpm format:base --write",
"format:check": "pnpm format:base --check",
"format:base": "prettier \"**/*.@(js|ts|tsx|json|md|yml|yaml)\"",
"build": "concurrently -g pnpm:build:*",
"build:packages": "pnpm -r --aggregate-output build",
"build:types": "tsc --build",
"clean": "tsc --build --clean",
"dev": "pnpm -C www dev",
"preview": "pnpm -C www preview"
},
"engines": {
"node": ">=18"
},
"packageManager": "[email protected]",
"dependencies": {
"@tracespace/cli": "workspace:*",
"@tracespace/core": "workspace:*",
"@tracespace/fixtures": "workspace:*",
"@tracespace/identify-layers": "workspace:*",
"@tracespace/parser": "workspace:*",
"@tracespace/plotter": "workspace:*",
"@tracespace/renderer": "workspace:*",
"@tracespace/www": "workspace:*",
"@tracespace/xml-id": "workspace:*"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/plugin-transform-react-jsx": "^7.20.7",
"@babel/plugin-transform-react-jsx-development": "^7.18.6",
"@preact/preset-vite": "^2.5.0",
"@testing-library/dom": "^8.19.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/preact": "^3.2.2",
"@testing-library/user-event": "^14.4.3",
"@types/lodash": "^4.14.191",
"@types/node": "^18.11.18",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@vitest/coverage-c8": "^0.27.1",
"babel-plugin-transform-hook-names": "^1.0.2",
"concurrently": "^7.6.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard-with-typescript": "^30.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^45.0.2",
"jsdom": "^21.0.0",
"lodash": "^4.17.21",
"preact": "^10.11.3",
"prettier": "^2.8.3",
"react": "npm:@preact/compat@^17.1.2",
"react-dom": "npm:@preact/compat@^17.1.2",
"tempy": "^3.0.0",
"testdouble": "^3.16.8",
"testdouble-vitest": "^0.1.2",
"typescript": "^4.9.4",
"vite": "^4.0.4",
"vitest": "^0.27.1"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"vite",
"webpack",
"rollup"
]
}
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": false,
"arrowParens": "avoid"
},
"eslintConfig": {
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/strict",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"plugin:unicorn/recommended",
"standard-with-typescript",
"prettier"
],
"parserOptions": {
"project": [
"./tsconfig.lint.json",
"./packages/*/tsconfig.json",
"./www/tsconfig.json"
]
},
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": [
"dist",
"lib",
"coverage"
],
"rules": {
"react/no-unknown-property": [
"error",
{
"ignore": [
"class"
]
}
],
"unicorn/prevent-abbreviations": [
"error",
{
"replacements": {
"props": {
"properties": false
}
},
"ignore": [
"\\.e2e\\.test"
]
}
],
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-reduce": "off"
},
"overrides": [
{
"files": "**/*.d.ts",
"rules": {
"@typescript-eslint/method-signature-style": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/triple-slash-reference": "off"
}
},
{
"files": "**/__tests__/**",
"rules": {
"@typescript-eslint/consistent-type-assertions": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"unicorn/no-useless-undefined": "off"
}
}
]
}
}