This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
80 lines (80 loc) · 1.82 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
{
"name": "crdx",
"author": "HerbCaudill",
"version": "3.0.8",
"license": "MIT",
"repository": "https://github.com/herbcaudill/crdx",
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"engines": {
"node": ">=14"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"postbuild": "tscpaths -p tsconfig.build.json -s ./src -o ./dist --silent",
"test": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:log": "cross-env DEBUG='crdx*' DEBUG_COLORS=1 yarn test"
},
"dependencies": {
"@herbcaudill/crypto": "^3.0.8",
"cuid": "2",
"debug": "4",
"events": "3",
"fast-memoize": "2",
"lodash": "4"
},
"devDependencies": {
"@herbcaudill/random": "0",
"@herbcaudill/tscpaths": "0",
"@types/debug": "4",
"@types/jest": "27",
"@types/lodash": "4",
"cross-env": "6",
"jest": "27",
"ts-jest": "27",
"typescript": "4.8"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"globals": {
"ts-jest": {
"useESM": true
}
},
"moduleNameMapper": {
"^/test/(.*)$": "<rootDir>/src/_test/$1",
"^/(.*)$": "<rootDir>/src/$1"
},
"testMatch": [
"<rootDir>/src/**/*.test.ts"
],
"testEnvironment": "node"
},
"wallaby": {
"autoDetect": true,
"runMode": "onsave",
"slowTestThreshold": 1000,
"lowCoverageThreshold": 99,
"hints": {
"ignoreCoverageForFile": "ignore file coverage"
},
"env": {
"type": "node",
"params": {
"runner": "--no-warnings --experimental-vm-modules"
}
}
},
"prettier": {
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid"
}
}