-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
44 lines (44 loc) · 1.37 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
{
"name": "faasjs-workflow",
"version": "1.0.0",
"workspaces": ["packages/*"],
"packageManager": "[email protected]",
"scripts": {
"lint": "biome lint .",
"format": "biome format --write .",
"test": "jest -w=1 --forceExit",
"ci": "jest --silent --coverage --forceExit",
"build": "npm run build --workspaces --if-present",
"publish:devel": "node devel.cjs",
"clean": "rm -rf packages/*/dist coverage"
},
"devDependencies": {
"@types/jest": "*",
"@types/node": "*",
"@types/react": "*",
"@faasjs/jest": "*",
"@faasjs/test": "*",
"tsup": "*",
"@biomejs/biome": "*"
},
"engines": {
"npm": ">=10.0.0",
"node": ">=20.0.0"
},
"jest": {
"transform": {
".tsx?": "@faasjs/jest"
},
"testEnvironment": "node",
"testRegex": "/*\\.test\\.tsx?$",
"setupFilesAfterEnv": ["@faasjs/jest/jest.setup.js", "./jest.setup.ts"],
"collectCoverageFrom": ["**/*.ts", "**/*.tsx"],
"moduleNameMapper": {
"\\.(css|less|sass|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "@faasjs/jest",
"@faasjs/workflow-(.*)": "<rootDir>/packages/$1/src",
"lodash-es": "lodash",
"@preact/signals-react": "<rootDir>/node_modules/@preact/signals-react/dist/signals.js",
"@preact/signals-core": "<rootDir>/node_modules/@preact/signals-core/dist/signals-core.js"
}
}
}